[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xulrunner: please recheck with gcc-snapshot 20070613



* Matthias Klose <doko@cs.tu-berlin.de> [2007-06-13 20:46]:
> Please recheck with the recent gcc-snapshot 20070613 upload. We may
> miss another backport from the trunk.

FWIW, xulrunner currently doesn't build with gcc-snapshot.  I have not
investigated whether this is a bug in the compiler or xulrunner.  The
error I see (on amd64) is:

gcc   -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -Wall -pipe -pthread -pipe  -DNDEBUG -DTRIMMED -O2 -fno-strict-aliasing -g -o js js.o  -Wl,--as-needed    -lm -ldl -L../../dist/bin -L../../dist/lib  -ldl -lm      -L. -L../../dist/bin -lmozjs -L/usr/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lreadline
js.o: In function `GetLine':
/build/tbm/xulrunner-1.8.1.4/js/src/js.c:149: undefined reference to `readline'
/build/tbm/xulrunner-1.8.1.4/js/src/js.c:153: undefined reference to `add_history'
/usr/bin/ld: js: hidden symbol `readline' isn't defined
/usr/bin/ld: final link failed: Nonrepresentable section on output

Does #428582 only occur on mips?  If so, I can try to build xulrunner
with gcc-snapshot on mips.  But I believe the failure I mention above
happens before the failure in #428582, so I'm not sure building it on
mips will show anything useful.
-- 
Martin Michlmayr
http://www.cyrius.com/



Reply to: