Created attachment 304775 [details] full build log i686-pc-linux-gnu-ld -shared -soname libjs.so -o Linux_All_OPT.OBJ/libjs.so Linux_All_OPT.OBJ/jsapi.lo Linux_All_OPT.OBJ/jsarena.lo Linux_All_OPT.OBJ/jsarray.lo Linux_All_OPT.OBJ/jsatom.lo Linux_All_OPT.OBJ/jsbool.lo Linux_All_OPT.OBJ/jscntxt.lo Linux_All_OPT.OBJ/jsdate.lo Linux_All_OPT.OBJ/jsdbgapi.lo Linux_All_OPT.OBJ/jsdhash.lo Linux_All_OPT.OBJ/jsdtoa.lo Linux_All_OPT.OBJ/jsemit.lo Linux_All_OPT.OBJ/jsexn.lo Linux_All_OPT.OBJ/jsfun.lo Linux_All_OPT.OBJ/jsgc.lo Linux_All_OPT.OBJ/jshash.lo Linux_All_OPT.OBJ/jsinterp.lo Linux_All_OPT.OBJ/jsiter.lo Linux_All_OPT.OBJ/jslock.lo Linux_All_OPT.OBJ/jslog2.lo Linux_All_OPT.OBJ/jslong.lo Linux_All_OPT.OBJ/jsmath.lo Linux_All_OPT.OBJ/jsnum.lo Linux_All_OPT.OBJ/jsobj.lo Linux_All_OPT.OBJ/jsopcode.lo Linux_All_OPT.OBJ/jsparse.lo Linux_All_OPT.OBJ/jsprf.lo Linux_All_OPT.OBJ/jsregexp.lo Linux_All_OPT.OBJ/jsscan.lo Linux_All_OPT.OBJ/jsscope.lo Linux_All_OPT.OBJ/jsscript.lo Linux_All_OPT.OBJ/jsstr.lo Linux_All_OPT.OBJ/jsutil.lo Linux_All_OPT.OBJ/jsxdrapi.lo Linux_All_OPT.OBJ/jsxml.lo Linux_All_OPT.OBJ/prmjtime.lo -O1 --as-needed -lm Linux_All_OPT.OBJ/jsapi.lo: In function `JS_PropertyStub': jsapi.c:(.text+0x1f): undefined reference to `__stack_chk_fail_local' Linux_All_OPT.OBJ/jsapi.lo: In function `JS_EnumerateStub': jsapi.c:(.text+0x46): undefined reference to `__stack_chk_fail_local' Linux_All_OPT.OBJ/jsapi.lo: In function `JS_ResolveStub': jsapi.c:(.text+0x6d): undefined reference to `__stack_chk_fail_local' Linux_All_OPT.OBJ/jsapi.lo: In function `LookupResult': jsapi.c:(.text+0x11c): undefined reference to `__stack_chk_fail_local' Linux_All_OPT.OBJ/jsapi.lo: In function `GetPropertyAttributes': jsapi.c:(.text+0x2e8): undefined reference to `__stack_chk_fail_local' Linux_All_OPT.OBJ/jsapi.lo:jsapi.c:(.text+0x436): more undefined references to `__stack_chk_fail_local' follow make[1]: *** [Linux_All_OPT.OBJ/libjs.so] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-lang/spidermonkey-1.7.0-r2/work/js/src' make: *** [all] Error 2 emake failed
Created attachment 304777 [details] emerge --info output
Hi Anton, tho I'm no expert enough to know exactly the why of this problem I ran into the same problem on one of my old x86 servers. The workaround I found was to switch to the vanilla version of GCC to compile spidermonkey and then switch back to usual for the rest (using gcc-config ofc). My 2 cents, have fun.
Not that i've been able to make any progress towards fixing it, but the issue does seem to relate to 'hardened'.
..this looks a lot like bug 325849 .. it might be worth trying attachment 259514 [details] to see if it gets you past this...?
I've also hit this bug. However, i'm using gcc version i686-pc-linux-gnu-4.5.3-vanilla
*** This bug has been marked as a duplicate of bug 325849 ***