Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 618426 - sys-devel/gcc-5.4.0-r3 builds with Werror
Summary: sys-devel/gcc-5.4.0-r3 builds with Werror
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
Depends on:
Blocks: werror
  Show dependency tree
Reported: 2017-05-14 10:21 UTC by Alessandro Barbieri
Modified: 2017-12-15 08:58 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---

sys-devel:gcc-5.4.0-r3:20170503-052031.log.xz (sys-devel:gcc-5.4.0-r3:20170503-052031.log.xz,337.21 KB, application/x-xz)
2017-05-14 10:26 UTC, Alessandro Barbieri

Note You need to log in before you can comment on or make changes to this bug.
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
Comment 1 Alessandro Barbieri 2017-05-14 10:26:54 UTC
Created attachment 472562 [details]

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 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).