Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 879883 - sys-libs/zlib-1.2.13-r1: fails to compile on sparc
Summary: sys-libs/zlib-1.2.13-r1: fails to compile on sparc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-05 16:43 UTC by Arthur Zamarin
Modified: 2024-01-24 08:05 UTC (History)
0 users

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


Attachments
build.log (build.log,9.45 KB, text/plain)
2022-11-05 16:43 UTC, Arthur Zamarin
Details
emerge --info (emerge info.txt,5.42 KB, text/plain)
2022-11-05 16:44 UTC, Arthur Zamarin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2022-11-05 16:43:37 UTC
Created attachment 827841 [details]
build.log

Caught on container "arthurzam-sparc64-testing" on catbus.sparc.d.g.o



sparc64-unknown-linux-gnu-gcc -O2 -mcpu=niagara4 -pipe -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -o minigzip64 minigzip64.o -Wl,-O1 -Wl,--as-needed -Wl,--no-warn-rwx-segments -L. libz.a
/usr/lib/gcc/sparc64-unknown-linux-gnu/11.3.0/../../../../sparc64-unknown-linux-gnu/bin/ld/usr/lib/gcc/sparc64-unknown-linux-gnu/11.3.0/../../../../sparc64-unknown-linux-gnu/bin/ld: unrecognized option ': unrecognized option '--no-warn-rwx-segments--no-warn-rwx-segments'
'
/usr/lib/gcc/sparc64-unknown-linux-gnu/11.3.0/../../../../sparc64-unknown-linux-gnu/bin/ld/usr/lib/gcc/sparc64-unknown-linux-gnu/11.3.0/../../../../sparc64-unknown-linux-gnu/bin/ld: use the --help option for usage information
: use the --help option for usage information
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
make: *** [Makefile:285: example] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Makefile:288: minigzip] Error 1
/usr/lib/gcc/sparc64-unknown-linux-gnu/11.3.0/../../../../sparc64-unknown-linux-gnu/bin/ld: unrecognized option '--no-warn-rwx-segments'
/usr/lib/gcc/sparc64-unknown-linux-gnu/11.3.0/../../../../sparc64-unknown-linux-gnu/bin/ld: use the --help option for usage information
/usr/lib/gcc/sparc64-unknown-linux-gnu/11.3.0/../../../../sparc64-unknown-linux-gnu/bin/ld: unrecognized option '--no-warn-rwx-segments'
/usr/lib/gcc/sparc64-unknown-linux-gnu/11.3.0/../../../../sparc64-unknown-linux-gnu/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
Comment 1 Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2022-11-05 16:44:14 UTC
Created attachment 827843 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2022-11-23 04:25:21 UTC
The bug has been closed via the following commit(s):

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

commit bac67bd1ecdf620db1b0dc03b63e66d978ff7325
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-11-23 04:24:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-23 04:24:31 +0000

    sys-libs/zlib: fix build on sparc
    
    Closes: https://bugs.gentoo.org/879883
    Signed-off-by: Sam James <sam@gentoo.org>

 ...-off-RWX-segment-warnings-on-sparc-system.patch | 56 ++++++++++++++++++++++
 sys-libs/zlib/zlib-1.2.13-r1.ebuild                |  9 +++-
 2 files changed, 64 insertions(+), 1 deletion(-)
Comment 3 Larry the Git Cow gentoo-dev 2024-01-24 08:05:36 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96443d8fb60521aa813eaad631c698db2c026c83

commit 96443d8fb60521aa813eaad631c698db2c026c83
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-01-24 07:43:11 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-24 08:04:52 +0000

    sys-libs/zlib: add upstream reference to patch
    
    Bug: https://github.com/madler/zlib/issues/751
    Bug: https://bugs.gentoo.org/879883
    Signed-off-by: Sam James <sam@gentoo.org>

 ...b-1.2.13-Revert-Turn-off-RWX-segment-warnings-on-sparc-system.patch | 3 +++
 1 file changed, 3 insertions(+)