Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Aug 2004 14:04:58 +0200
From:      Oliver Eikemeier <eikemeier@fillmore-labs.com>
To:        Guido Falsi <mad@madpilot.net>
Cc:        ports@freebsd.org
Subject:   Re: GCC 3.4 import and ports system
Message-ID:  <7E4BE7C6-EF7C-11D8-924A-00039312D914@fillmore-labs.com>
In-Reply-To: <20040816110212.GA12624@wedge.madpilot.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Guido Falsi wrote:

> Hello!
>
> I'd like to know why the ports system is not still differentiating
> between freebsd versions before and after the gcc 3.4 import...in fact
> it looks strnge to me there has been no bump in OSVERSION (and
> __FreeBSD_version) to mark this change. It was done for most(all?) 
> previous
> compiler imports...

The OSVERSION marking the gcc 3.4.2 import is 502126:
   <http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-
handbook/freebsd-versions.html>

The integration of USE_GCC=3.4 is planned for the next pointyhat run.

> My problem is with the netpanzer port I'm maintaining. it fails with gcc
> 3.4, I'm trying to force it to use gcc 3.3, but the ports system does
> not ntice that gcc 3.4 is in the system(logic in bsd.port.mk will use
> the system gcc when 3.3 is requested on anything above OSVERSION
> 501103).
>
> I could mark the port broken but am not sure how to correctly recognize
> -current after gcc 3.4 import.
>
> Thanks in advance for any help and clarifications.

Ehm - how about patching it so that it compiles with gcc 3.3 and 3.4? 
And submitting this patches upstream, so that it will be fixed in the 
next vendor version.

-Oliver



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7E4BE7C6-EF7C-11D8-924A-00039312D914>