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

2016-07-08 Thread Mark Millard
During periods when devel/powerpc-gcc and lang/gcc5 [both currently variants of 
version 5] are at the same version trying to install both gives conflicts on at 
least one file.

During times when they are based on different versions [within the 5 range 
currently] they do not conflict when installed.

I expect that it is the same for amd64-gcc.

I've wished that I could have both devel/*-gcc and lang/gcc* all the time. For 
example I use devel/powerpc64-gcc to have a libc++ based system on a powerpc64 
machine [no gcc 4.2.1 present/involved] and I've wished that I could also have 
lang/gcc5 present for other more non-FreeBSD specific uses.

When I first tried this they happened to be at different versions so I only 
discovered the issue later. Being a powerpc64 context: this was all based on 
source builds both times.

Having devel/*-gcc be more FreeBSD specific and lang/gcc* less so seemed to be 
a deliberate choice. If lang/gcc* gets everything devel/*-gcc has that is 
FreeBSD specific then devel/*-gcc might go away. The one other thing 
devel/*-gcc has is that it is a smaller build, omitting more. Would that be 
enough to keep devel/*-gcc around?

===
Mark Millard
markmi at dsl-only.net

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


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

2016-07-08 Thread Bryan Drewery
On 7/8/16 9:22 AM, Ngie Cooper (yaneurabeya) wrote:
> 
>> On Jul 8, 2016, at 09:12, Li-Wen Hsu  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



signature.asc
Description: OpenPGP digital signature


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

2016-07-08 Thread Ngie Cooper (yaneurabeya)

> On Jul 8, 2016, at 09:12, Li-Wen Hsu  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


signature.asc
Description: Message signed with OpenPGP using GPGMail


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

2016-07-08 Thread Li-Wen Hsu
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


Li-Wen

-- 
Li-Wen Hsu 
https://lwhsu.org


signature.asc
Description: PGP signature


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

2016-07-08 Thread Ngie Cooper (yaneurabeya)

> On Jul 8, 2016, at 05:17, jenkins-ad...@freebsd.org wrote:
> 
> FreeBSD_HEAD_amd64_gcc - Build #1358 - Still Failing:
> 
> Build information: 
> https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_amd64_gcc/1358/
> Full change log: 
> https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_amd64_gcc/1358/changes
> Full build log: 
> https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_amd64_gcc/1358/console
> 
> Change summaries:
> 
> 302420 by gjb:
> Spell '12.x' correctly in UPDATING.
> 
> Submitted by: lidl
> Approved by:  re (implicit)
> Sponsored by: The FreeBSD Foundation
> 
> 302419 by gjb:
> Spell 10.2, 10.3, 12.0 correctly in various places.
> 
> Submitted by: markj
> Approved by:  re (implicit)
> Pointyhat:gjb (myself)
> Sponsored by: The FreeBSD Foundation
> 
> 302418 by gjb:
> Add freebsd12 to contrib/gcc/config.gcc.
> 
> Submitted by: bdrewery
> Approved by:  re (implicit)
> Sponsored by: The FreeBSD Foundation
> 
> 302417 by gjb:
> Bump FREEBSD_CC_VERSION in lib/clang/freebsd_cc_version.h
> 
> Submitted by: bdrewery
> Approved by:  re (implicit)
> Sponsored by: The FreeBSD Foundation
> 
> 302414 by gjb:
> Default manual pages to 12.0 in head, and add missing 10.x
> releases.
> 
> Approved by:  re (implicit)
> Sponsored by: The FreeBSD Foundation
> 
> 302413 by gjb:
> Spell 120 correctly.
> 
> Approved by:  re (implicit)
> Sponsored by: The FreeBSD Foundation
> 
> 302409 by gjb:
> Reflect head is now 12.0-CURRENT.
> 
> Approved by:  re (implicit)
> Sponsored by: The FreeBSD Foundation
> 
> 
> 
> The end of the build log:
> 
> [...truncated 313350 lines...]
> /usr/local/bin/x86_64-portbld-freebsd10.1-gcc -isystem 
> /builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/include
>  
> -L/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/lib
>  
> --sysroot=/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp
>  -B/usr/local/x86_64-freebsd/bin/ -c -O2 -frename-registers -pipe 
> -fno-strict-aliasing  -g -nostdinc  -I. -I/builds/FreeBSD_HEAD_amd64_gcc/sys 
> -I/builds/FreeBSD_HEAD_amd64_gcc/sys/contrib/libfdt -D_KERNEL 
> -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h  -fno-omit-frame-pointer 
> -mno-omit-leaf-frame-pointer -MD  -MF.depend.identcpu.o -MTidentcpu.o 
> -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  
> -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector 
> -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef 
> -Wno-pointer-sign   -Wmissing-include-dirs -fdiagnostics-show-option  
> -Wno-unkno
> wn-pragmas  -Wno-error=inline -Wno-error=enum-compare 
> -Wno-error=unused-but-set-variable  -Wno-error=aggressive-loop-optimizations 
> -Wno-error=maybe-uninitialized  -Wno-error=array-bounds -Wno-error=address  
> -Wno-error=cast-qual -Wno-error=sequence-point -Wno-error=attributes  
> -Wno-error=strict-overflow -Wno-error=overflow  -fno-common -fms-extensions 
> -finline-limit=8000 --param inline-unit-growth=100 --param 
> large-function-growth=1000  -std=iso9899:1999   
> /builds/FreeBSD_HEAD_amd64_gcc/sys/x86/x86/identcpu.c
> --- dump_machdep.o ---
> ctfconvert -L VERSION -g dump_machdep.o
> --- intr_machdep.o ---
> /usr/local/bin/x86_64-portbld-freebsd10.1-gcc -isystem 
> /builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/include
>  
> -L/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/lib
>  
> --sysroot=/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp
>  -B/usr/local/x86_64-freebsd/bin/ -c -O2 -frename-registers -pipe 
> -fno-strict-aliasing  -g -nostdinc  -I. -I/builds/FreeBSD_HEAD_amd64_gcc/sys 
> -I/builds/FreeBSD_HEAD_amd64_gcc/sys/contrib/libfdt -D_KERNEL 
> -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h  -fno-omit-frame-pointer 
> -mno-omit-leaf-frame-pointer -MD  -MF.depend.intr_machdep.o -MTintr_machdep.o 
> -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  
> -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector 
> -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef 
> -Wno-pointer-sign   -Wmissing-include-dirs -fdiagnostics-show-option  -W
> no-unknown-pragmas  -Wno-error=inline -Wno-error=enum-compare 
> -Wno-error=unused-but-set-variable  -Wno-error=aggressive-loop-optimizations 
> -Wno-error=maybe-uninitialized  -Wno-error=array-bounds -Wno-error=address  
> -Wno-error=cast-qual -Wno-error=sequence-point -Wno-error=attributes  
> -Wno-error=strict-overflow -Wno-error=overflow  -fno-common -fms-extensions 
> -finline-limit=8000 --param inline-unit-growth=100 --param 
> large-function-growth=1000  -std=iso9899:1999   
> /builds/FreeBSD_HEAD_amd64_gcc/sys/x86/x86/intr_machdep.c
> --- identcpu.o ---
> /builds/FreeBSD_HEAD_amd64_gcc/sys/x86/x86/identcpu.c: In function 
> 'printcpuinfo':
>