Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 622118 - dev-libs/dietlibc-0.34_pre20140729 : x86_64-pc-linux-gnu-gcc: error: unrecognized command line option ‘-nopie’; did you mean ‘-no-pie’?
Summary: dev-libs/dietlibc-0.34_pre20140729 : x86_64-pc-linux-gnu-gcc: error: unrecogn...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: default-pie
  Show dependency tree
 
Reported: 2017-06-18 14:31 UTC by Toralf Förster
Modified: 2018-01-06 19:37 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,6.24 KB, text/plain)
2017-06-18 14:31 UTC, Toralf Förster
Details
dev-libs:dietlibc-0.34_pre20140729:20170617-042712.log (dev-libs:dietlibc-0.34_pre20140729:20170617-042712.log,2.35 KB, text/plain)
2017-06-18 14:31 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,264.53 KB, text/plain)
2017-06-18 14:31 UTC, Toralf Förster
Details
environment (environment,88.55 KB, text/plain)
2017-06-18 14:32 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,28.04 KB, application/x-bzip)
2017-06-18 14:32 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,21.65 KB, application/x-bzip)
2017-06-18 14:32 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-06-18 14:31:49 UTC
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
Comment 1 Toralf Förster gentoo-dev 2017-06-18 14:31:52 UTC
Created attachment 476974 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-06-18 14:31:55 UTC
Created attachment 476976 [details]
dev-libs:dietlibc-0.34_pre20140729:20170617-042712.log
Comment 3 Toralf Förster gentoo-dev 2017-06-18 14:31:58 UTC
Created attachment 476978 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-06-18 14:32:01 UTC
Created attachment 476980 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-06-18 14:32:04 UTC
Created attachment 476982 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-06-18 14:32:07 UTC
Created attachment 476984 [details]
temp.tbz2
Comment 7 Tor Rune Skoglund 2017-12-04 09:04:11 UTC
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?
Comment 8 Tor Rune Skoglund 2017-12-06 13:04:36 UTC
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.
Comment 9 Larry the Git Cow gentoo-dev 2018-01-06 19:37:54 UTC
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(+)