From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Apr 11 18:50:13 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9AFD37B401 for ; Fri, 11 Apr 2003 18:50:13 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4E0143FA3 for ; Fri, 11 Apr 2003 18:50:12 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h3C1oCUp010232 for ; Fri, 11 Apr 2003 18:50:12 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h3C1oC5Q010231; Fri, 11 Apr 2003 18:50:12 -0700 (PDT) Resent-Date: Fri, 11 Apr 2003 18:50:12 -0700 (PDT) Resent-Message-Id: <200304120150.h3C1oC5Q010231@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Klaus-J.Wolf" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D66237B401 for ; Fri, 11 Apr 2003 18:46:49 -0700 (PDT) Received: from ks420.kasserver.com (ks420.kasserver.com [62.141.48.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 124BD43F3F for ; Fri, 11 Apr 2003 18:46:48 -0700 (PDT) (envelope-from kjwolf@golulu.seismic.de) Received: from golulu.seismic.de (p50817314.dip.t-dialin.net [80.129.115.20]) (authenticated) by ks420.kasserver.com (8.11.6/8.11.6) with ESMTP id h3C1kjp30201; Sat, 12 Apr 2003 03:46:46 +0200 Received: by golulu.seismic.de (Postfix, from userid 500) id 4B28B26; Sat, 12 Apr 2003 03:46:44 +0200 (CEST) Message-Id: <20030412014644.4B28B26@golulu.seismic.de> Date: Sat, 12 Apr 2003 03:46:44 +0200 (CEST) From: "Klaus-J.Wolf" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/50842: gcc-3.2.2_20030205 won't profile X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Apr 2003 01:50:13 -0000 >Number: 50842 >Category: ports >Synopsis: gcc-3.2.2_20030205 won't profile >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Apr 11 18:50:11 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Klaus-J. Wolf >Release: FreeBSD 4.8-RELEASE i386 >Organization: >Environment: System: FreeBSD golulu.logelhorst.xx 4.8-RELEASE FreeBSD 4.8-RELEASE #2: Fri Apr 11 18:31:15 GMT 2003 root@golulu.logelhorst.xx:/usr/src/sys/compile/GOLULU i386 >Description: Given a one-liner as program code, the following compilation instruction doesn't succeed: $ gcc32 -fprofile-arcs -o xxx xxx.c /var/tmp//ccGqFanl.o(.stab+0x14): undefined reference to `LPBX0' collect2: ld returned 1 exit status The verbose output is attached. The same make script works under Linux with default gcc-3.2. >How-To-Repeat: I think you can use any program, but I used: main() { puts("moin."); } >Fix: None known. ktrace(1) didn't offer any hint I could understand. --- 0log.verbose begins here --- Reading specs from /usr/local/lib/gcc-lib/i386-portbld-freebsd4.8/3.2.2/specs Configured with: ./..//gcc-3.2.2/configure --disable-nls --with-gnu-as --with-gnu-ld --with-gxx-include-dir=/usr/local/lib/gcc-lib/i386-portbld-freebsd4.8/3.2.2/include/g++-v3 --with-system-zlib --includedir=/usr/local/lib/gcc-lib/i386-portbld-freebsd4.8/3.2.2/include/Java --disable-libgcj --disable-shared --prefix=/usr/local i386-portbld-freebsd4.8 Thread model: posix gcc version 3.2.2 /usr/local/lib/gcc-lib/i386-portbld-freebsd4.8/3.2.2/cc1 -lang-c -v -D__GNUC__=3 -D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=2 -D__GXX_ABI_VERSION=102 -D__FreeBSD__=4 -Dunix -D__ELF__ -D__KPRINTF_ATTRIBUTE__ -D__FreeBSD__=4 -D__unix__ -D__ELF__ -D__KPRINTF_ATTRIBUTE__ -D__unix -Asystem=unix -Asystem=bsd -Asystem=FreeBSD -D__NO_INLINE__ -D__STDC_HOSTED__=1 -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__tune_i386__ -D__ELF__ xxx.c -quiet -dumpbase xxx.c -version -fprofile-arcs -o /var/tmp//ccWPdZt1.s GNU CPP version 3.2.2 (cpplib) (i386 FreeBSD/ELF) GNU C version 3.2.2 (i386-portbld-freebsd4.8) compiled by GNU C version 3.2.2. ignoring nonexistent directory "/usr/local/i386-portbld-freebsd4.8/include" #include "..." search starts here: #include <...> search starts here: /usr/local/include /usr/local/lib/gcc-lib/i386-portbld-freebsd4.8/3.2.2/include /usr/include End of search list. as -v -o /var/tmp//cceuFJaY.o /var/tmp//ccWPdZt1.s GNU assembler version 2.12.1 [FreeBSD] 2002-07-20 (i386-obrien-freebsd5.0) using BFD version 2.12.1 [FreeBSD] 2002-07-20 /usr/local/lib/gcc-lib/i386-portbld-freebsd4.8/3.2.2/collect2 -V -dynamic-linker /usr/libexec/ld-elf.so.1 -o xxx /usr/lib/crt1.o /usr/lib/crti.o /usr/local/lib/gcc-lib/i386-portbld-freebsd4.8/3.2.2/crtbegin.o -L/usr/local/lib/gcc-lib/i386-portbld-freebsd4.8/3.2.2 -L/usr/local/lib/gcc-lib/i386-portbld-freebsd4.8/3.2.2/../../.. /var/tmp//cceuFJaY.o -lgcc -lc -lgcc /usr/local/lib/gcc-lib/i386-portbld-freebsd4.8/3.2.2/crtend.o /usr/lib/crtn.o /var/tmp//cceuFJaY.o(.stab+0x14): undefined reference to `LPBX0' GNU ld version 2.12.1 [FreeBSD] 2002-07-20 Supported emulations: elf_i386 collect2: ld returned 1 exit status --- 0log.verbose ends here --- >Release-Note: >Audit-Trail: >Unformatted: