http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49555
Bryan Hundven <bryanhundven at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yann.morin.1998 at free dot | |fr --- Comment #4 from Bryan Hundven <bryanhundven at gmail dot com> 2011-06-28 21:01:43 UTC --- (In reply to comment #3) > (In reply to comment #2) > > Please provide a bit mor information: Sure. Re-reading comment #3, maybe I sounded a bit brass. Let me try again. Yann requested to be CC'd. > > * what platform are you on? > > It happens on every platform I configure, but if you want something specific: > --build=i686-unknown-linux-gnu --host=i686-unknown-linux-gnu > --target=x86_64-unknown-linux-gnu > > I also have the same problems on: > --build=i686-unknown-linux-gnu --host=i686-unknown-linux-gnu > --target=mips64-unknown-linux-gnu > > and: > --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu > --target=powerpc-unknown-linux-gnuspe same response. > This is a build from crosstool-ng. --enable-symvers=gnu is set staticly in: > http://crosstool-ng.org/hg/crosstool-ng/file/tip/scripts/build/cc/gcc.sh > > > * what are your configure options? > > --enable-languages=c,c++,fortran,objc,obj-c++ --disable-multilib > --with-tune=core2 --with-pkgversion=crosstool-NG hg_unknown@20110627.135200 > --disable-sjlj-exceptions --enable-__cxa_atexit --enable-libmudflap > --enable-libgomp --enable-libssp > --with-gmp=/home/bryan/builds/x86_64-unknown-linux-gnu/.build/x86_64-unknown-linux-gnu/build/static > --with-mpfr=/home/bryan/builds/x86_64-unknown-linux-gnu/.build/x86_64-unknown-linux-gnu/build/static > --with-mpc=/home/bryan/builds/x86_64-unknown-linux-gnu/.build/x86_64-unknown-linux-gnu/build/static > --with-ppl=/home/bryan/builds/x86_64-unknown-linux-gnu/.build/x86_64-unknown-linux-gnu/build/static > --with-cloog=/home/bryan/builds/x86_64-unknown-linux-gnu/.build/x86_64-unknown-linux-gnu/build/static > --with-libelf=/home/bryan/builds/x86_64-unknown-linux-gnu/.build/x86_64-unknown-linux-gnu/build/static > --with-host-libstdcxx=-static-libgcc -Wl,-Bstatic,-lstdc++ -lm > -L/home/bryan/builds/x86_64-unknown-linux-gnu/.build/x86_64-unknown-linux-gnu/build/static/lib > -lpwl --enable-threads=posix --enable-target-optspace --disable-libstdcxx-pch > --with-long-double-128 --enable-gold Same response. > > * why do you insist on specifying the symvers flavor manually? I had a discussion with Yann E. Morin, and it sounds like this option was ported forward from the legacy options in Dan Kegel's crosstool. The questions I am asking should be: * Should this ever (for any platform) be set manually? Or should this always be an 'automatic' setting? * Isn't it inconsistent that every component checks for 'gnu*' and 'sun', except for libjava? Yann is currently retesting the sh4 build without --enable-symvers=gnu set to see if it still needs it. If it does not, then he will remove it completely, otherwise it should be target specific in crosstool-ng and not for all targets. > "I" didn't insist on specifying it manually. crosstool-ng did. > While you might say that is a problem with crosstool-ng, but the older > crosstool and other cross tool scripts use this as well. > > If every other component besides libjava specifically check for > yes|no|gnu*|sun, why doesn't libjava? > > Or... > > If I shouldn't use --enable-symvers=gnu, shouldn't all other components fail > to > support it?