Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 913410 - app-benchmarks/cpuburn-1.4a-r4 fails to compile with sys-devel/binutils-2.41-r1: read-only segment has dynamic relocations
Summary: app-benchmarks/cpuburn-1.4a-r4 fails to compile with sys-devel/binutils-2.41-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: binutils-2.41
  Show dependency tree
 
Reported: 2023-09-01 13:34 UTC by Miroslav Šulc
Modified: 2023-09-17 21:41 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Šulc gentoo-dev 2023-09-01 13:34:44 UTC
>>> Emerging (1 of 1) app-benchmarks/cpuburn-1.4a-r4::gentoo
 * cpuburn-1.4a.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                                                                                                                                  [ ok ]
>>> Unpacking source...
>>> Unpacking cpuburn-1.4a.tar.gz to /var/tmp/portage/app-benchmarks/cpuburn-1.4a-r4/work
>>> Source unpacked in /var/tmp/portage/app-benchmarks/cpuburn-1.4a-r4/work
>>> Preparing source in /var/tmp/portage/app-benchmarks/cpuburn-1.4a-r4/work/cpuburn-1.4a ...
 * Applying cpuburn-1.4a-variables.patch ...                                                                                                                                                                                                                                                                                                                        [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-benchmarks/cpuburn-1.4a-r4/work/cpuburn-1.4a ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-benchmarks/cpuburn-1.4a-r4/work/cpuburn-1.4a ...
make -j33 
cc -march=native -O2 -pipe -frecord-gcc-switches -m32 -Wl,-O1 -Wl,--as-needed -nostdlib -o burnP5 burnP5.S
cc -march=native -O2 -pipe -frecord-gcc-switches -m32 -Wl,-O1 -Wl,--as-needed -nostdlib -o burnP6 burnP6.S
cc -march=native -O2 -pipe -frecord-gcc-switches -m32 -Wl,-O1 -Wl,--as-needed -nostdlib -o burnK6 burnK6.S
cc -march=native -O2 -pipe -frecord-gcc-switches -m32 -Wl,-O1 -Wl,--as-needed -nostdlib -o burnK7 burnK7.S
cc -march=native -O2 -pipe -frecord-gcc-switches -m32 -Wl,-O1 -Wl,--as-needed -nostdlib -o burnBX burnBX.S
cc -march=native -O2 -pipe -frecord-gcc-switches -m32 -Wl,-O1 -Wl,--as-needed -nostdlib -o burnMMX burnMMX.S
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/app-benchmarks/cpuburn-1.4a-r4/temp/ccitpAn3.o: warning: relocation in read-only section `.text'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/app-benchmarks/cpuburn-1.4a-r4/temp/cc52H8B7.o: warning: relocation in read-only section `.text/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld'
: /var/tmp/portage/app-benchmarks/cpuburn-1.4a-r4/temp/ccOG82pL.o: warning: relocation in read-only section `.text'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/app-benchmarks/cpuburn-1.4a-r4/temp/cc8PckFl.o: warning: relocation in read-only section `.text'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: read-only segment has dynamic relocations
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: read-only segment has dynamic relocations
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: read-only segment has dynamic relocations
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: read-only segment has dynamic relocations
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
make: *** [Makefile:3: burnP6] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Makefile:3: burnP5] Error 1
make: *** [Makefile:3: burnK7] Error 1
make: *** [Makefile:3: burnMMX] Error 1
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/app-benchmarks/cpuburn-1.4a-r4/temp/ccZmCYZv.o: warning: relocation in read-only section `.text'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: read-only segment has dynamic relocations
collect2: error: ld returned 1 exit status
make: *** [Makefile:3: burnK6] Error 1
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/app-benchmarks/cpuburn-1.4a-r4/temp/cccRobNW.o: warning: relocation in read-only section `.text'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: read-only segment has dynamic relocations
collect2: error: ld returned 1 exit status
make: *** [Makefile:3: burnBX] Error 1
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-01 13:39:11 UTC
Given upstream is dead and it's not a security critical application (and not a library), -z notext should be OK as a workaround.
Comment 2 Larry the Git Cow gentoo-dev 2023-09-17 21:41:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=251d1062dd347520c0bcbf72a9722779b406f106

commit 251d1062dd347520c0bcbf72a9722779b406f106
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2023-09-17 21:21:43 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2023-09-17 21:40:51 +0000

    app-benchmarks/cpuburn: fix dynamic relocations
    
    Closes: https://bugs.gentoo.org/913410
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 .../cpuburn/{cpuburn-1.4a-r4.ebuild => cpuburn-1.4a-r5.ebuild}     | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)