Port-macppc archive

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

Linker problem while building spidermonkey



Hello,

While trying to build spidermonkey from pkgsrc on a macppc machine, I reach the following error:

gcc -o pkgsrc_OPT.OBJ/js -O2 -DJS_USE_FDLIBM_MATH=0 -g -fno-strict-aliasing -I/usr/include -Wall -Wno-format -L/usr/pkg/lib -Os -DXP_UNIX -DSYSV -DSOLARIS -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -UDEBUG -DNDEBUG -UDEBUG_jmmv -DEDITLINE -Ipkgsrc_OPT.OBJ -Wall -Wno-format -L/usr/pkg/lib -Os -DXP_UNIX -DSYSV -DSOLARIS -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -UDEBUG -DNDEBUG -UDEBUG_jmmv -DEDITLINE -Ipkgsrc_OPT.OBJ pkgsrc_OPT.OBJ/js.o -Lpkgsrc_OPT.OBJ -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib \
         editline/pkgsrc_OPT.OBJ/libedit.a -ljs -lm
ld: pkgsrc_OPT.OBJ/js: hidden symbol `_savefpr_29' in /usr/lib/libgcc.a(crtsavfpr.o) is referenced by DSO
ld: final link failed: Bad value
gmake[1]: *** [pkgsrc_OPT.OBJ/js] Error 1
gmake[1]: Leaving directory `/home/jmmv/os/pkgsrc/lang/spidermonkey/work/js/src'
gmake: *** [all] Error 2
*** Error code 2

This is with NetBSD 5.99.56. I have just installed a fresh build (with sources from yesterday) and rebuilt all packages (just in case some incompatible ABI change was left behind), but that did not fix the issue...

Any ideas?

Thanks.


Home | Main Index | Thread Index | Old Index