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...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (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: 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: ---


Attachments
emerge-info.txt (emerge-info.txt,17.29 KB, text/plain)
2021-06-25 19:34 UTC, Toralf Förster
Details
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
Details
emerge-history.txt (emerge-history.txt,246.24 KB, text/plain)
2021-06-25 19:34 UTC, Toralf Förster
Details
environment (environment,72.43 KB, text/plain)
2021-06-25 19:34 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,28.05 KB, application/x-bzip)
2021-06-25 19:34 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,19.11 KB, application/x-bzip)
2021-06-25 19:34 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 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
/usr/lib/llvm/12
12.0.0
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 <repomirrorci@gentoo.org>
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]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-06-25 19:34:10 UTC
Created attachment 719289 [details]
app-benchmarks:ramspeed-3.5.0-r2:20210625-190958.log
Comment 3 Toralf Förster gentoo-dev 2021-06-25 19:34:11 UTC
Created attachment 719292 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-06-25 19:34:13 UTC
Created attachment 719295 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-06-25 19:34:14 UTC
Created attachment 719298 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-06-25 19:34:15 UTC
Created attachment 719301 [details]
temp.tar.bz2
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):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a68b9ae8dcdd5ba5236f28b4bcaca5c17eb74b7

commit 1a68b9ae8dcdd5ba5236f28b4bcaca5c17eb74b7
Author:     orbea <orbea@riseup.net>
AuthorDate: 2022-05-06 15:13:51 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
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.
    
    Bug: https://bugs.gentoo.org/798735
    Signed-off-by: orbea <orbea@riseup.net>
    Closes: https://github.com/gentoo/gentoo/pull/25350
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

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