NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/59359 CVS commit: src/tests/lib/csu
The following reply was made to PR lib/59359; it has been noted by GNATS.
From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/59359 CVS commit: src/tests/lib/csu
Date: Sun, 27 Apr 2025 14:04:19 +0000
Module Name: src
Committed By: riastradh
Date: Sun Apr 27 14:04:19 UTC 2025
Modified Files:
src/tests/lib/csu: Makefile
Log Message:
tests/lib/csu: Build h_hello.o with -fPIE, not -fpie.
Static libraries like libc may overflow the bounds assumed by -fpie.
Resolves:
h_hello.o: in function `main':
h_hello.c:(.text.startup+0x30): relocation truncated to fit: R_SPARC_GOT13 against symbol `__sF' defined in .data.rel section in /tmp/build/2025.04.27.10.22.23-sparc64/destdir/usr/lib/libc.a(findfp.o)
PR lib/59359: static pies are broken
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/tests/lib/csu/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index