Date: Tue, 17 Feb 2004 13:05:03 -0800 From: Lin Jianfong <ljfong@hong.homeunix.net> To: FreeBSD Questions List <freebsd-questions@freebsd.org> Subject: g++ 3.x does not recognize '-auxbase-strip' option? Message-ID: <20040217210503.GA7847@hong.attbi.com>
next in thread | raw e-mail | index | archive | help
Hello, I'm having trouble lately trying to build java/jdk14 from the port system, tried 3 times, each time after a fresh cvsup, and always ended up with error where cc1plus does not recognize option "-auxbase-strip". Just to make sure I tried: #include <iostream> using namespace std; int main() { cout << "Hello World!\n"; } [Tue 12:56:03pm 02/17/2004][~/testing] ljfong@hong> g++ -auxbase-strip main.cpp cc1plus: unrecognized option `-auxbase-strip' [Tue 12:56:13pm 02/17/2004][~/testing] ljfong@hong> g++295 -auxbase-strip main.cpp no error with g++295. [Tue 12:56:53pm 02/17/2004][~/testing] ljfong@hong> g++ -v Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.2.2 [FreeBSD] 20030205 (release) [Tue 12:58:41pm 02/17/2004][~/testing] ljfong@hong> uname -a FreeBSD hong 5.2-RELEASE FreeBSD 5.2-RELEASE #2: Sun Feb 8 15:57:43 PST 2004 root@:/usr/obj/usr/src/sys/HONG i386 Looks like 2.95 recognizes the option OK, but the option is missing from 3.x? Is the g++ compiler on my system borked? Would appreciate any idea/input. The following is the error of java/jdk14 build: /usr/bin/sed -e 's!uchardir\.o!/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/sun.awt.font/fontmanager/obj/&!g' > /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/sun.awt.font/fontmanager/obj/uchardir.d^M /usr/bin/gcc -W -Wall -Wno-unused -Wno-parentheses -DHEADLESS -fPIC -DCC_NOEX -DNEED_BOGUS_DELETE_OPERATORS -Di586 -DARCH='"i586"' -DRELEASE='"1.4.2-p6"' -DFULL_VERSION='"1.4.2-p6-ljfong_29_jan_2004_21_39"' -D_GNU_SOURCE -D_THREAD_SAFE -D_REENTRANT -D_BSD_SOURCE -I. -I/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/sun.awt.font/fontmanager/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/javavm/include -I../../../src/solaris/javavm/include -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/sun/awt/font -I../../../src/solaris/native/sun/awt/font -I../../../src/share/native/sun/awt/font -I../../../src/share/native/sun/awt/font/fontmanager/include -I../../../src/share/native/sun/awt/font/t2k -I../../../src/share/native/sun/awt/font/layout -I../../../src/share/native/sun/awt/font/opentype -I../../../src/share/native/sun/awt/font/layoutengine -I../../../src/share/native/sun/awt/font/bidi -I../../../src/share/native/sun/awt/image/cvutils -I../../../src/solaris/native/sun/awt -I../../../src/share/native/sun/awt/debug -I../../../src/share/native/sun/java2d/loops -I../../../src/share/native/sun/java2d/pipe -I../../../src/solaris/native/sun/java2d -I../../../src/share/native/sun/java2d -I/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/sun.awt.font/fontmanager/../../sun.awt/awt/CClassHeaders -c -o /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/sun.awt.font/fontmanager/obj/X11TextRenderer.o ../../../src/solaris/native/sun/awt/font/X11TextRenderer.cpp^M cc1plus: unrecognized option `-auxbase-strip'^M cc1plus: output filename specified twice^M gmake[4]: *** [/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/sun.awt.font/fontmanager/obj/X11TextRenderer.o] Error 1^M gmake[4]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/sun/font'^M gmake[3]: *** [optimized] Error 2^M gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/sun/font'^M gmake[2]: *** [all] Error 1^M gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/sun'^M gmake[1]: *** [all] Error 1^M gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make'^M gmake: *** [j2se-build] Error 2^M *** Error code 2^M ^M Stop in /usr/ports/java/jdk14.^M ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall41568.0 make^M ** Fix the problem and try again.^M ** The following packages were not installed or upgraded (*:skipped /!:failed)^M ! java/jdk14 (unknown build error)^M hong# exit^M^M exit^M -- Hong
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040217210503.GA7847>