I get the following from make-2.78.1 on Solaris-2.5 compiled with gcc-2.95.2:
file.c:252: failed assertion `oldfile != file'
A gdb backtrace and the output of 'make -d' follows. I'd hate for you
to have to get a copy of the mozilla source just to debug this :-), so
if I can provide more info, just let me know.
Thanks,
-Jim
#0 0xef6f4690 in kill () from /usr/lib/libc.so.1
#1 0xef6b9688 in abort () from /usr/lib/libc.so.1
#2 0x2bf68 in Letext ()
#3 0x19e78 in file_hash_enter (file=0x59570,
name=0x54df0
"../../../mozilla/uriloader/base/liburiloaderbase_s.a(nsURILoader.o)",
oldhash=821521830,
oldname=0x568f0 "liburiloaderbase_s.a(nsURILoader.o)") at file.c:252
#4 0x19d3c in rehash_file (file=0x59570,
name=0x54df0
"../../../mozilla/uriloader/base/liburiloaderbase_s.a(nsURILoader.o)") at file.c:207
#5 0x21144 in f_mtime (file=0x59570, search=347632) at remake.c:1064
#6 0x20b0c in check_dep (file=0x59570, depth=4, this_mtime=949115112,
must_make_ptr=0xefffe7f4) at remake.c:813
#7 0x1ffb4 in update_file_1 (file=0x4c8e8, depth=3) at remake.c:472
#8 0x1faf4 in update_file (file=0x4c8e8, depth=2) at remake.c:335
#9 0x20acc in check_dep (file=0x4c8e8, depth=2, this_mtime=-1,
must_make_ptr=0xefffe94c) at remake.c:811
#10 0x1ffb4 in update_file_1 (file=0x466c0, depth=1) at remake.c:472
#11 0x1faf4 in update_file (file=0x466c0, depth=0) at remake.c:335
#12 0x1f678 in update_goal_chain (goals=0x5b058, makefiles=0) at remake.c:154
#13 0x14ce8 in main (argc=2, argv=0xeffff774, envp=0x0) at main.c:1755
Reading makefiles...
Reading makefile `Makefile'...
Reading makefile `../../config/autoconf.mk' (search path) (no ~ expansion)...
Reading makefile `../../../mozilla/config/rules.mk' (search path) (no ~ expansion)...
Reading makefile `../../../mozilla/config/config.mk' (search path) (no ~ expansion)...
Reading makefile `../../../mozilla/config/common.mk' (search path) (no ~ expansion)...
Got a SIGCHLD; 1 unreaped children.
Reading makefile `../../config/myconfig.mk' (search path) (don't care) (no ~
expansion)...
Got a SIGCHLD; 1 unreaped children.
Reading makefile `.deps/.all.pp' (search path) (don't care) (no ~ expansion)...
Reading makefile `../../config/myrules.mk' (search path) (don't care) (no ~
expansion)...
Updating makefiles....
Considering target file `../../config/myrules.mk'.
Finished prerequisites of target file `../../config/myrules.mk'.
No need to remake target `../../config/myrules.mk'.
Considering target file `.deps/.all.pp'.
File `.deps/.all.pp' does not exist.
Considering target file `FORCE'.
File `FORCE' does not exist.
Finished prerequisites of target file `FORCE'.
Must remake target `FORCE'.
Successfully remade target file `FORCE'.
Finished prerequisites of target file `.deps/.all.pp'.
Must remake target `.deps/.all.pp'.
Putting child 0x00054b80 (.deps/.all.pp) PID 16998 on the chain.
Live child 0x00054b80 (.deps/.all.pp) PID 16998
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x00054b80 PID 16998
Removing child 0x00054b80 PID 16998 from chain.
Successfully remade target file `.deps/.all.pp'.
Considering target file `../../config/myconfig.mk'.
Finished prerequisites of target file `../../config/myconfig.mk'.
No need to remake target `../../config/myconfig.mk'.
Considering target file `../../../mozilla/config/common.mk'.
Looking for an implicit rule for `../../../mozilla/config/common.mk'.
Trying pattern rule with stem `common.mk'.
Trying implicit prerequisite `../../../mozilla/config/RCS/common.mk'.
No implicit rule found for `../../../mozilla/config/common.mk'.
Finished prerequisites of target file `../../../mozilla/config/common.mk'.
No need to remake target `../../../mozilla/config/common.mk'.
Considering target file `../../../mozilla/config/config.mk'.
Looking for an implicit rule for `../../../mozilla/config/config.mk'.
Trying pattern rule with stem `config.mk'.
Trying implicit prerequisite `../../../mozilla/config/RCS/config.mk'.
No implicit rule found for `../../../mozilla/config/config.mk'.
Finished prerequisites of target file `../../../mozilla/config/config.mk'.
No need to remake target `../../../mozilla/config/config.mk'.
Considering target file `../../../mozilla/config/rules.mk'.
Looking for an implicit rule for `../../../mozilla/config/rules.mk'.
Trying pattern rule with stem `rules.mk'.
Trying implicit prerequisite `../../../mozilla/config/RCS/rules.mk'.
No implicit rule found for `../../../mozilla/config/rules.mk'.
Finished prerequisites of target file `../../../mozilla/config/rules.mk'.
No need to remake target `../../../mozilla/config/rules.mk'.
Considering target file `../../config/autoconf.mk'.
Looking for an implicit rule for `../../config/autoconf.mk'.
Trying pattern rule with stem `autoconf.mk'.
Trying implicit prerequisite `../../config/RCS/autoconf.mk'.
No implicit rule found for `../../config/autoconf.mk'.
Finished prerequisites of target file `../../config/autoconf.mk'.
No need to remake target `../../config/autoconf.mk'.
Considering target file `Makefile'.
Considering target file `Makefile.in'.
Looking for an implicit rule for `Makefile.in'.
Trying pattern rule with stem `Makefile.in'.
Trying implicit prerequisite `RCS/Makefile.in'.
No implicit rule found for `Makefile.in'.
Finished prerequisites of target file `Makefile.in'.
No need to remake target `Makefile.in'; using VPATH name
`../../../mozilla/uriloader/base/Makefile.in'.
Finished prerequisites of target file `Makefile'.
Prerequisite `../../../mozilla/uriloader/base/Makefile.in' is older than target
`Makefile'.
No need to remake target `Makefile'.
Updating goal targets....
Considering target file `libs'.
File `libs' does not exist.
Considering target file `.deps'.
Finished prerequisites of target file `.deps'.
No need to remake target `.deps'.
Considering target file `_xpidlgen'.
Finished prerequisites of target file `_xpidlgen'.
No need to remake target `_xpidlgen'.
Considering target file `liburiloaderbase_s.a'.
Considering target file `liburiloaderbase_s.a(nsURILoader.o)'.
Looking for an implicit rule for `liburiloaderbase_s.a(nsURILoader.o)'.
Trying pattern rule with stem `nsURILoader'.
Trying implicit prerequisite `nsURILoader.o'.
Found an implicit rule for `liburiloaderbase_s.a(nsURILoader.o)'.
Considering target file `nsURILoader.o'.
Looking for an implicit rule for `nsURILoader.o'.
Trying pattern rule with stem `nsURILoader'.
Trying implicit prerequisite `nsURILoader.c'.
Trying pattern rule with stem `nsURILoader'.
Trying implicit prerequisite `nsURILoader.s'.
Trying pattern rule with stem `nsURILoader'.
Trying implicit prerequisite `nsURILoader.S'.
Trying pattern rule with stem `nsURILoader'.
Trying implicit prerequisite `nsURILoader.cc'.
Trying pattern rule with stem `nsURILoader'.
Trying implicit prerequisite `nsURILoader.cpp'.
Found an implicit rule for `nsURILoader.o'.
Considering target file `nsURILoader.cpp'.
Looking for an implicit rule for `nsURILoader.cpp'.
Trying pattern rule with stem `nsURILoader.cpp'.
Trying implicit prerequisite `RCS/nsURILoader.cpp'.
No implicit rule found for `nsURILoader.cpp'.
Finished prerequisites of target file `nsURILoader.cpp'.
No need to remake target `nsURILoader.cpp'; using VPATH name
`../../../mozilla/uriloader/base/nsURILoader.cpp'.
Finished prerequisites of target file `nsURILoader.o'.
Prerequisite `../../../mozilla/uriloader/base/nsURILoader.cpp' is older than
target `nsURILoader.o'.
No need to remake target `nsURILoader.o'.
Finished prerequisites of target file `liburiloaderbase_s.a(nsURILoader.o)'.
Prerequisite `nsURILoader.o' is newer than target
`liburiloaderbase_s.a(nsURILoader.o)'.
Must remake target `liburiloaderbase_s.a(nsURILoader.o)'.
Ignoring VPATH name
`../../../mozilla/uriloader/base/liburiloaderbase_s.a(nsURILoader.o)'.
queueing nsURILoader.o for insertion into liburiloaderbase_s.a
Putting child 0x00054ec8 (liburiloaderbase_s.a(nsURILoader.o)) PID 16999 on the chain.
Live child 0x00054ec8 (liburiloaderbase_s.a(nsURILoader.o)) PID 16999
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x00054ec8 PID 16999
Removing child 0x00054ec8 PID 16999 from chain.
Successfully remade target file `liburiloaderbase_s.a(nsURILoader.o)'.
file.c:252: failed assertion `oldfile != file'
Abort (core dumped)