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

From: Bryan Drewery <bdrewery_at_FreeBSD.org>
Date: Fri, 8 Jul 2016 10:11:57 -0700
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


Received on Fri Jul 08 2016 - 15:12:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:06 UTC