More -Wformat warnings with r302403 -> Jenkins failure (was Re: FreeBSD_HEAD_amd64_gcc - Build #1358 - Still Failing)

Bryan Drewery bdrewery at FreeBSD.org
Fri Jul 8 17:12:01 UTC 2016


On 7/8/16 9:22 AM, Ngie Cooper (yaneurabeya) wrote:
> 
>> On Jul 8, 2016, at 09:12, Li-Wen Hsu <lwhsu at FreeBSD.org> wrote:
>>
>> On Fri, Jul 08, 2016 at 09:01:41 -0700, Ngie Cooper (yaneurabeya) wrote:
>>>
>>> How were the copies of gcc48/gcc49/gcc5 installed on the Jenkins slaves and were they customized to include this support?
>>
>> In short, it uses devel/amd64-xtoolchain-gcc .
>>
>> That job basically executes this script:
>> https://github.com/freebsd/freebsd-ci/blob/master/scripts/build/cross-build.sh
>>
>> with TARGET_ARCH=TARGET_ARCH
>>
>> And MAKE_CONF_FILE as:
>>
>> NO_WERROR=yes
>> WERROR=
>> WITH_FAST_DEPEND=yes
> 
> Ok. I finally figured it out.
> 
> lang/gcc{48,49,5} lacks -fformat-extensions support, but devel/powerpc64-gcc has it. I will revert the commit to base and request an MFC to ^/stable/11. The support for -fformat-extensions needs to be added to lang/gcc* for consistency — I will file a ports bug for that.
> 
> Thanks,
> -Ngie
> 

What we need is for COMPILER_FEATURES to advertise this support and then
base it off of that.  I cannot use the xtoolchain amd64 port because it
conflicts with lang/gcc, so I've been using that and hitting this problem.

-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20160708/033a4277/attachment.sig>


More information about the freebsd-current mailing list