elf: sort tunables list from ld.so
DJ Delorie
dj@redhat.com
Sat Jun 8 01:34:21 GMT 2024
So this fails on 32-bit builds because "strcmp" can't be used as-is in
ld.so (er, sln/ldconfig at least), and dl-tunables.c is shared between
ld.so and libc.a
* I could add a local strcmp
* Maybe there's a #define or #include that auto-switches between the two
* __tunables_print() is only used by ld.so; it could be moved there or
to a separate file
* drop the idea of sorting the printout :-P
Opinions?
gcc -m32 -o /build/elf/ldconfig -nostdlib -nostartfiles -static -static-pie -Wl,-z,pack-relative-relocs /build/csu/rcrt1.o /build/csu/crti.o `gcc -m32 --print-file-name=crtbeginS.o` /build/elf/ldconfig.o /build/elf/cache.o /build/elf/chroot_canon.o /build/elf/readlib.o /build/elf/static-stubs.o /build/elf/stringtable.o /build/elf/xmalloc.o /build/elf/xstrdup.o -Wl,--start-group /build/libc.a -lgcc -Wl,--end-group `gcc -m32 --print-file-name=crtendS.o` /build/csu/crtn.o
/usr/bin/ld: /build/libc.a(dl-tunables.o): unsupported non-PIC call to IFUNC `strcmp'
More information about the Libc-alpha
mailing list