mkdir bin-x86_64 x86_64-pc-linux-gnu-gcc -I. -isystem include -O2 -pipe -march=native -Wall -nostdinc -W -Wall -Wextra -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wno-switch -Wno-unused -Wredundant-decls -fno-strict-aliasing -fno-stack-protector -nopie -Wa,--noexecstack -c x86_64/start.S -Wa,--noexecstack -o bin-x86_64/start.o x86_64-pc-linux-gnu-gcc: error: unrecognized command line option ‘-nopie’; did you mean ‘-no-pie’? make: *** [Makefile:180: bin-x86_64/start.o] Error 1 * ERROR: dev-libs/dietlibc-0.34_pre20140729::gentoo failed (compile phase): * emake failed ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop-gnome-libressl_20170611-103213 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.3.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python2.7 (fallback) [3] pypy (fallback) [4] jython2.7 (fallback) java-config: The following VMs are available for generation-2: *) IcedTea JDK 7.2.6.10 [icedtea-7] 2) IcedTea JDK 7.2.6.10 [icedtea-bin-7] 3) IcedTea JDK 3.4.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-7 system-vm [2] icedtea-bin-7 [3] icedtea-bin-8
Created attachment 476974 [details] emerge-info.txt
Created attachment 476976 [details] dev-libs:dietlibc-0.34_pre20140729:20170617-042712.log
Created attachment 476978 [details] emerge-history.txt
Created attachment 476980 [details] environment
Created attachment 476982 [details] etc.portage.tbz2
Created attachment 476984 [details] temp.tbz2
As explained by the gcc, there is no "-nopie" option, but there is a "-no-pie" one. This is probably a type in the following line in the dietlibc ebuild: tc-enables-pie && append-flags -nopie Assumingly, the fix would be to just update the ebuild. Anyone, please?
It does not block gcc-6 per se, only when using the new 17.0 profiles which enables PIE.... gcc6.4 and 13.0 profiles works.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b191362dda3d626cb47d863c309d640befa536aa commit b191362dda3d626cb47d863c309d640befa536aa Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2018-01-06 19:37:31 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2018-01-06 19:37:31 +0000 dev-libs/dietlibc: Add revbump using -no-pie for gcc-6 and later, bug 622118 Closes: https://bugs.gentoo.org/622118 Package-Manager: Portage-2.3.19, Repoman-2.3.6 .../dietlibc/dietlibc-0.34_pre20140729-r1.ebuild | 64 ++++++++++++++++++++++ 1 file changed, 64 insertions(+)