From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Sep 7 01:30:25 2004 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 E537F16A4CE for ; Tue, 7 Sep 2004 01:30:24 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9DA143D67 for ; Tue, 7 Sep 2004 01:30:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i871UOl3010071 for ; Tue, 7 Sep 2004 01:30:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i871UOpI010070; Tue, 7 Sep 2004 01:30:24 GMT (envelope-from gnats) Resent-Date: Tue, 7 Sep 2004 01:30:24 GMT Resent-Message-Id: <200409070130.i871UOpI010070@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, Yen-Ming Lee Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 073FD16A4CE for ; Tue, 7 Sep 2004 01:22:58 +0000 (GMT) Received: from utopia.leeym.com (utopia.leeym.com [211.21.137.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id A920543D53 for ; Tue, 7 Sep 2004 01:22:57 +0000 (GMT) (envelope-from leeym@utopia.leeym.com) Received: from localhost (localhost [127.0.0.1]) by utopia.leeym.com (Postfix) with ESMTP id 66CF53EAAF3 for ; Tue, 7 Sep 2004 09:22:56 +0800 (CST) Received: from utopia.leeym.com ([127.0.0.1]) by localhost (utopia.leeym.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 45276-01 for ; Tue, 7 Sep 2004 09:22:52 +0800 (CST) Received: by utopia.leeym.com (Postfix, from userid 1000) id A88AE3EAAE4; Tue, 7 Sep 2004 09:22:51 +0800 (CST) Message-Id: <20040907012251.A88AE3EAAE4@utopia.leeym.com> Date: Tue, 7 Sep 2004 09:22:51 +0800 (CST) From: Yen-Ming Lee To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/71442: indicate GCC 3.4.x by OSVERSION X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Yen-Ming Lee List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2004 01:30:25 -0000 >Number: 71442 >Category: ports >Synopsis: indicate GCC 3.4.x by OSVERSION >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Sep 07 01:30:24 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 5.3-BETA3 i386 >Organization: >Environment: System: FreeBSD utopia.leeym.com 5.3-BETA3 FreeBSD 5.3-BETA3 #1: Sun Sep 5 01:06:46 CST 2004 root@utopia.leeym.com:/usr/obj/usr/src/sys/UTOPIA i386 >Description: 20040728: System compiler has been upgraded to GCC 3.4.2-pre. As with any major compiler upgrade, there are several issues to be aware of. GCC 3.4.x has broken C++ ABI compatibility with previous releases yet again and users will have to rebuild all their C++ programs with the new compiler. WARNING: I am not sure if 503000 is a right value, since I can't find GCC-3.4 related messages in OSVERSION history: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sys/param.h >How-To-Repeat: # compile a port which defined USE_GCC=3.3, says databases/firebird, and the port still use system compiler (GCC 3.4.2) >Fix: --- bsd.port.mk.diff begins here --- Index: bsd.port.mk =================================================================== RCS file: /home/pcvs/ports/Mk/bsd.port.mk,v retrieving revision 1.497 diff -u -r1.497 bsd.port.mk --- bsd.port.mk 3 Aug 2004 19:03:58 -0000 1.497 +++ bsd.port.mk 7 Sep 2004 01:12:55 -0000 @@ -1289,7 +1289,7 @@ .if ${OSVERSION} >= 500039 && ${OSVERSION} < 501103 GCCVERSION= 030200 .endif -.if ${OSVERSION} >= 501103 +.if ${OSVERSION} >= 501103 && ${OSVERSION} < 503000 GCCVERSION= 030301 .endif .if ${OSVERSION} >= 599999 --- bsd.port.mk.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: