Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/tests/lib/csu



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