Date: Tue, 7 Sep 2004 09:22:51 +0800 (CST) From: Yen-Ming Lee <leeym@utopia.leeym.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/71442: indicate GCC 3.4.x by OSVERSION Message-ID: <20040907012251.A88AE3EAAE4@utopia.leeym.com> Resent-Message-ID: <200409070130.i871UOpI010070@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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: <quoted from /usr/src/UPDATING> 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. </quoted from /usr/src/UPDATING> 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040907012251.A88AE3EAAE4>