http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51113

--- Comment #4 from Markus Trippelsdorf <markus at trippelsdorf dot de> 
2011-11-15 07:58:50 UTC ---
Full error message:

c++ -o js.i_o -c  -I../../../dist/system_wrappers_js -include
/var/tmp/mozilla-central/js/src/config/gcc_hidden.h -DEXPORT_JS_API
-DOSTYPE=\"Linux3.2\" -DOSARCH=Linux -I/var/tmp/mozilla-central/js/src -I..
-I/var/tmp/mozilla-central/js/src/shell -I. -I../../../dist/include
-I../../../dist/include/nsprpub  -I/usr/include/nspr   -fPIC  -fno-rtti
-pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof
-Wno-variadic-macros -Werror=return-type -Wno-long-long -march=native
-Wno-delete-non-virtual-dtor -pthread -pipe  -DNDEBUG -DTRIMMED
-fprofile-generate -O3 -fomit-frame-pointer   -DMOZILLA_CLIENT -include
../js-confdefs.h -MD -MF .deps/js.pp
/var/tmp/mozilla-central/js/src/shell/js.cpp
jsoptparse.cpp
c++ -o jsoptparse.i_o -c  -I../../../dist/system_wrappers_js -include
/var/tmp/mozilla-central/js/src/config/gcc_hidden.h -DEXPORT_JS_API
-DOSTYPE=\"Linux3.2\" -DOSARCH=Linux -I/var/tmp/mozilla-central/js/src -I..
-I/var/tmp/mozilla-central/js/src/shell -I. -I../../../dist/include
-I../../../dist/include/nsprpub  -I/usr/include/nspr   -fPIC  -fno-rtti
-pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof
-Wno-variadic-macros -Werror=return-type -Wno-long-long -march=native
-Wno-delete-non-virtual-dtor -pthread -pipe  -DNDEBUG -DTRIMMED
-fprofile-generate -O3 -fomit-frame-pointer   -DMOZILLA_CLIENT -include
../js-confdefs.h -MD -MF .deps/jsoptparse.pp
/var/tmp/mozilla-central/js/src/shell/jsoptparse.cpp
/usr/bin/python2.7 /var/tmp/mozilla-central/js/src/config/pythonpath.py
-I../config /var/tmp/mozilla-central/js/src/config/expandlibs_exec.py --uselist
--  c++ -o js  -fno-rtti -pedantic -Wall -Wpointer-arith -Woverloaded-virtual
-Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align
-Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -Wno-long-long
-march=native -Wno-delete-non-virtual-dtor -pthread -pipe  -DNDEBUG -DTRIMMED
-fprofile-generate -O3 -fomit-frame-pointer js.i_o jsworkers.i_o jsoptparse.i_o
jsheaptools.i_o   -lpthread
-Wl,-O1,--hash-style=gnu,--as-needed,--no-keep-memory,--gc-sections 
-fprofile-generate -Wl,-rpath-link,../../../dist/bin
-Wl,-rpath-link,/var/tmp/mozilla-central/moz-build-dir/dist/lib  
-Wl,--whole-archive ../../../dist/lib/libmozutils.a -Wl,--no-whole-archive
-rdynamic -L../../../dist/bin -L../../../dist/lib -Wl,-R/usr/lib64 -L/usr/lib64
-lplds4 -lplc4 -lnspr4 -lpthread -ldl ../editline/libeditline.a
../libjs_static.a -ldl
jsoptparse.i_o:jsoptparse.cpp:function vtable for
js::cli::detail::StringOption: warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol '_ZN2js3cli6detail12StringOptionD1Ev' is not defined
locally
jsoptparse.i_o:jsoptparse.cpp:function vtable for
js::cli::detail::StringOption: warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol '_ZN2js3cli6detail12StringOptionD0Ev' is not defined
locally
jsoptparse.i_o:jsoptparse.cpp:function vtable for js::cli::detail::IntOption:
warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol '_ZN2js3cli6detail9IntOptionD1Ev' is not defined locally
jsoptparse.i_o:jsoptparse.cpp:function vtable for js::cli::detail::IntOption:
warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol '_ZN2js3cli6detail9IntOptionD0Ev' is not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintProp: warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint16newPropertyStateEP9JSContextPNS0_7TypeSetE' is
not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintProp: warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint14newObjectStateEP9JSContextPNS0_10TypeObjectEb'
is not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintCallProp: warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint16newPropertyStateEP9JSContextPNS0_7TypeSetE' is
not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintCallProp: warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint14newObjectStateEP9JSContextPNS0_10TypeObjectEb'
is not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintSetElement: warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint16newPropertyStateEP9JSContextPNS0_7TypeSetE' is
not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintSetElement: warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint14newObjectStateEP9JSContextPNS0_10TypeObjectEb'
is not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintCall: warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint16newPropertyStateEP9JSContextPNS0_7TypeSetE' is
not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintCall: warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint14newObjectStateEP9JSContextPNS0_10TypeObjectEb'
is not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintPropagateThis: warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint16newPropertyStateEP9JSContextPNS0_7TypeSetE' is
not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintPropagateThis: warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint14newObjectStateEP9JSContextPNS0_10TypeObjectEb'
is not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintArith: warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint16newPropertyStateEP9JSContextPNS0_7TypeSetE' is
not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintArith: warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint14newObjectStateEP9JSContextPNS0_10TypeObjectEb'
is not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintTransformThis: warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint16newPropertyStateEP9JSContextPNS0_7TypeSetE' is
not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintTransformThis: warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint14newObjectStateEP9JSContextPNS0_10TypeObjectEb'
is not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintSubset: warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint16newPropertyStateEP9JSContextPNS0_7TypeSetE' is
not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintSubset: warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint14newObjectStateEP9JSContextPNS0_10TypeObjectEb'
is not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintFilterPrimitive: warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint16newPropertyStateEP9JSContextPNS0_7TypeSetE' is
not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintFilterPrimitive: warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint14newObjectStateEP9JSContextPNS0_10TypeObjectEb'
is not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintSubsetBarrier: warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint16newPropertyStateEP9JSContextPNS0_7TypeSetE' is
not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintSubsetBarrier: warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint14newObjectStateEP9JSContextPNS0_10TypeObjectEb'
is not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintLazyArguments: warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint16newPropertyStateEP9JSContextPNS0_7TypeSetE' is
not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintFreeze: warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint16newPropertyStateEP9JSContextPNS0_7TypeSetE' is
not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintFreeze: warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint14newObjectStateEP9JSContextPNS0_10TypeObjectEb'
is not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintFreezeTypeTag: warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint16newPropertyStateEP9JSContextPNS0_7TypeSetE' is
not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintFreezeTypeTag: warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint14newObjectStateEP9JSContextPNS0_10TypeObjectEb'
is not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintFreezeObjectFlags: warning: relocation refers to discarded
section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint16newPropertyStateEP9JSContextPNS0_7TypeSetE' is
not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintFreezeObjectFlagsSet: warning: relocation refers to discarded
section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint16newPropertyStateEP9JSContextPNS0_7TypeSetE' is
not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintFreezeObjectFlagsSet: warning: relocation refers to discarded
section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint14newObjectStateEP9JSContextPNS0_10TypeObjectEb'
is not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintFreezeOwnProperty: warning: relocation refers to discarded
section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint14newObjectStateEP9JSContextPNS0_10TypeObjectEb'
is not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintClearDefiniteSetter: warning: relocation refers to discarded
section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint16newPropertyStateEP9JSContextPNS0_7TypeSetE' is
not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintClearDefiniteSetter: warning: relocation refers to discarded
section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint14newObjectStateEP9JSContextPNS0_10TypeObjectEb'
is not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintClearDefiniteSingle: warning: relocation refers to discarded
section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint16newPropertyStateEP9JSContextPNS0_7TypeSetE' is
not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintClearDefiniteSingle: warning: relocation refers to discarded
section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint14newObjectStateEP9JSContextPNS0_10TypeObjectEb'
is not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintFreezeGlobal: warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint16newPropertyStateEP9JSContextPNS0_7TypeSetE' is
not defined locally
../libjs_static.a(jsinfer.i_o):jsinfer.cpp:function vtable for
TypeConstraintFreezeGlobal: warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'_ZN2js5types14TypeConstraint14newObjectStateEP9JSContextPNS0_10TypeObjectEb'
is not defined locally
../libjs_static.a(jsweakmap.i_o):jsweakmap.cpp:function vtable for
js::WeakMapBase: warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol '_ZN2js11WeakMapBaseD1Ev' is not defined locally
../libjs_static.a(jsweakmap.i_o):jsweakmap.cpp:function vtable for
js::WeakMapBase: warning: relocation refers to discarded section
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol '_ZN2js11WeakMapBaseD0Ev' is not defined locally
collect2: error: ld returned 1 exit status
make[6]: *** [js] Error 1
make[6]: Leaving directory
`/var/tmp/mozilla-central/moz-build-dir/js/src/shell'
make[5]: *** [libs] Error 2
make[5]: Leaving directory `/var/tmp/mozilla-central/moz-build-dir/js/src'
make[4]: *** [libs_tier_js] Error 2
make[4]: Leaving directory `/var/tmp/mozilla-central/moz-build-dir'
make[3]: *** [tier_js] Error 2
make[3]: Leaving directory `/var/tmp/mozilla-central/moz-build-dir'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/var/tmp/mozilla-central/moz-build-dir'
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory `/var/tmp/mozilla-central'
make: *** [profiledbuild] Error 2

Reply via email to