GCC 3.4 import and ports system

Oliver Eikemeier eikemeier at fillmore-labs.com
Mon Aug 16 05:03:14 PDT 2004

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:

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.


More information about the freebsd-ports mailing list