From owner-freebsd-i386@FreeBSD.ORG Tue Mar 23 06:10:14 2004 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FA9516A4CE for ; Tue, 23 Mar 2004 06:10:14 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 233FE43D39 for ; Tue, 23 Mar 2004 06:10:14 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i2NEAEbv017735 for ; Tue, 23 Mar 2004 06:10:14 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i2NEADZk017734; Tue, 23 Mar 2004 06:10:13 -0800 (PST) (envelope-from gnats) Resent-Date: Tue, 23 Mar 2004 06:10:13 -0800 (PST) Resent-Message-Id: <200403231410.i2NEADZk017734@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Charlie & Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC96216A4D1 for ; Tue, 23 Mar 2004 06:06:53 -0800 (PST) Received: from sltnxq3.ip.tele.dk (sltnxq3.ip.tele.dk [193.89.107.157]) by mx1.FreeBSD.org (Postfix) with ESMTP id E739443D1D for ; Tue, 23 Mar 2004 06:06:52 -0800 (PST) (envelope-from ssch@sltnxq3.ip.tele.dk) Received: from sltnxq3.ip.tele.dk (localhost.ip.tele.dk [127.0.0.1]) by sltnxq3.ip.tele.dk (8.12.10/8.12.10) with ESMTP id i2NE8kGc089058 for ; Tue, 23 Mar 2004 15:08:46 +0100 (CET) (envelope-from ssch@sltnxq3.ip.tele.dk) Received: (from root@localhost) by sltnxq3.ip.tele.dk (8.12.10/8.12.10/Submit) id i2NE8jSU089057; Tue, 23 Mar 2004 15:08:45 +0100 (CET) (envelope-from ssch) Message-Id: <200403231408.i2NE8jSU089057@sltnxq3.ip.tele.dk> Date: Tue, 23 Mar 2004 15:08:45 +0100 (CET) From: Charlie & To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: i386/64619: Error building gcc 3.4 from ports collection X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Charlie & List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2004 14:10:14 -0000 >Number: 64619 >Category: i386 >Synopsis: Error building gcc 3.4 from ports collection >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 23 06:10:11 PST 2004 >Closed-Date: >Last-Modified: >Originator: Steffen Schumacher >Release: FreeBSD 5.2-RELEASE i386 >Organization: TDC Totalløsninger A/S >Environment: System: FreeBSD XXXXX.ip.tele.dk 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Sun Jan 11 04:21:45 GMT 2004 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 A regular server PC, with dual Pentium CPUs, 1 G Ram - nothing unusual. >Description: When attempting to build the new gcc v 3.4, from the ports-collection, it dies with this output: `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. ../.././..//gcc-3.4-20040310/libiberty/fibheap.c: In function `fibheap_union': ../.././..//gcc-3.4-20040310/libiberty/fibheap.c:166: warning: implicit declaration of function `free' ../.././..//gcc-3.4-20040310/libiberty/fibheap.c: In function `fibheap_delete_node': ../.././..//gcc-3.4-20040310/libiberty/fibheap.c:285: error: `LONG_MIN' undeclared (first use in this function) ../.././..//gcc-3.4-20040310/libiberty/fibheap.c:285: error: (Each undeclared identifier is reported only once ../.././..//gcc-3.4-20040310/libiberty/fibheap.c:285: error: for each function it appears in.) ../.././..//gcc-3.4-20040310/libiberty/fibheap.c: In function `fibheap_consolidate': ../.././..//gcc-3.4-20040310/libiberty/fibheap.c:395: warning: implicit declaration of function `memset' gmake[2]: *** [fibheap.o] Error 1 gmake[2]: Leaving directory `/usr/ports/lang/gcc34/work/build/i386-portbld-freebsd5.2/libiberty' gmake[1]: *** [all-target-libiberty] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc34/work/build' gmake: *** [bootstrap-lean] Error 2 *** Error code 2 Stop in /usr/ports/lang/gcc34. seemingly there are also other compile errors in /libiberty/, such as 'implicit declaration of function' type warnings, where various methods from stdlib is unavailable. Also the LONG_MIN is actually defined in a file which IS being included. (can't say it actually gets the file included, because the screen flies by so fast..) steffen [at] schumacher [dot] denmark >How-To-Repeat: cd /usr/ports/lang/gcc34 ; make >Fix: Don't really know too much about gmake and make, but it seems like it doesn't get in config.h file properly included. This would explain why the include of stdlib.h fails (its wrapped in a HAVE_STDLIB_H statement..) >Release-Note: >Audit-Trail: >Unformatted: