Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 618426

Summary: sys-devel/gcc-5.4.0-r3 builds with Werror
Product: Gentoo Linux Reporter: Alessandro Barbieri <lssndrbarbieri>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED WONTFIX    
Severity: normal CC: esigra, jstein, leio, zhushazang
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 260867    
Attachments: sys-devel:gcc-5.4.0-r3:20170503-052031.log.xz

Description Alessandro Barbieri 2017-05-14 10:21:10 UTC
Uses Werror everywhere

/bin/bash ./libtool  --tag=FC   --mode=compile /var/tmp/notmpfs/portage/sys-devel/gcc-5.4.0-r3/work/build/./gcc/gfortran -B/var/tmp/notmpfs/portage/sys-devel/gcc-5.4.0-r3/work/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include    -I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring  -fallow-leading-underscore -O2 -pipe -march=native -mtune=native -Wno-error=implicit-function-declaration -D_REENTRANT -Wl,-flto -c -o dprod_r8.lo `test -f 'intrinsics/dprod_r8.f90' || echo '/var/tmp/notmpfs/portage/sys-devel/gcc-5.4.0-r3/work/gcc-5.4.0/l
ibgfortran/'`intrinsics/dprod_r8.f90
Comment 1 Alessandro Barbieri 2017-05-14 10:26:54 UTC
Created attachment 472562 [details]
sys-devel:gcc-5.4.0-r3:20170503-052031.log.xz

build log
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2017-10-03 19:03:50 UTC
*** Bug 621178 has been marked as a duplicate of this bug. ***
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2017-12-09 22:09:40 UTC
That's one of the few packages where I'm not going to patch that out.
Comment 4 Mart Raudsepp gentoo-dev 2017-12-15 08:58:14 UTC
As per https://wiki.gentoo.org/wiki/Project:Toolchain/Support_policies building of two major versions older GCC is intended to be supported, even with -Werror used.
I'd reopen this bug for that, but... there is no error, it built fine and the log contains no errors. If it actually fails to build with 1 or 2 major versions newer GCC, then report that, not -Werror in case of GCC (-Werror is wrong in most other packages still and probably worth a bug report).