Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 798735 - app-benchmarks/ramspeed-3.5.0-r2[pie] - x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option -nopie
Summary: app-benchmarks/ramspeed-3.5.0-r2[pie] - x86_64-pc-linux-gnu-gcc: error: unrec...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at if you want to take care of it
Keywords: PullRequest
Depends on:
Blocks: slibtool
  Show dependency tree
Reported: 2021-06-25 19:34 UTC by Toralf Förster
Modified: 2022-05-06 23:10 UTC (History)
1 user (show)

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

emerge-info.txt (emerge-info.txt,17.29 KB, text/plain)
2021-06-25 19:34 UTC, Toralf Förster
app-benchmarks:ramspeed-3.5.0-r2:20210625-190958.log (app-benchmarks:ramspeed-3.5.0-r2:20210625-190958.log,25.85 KB, text/plain)
2021-06-25 19:34 UTC, Toralf Förster
emerge-history.txt (emerge-history.txt,246.24 KB, text/plain)
2021-06-25 19:34 UTC, Toralf Förster
environment (environment,72.43 KB, text/plain)
2021-06-25 19:34 UTC, Toralf Förster
etc.portage.tar.bz2 (etc.portage.tar.bz2,28.05 KB, application/x-bzip)
2021-06-25 19:34 UTC, Toralf Förster
temp.tar.bz2 (temp.tar.bz2,19.11 KB, application/x-bzip)
2021-06-25 19:34 UTC, Toralf Förster

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-06-25 19:34:07 UTC
amd64/ssemem.s:3056: Warning: no instruction mnemonic suffix given and no register operands; using default for `fst'
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,noexecstack -nopie  ramsmp.o amd64/fltmark.o amd64/fltmem.o amd64/intmark.o amd64/intmem.o amd64/mmxmark.o amd64/mmxmem.o amd64/ssemark.o amd64/ssemem.o   -o ramsmp
x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option ‘-nopie’; did you mean ‘-no-pie’?
make: *** [<builtin>: ramsmp] Error 1
 * ERROR: app-benchmarks/ramspeed-3.5.0-r2::gentoo failed (compile phase):
 *   emake failed


  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-j3-20210622-121844


gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
Python 3.9.5
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.53.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  HEAD of ::gentoo
commit 6a126ad249b4c50f367fe5c5bcc00e5d116ea3ff
Author: Repository mirror & CI <>
Date:   Fri Jun 25 18:06:31 2021 +0000

    2021-06-25 18:06:30 UTC

emerge -qpvO app-benchmarks/ramspeed
[ebuild  N    ] app-benchmarks/ramspeed-3.5.0-r2  USE="pic" CPU_FLAGS_X86="sse"
Comment 1 Toralf Förster gentoo-dev 2021-06-25 19:34:08 UTC
Created attachment 719286 [details]
Comment 2 Toralf Förster gentoo-dev 2021-06-25 19:34:10 UTC
Created attachment 719289 [details]
Comment 3 Toralf Förster gentoo-dev 2021-06-25 19:34:11 UTC
Created attachment 719292 [details]
Comment 4 Toralf Förster gentoo-dev 2021-06-25 19:34:13 UTC
Created attachment 719295 [details]
Comment 5 Toralf Förster gentoo-dev 2021-06-25 19:34:14 UTC
Created attachment 719298 [details]
Comment 6 Toralf Förster gentoo-dev 2021-06-25 19:34:15 UTC
Created attachment 719301 [details]
Comment 7 orbea 2022-05-06 15:16:50 UTC
This is a typo in the ebuild, it should be -no-pic and not -nopic.
Comment 8 orbea 2022-05-06 15:18:13 UTC
I meant -no-pie and -nopie of course...
Comment 9 Larry the Git Cow gentoo-dev 2022-05-06 15:35:00 UTC
The bug has been referenced in the following commit(s):

commit 1a68b9ae8dcdd5ba5236f28b4bcaca5c17eb74b7
Author:     orbea <>
AuthorDate: 2022-05-06 15:13:51 +0000
Commit:     Florian Schmaus <>
CommitDate: 2022-05-06 15:34:55 +0000

    app-benchmarks/ramspeed: Fix build with slibtool
    It should be -no-pie and not -nopie, GNU libtool silently
    hides the typo.
    Signed-off-by: orbea <>
    Signed-off-by: Florian Schmaus <>

 app-benchmarks/ramspeed/ramspeed-3.5.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)