From owner-freebsd-questions@FreeBSD.ORG Tue Feb 17 13:02:53 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A61E16A4D3 for ; Tue, 17 Feb 2004 13:02:53 -0800 (PST) Received: from hong.homeunix.net (c-67-171-153-196.client.comcast.net [67.171.153.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id C744843D1F for ; Tue, 17 Feb 2004 13:02:52 -0800 (PST) (envelope-from ljfong@hong.homeunix.net) Received: from hong.homeunix.net (localhost [127.0.0.1]) by hong.homeunix.net (Postfix) with ESMTP id A68AA8391 for ; Tue, 17 Feb 2004 13:05:03 -0800 (PST) Received: (from ljfong@localhost) by hong.homeunix.net (8.12.10/8.12.10/Submit) id i1HL53Sf007930 for freebsd-questions@freebsd.org; Tue, 17 Feb 2004 13:05:03 -0800 (PST) (envelope-from ljfong) Date: Tue, 17 Feb 2004 13:05:03 -0800 From: Lin Jianfong To: FreeBSD Questions List Message-ID: <20040217210503.GA7847@hong.attbi.com> Mail-Followup-To: Lin Jianfong , FreeBSD Questions List Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: g++ 3.x does not recognize '-auxbase-strip' option? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2004 21:02:53 -0000 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 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