[ANNOUNCE]: clang compiling ports

Baptiste Daroussin bapt at FreeBSD.org
Tue Jun 21 10:43:55 UTC 2011


On Tue, 21 Jun 2011 12:39:18 +0200, Matthias Andree wrote:
> Am 21.06.2011 12:29, schrieb Alex Dupre:
>> Matthias Andree ha scritto:
>>>> I have patches for my ports, can I send them to anyone to test 
>>>> them?
>>>
>>> Do something similar to this:
>>
>> Thanks for the instructions, but currently I haven't a -current 
>> ready
>> for testing, this is the reason of my question :-)
>
> Are the faults you're fixing specific to -CURRENT, like affecting
> features or changes specific to 9-CURRENT?
>
> If not, try -STABLE in the way I've proposed -- you need to do that 
> twice:
>
> 1 - before your fixes and see if the problem reproduces; and
>
> 2 - if it does, try again after your fixes -- if your fixes solve the
> problem on -STABLE, that will likely work with -CURRENT too.
>
> HTH
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to 
> "freebsd-ports-unsubscribe at freebsd.org"

Just be aware that stable clang has some issue with the stable 
binutils, to fix this make sure to use binutils from ports.

To be able to test on stable:
export CC=clang
export CXX=clang++
PATH=/usr/local/bin:${PATH} make -C myport
the ld from localbase is found first so clang uses it.

currently from my testing everything that succeed compiling with this 
also succeed on current
and everything that fail on current also fails this way.

regards,
Bapt


More information about the freebsd-ports mailing list