Hi, I intended to fix bugs #1066354 and #836007 of safecat as Bug of the Day[1]. While #1066354 gcc-14 error seemed to be a low hanging fruit it turns out I need help to solve some linker issue[2]:
./load safecat getln.a str.a stralloc.a strerr.a substdio.a \ alloc.o alloc_re.o byte_copy.o byte_cr.o envread.o error.o \ error_str.o fmt_uint64.o hostname.o sig.o stat_dir.o str_diffn.o \ str_len.o substdi.o substdio.o substdio_copy.o taia_fmtfrac.o \ taia_now.o taia_tai.o tempfile.o writefile.o /usr/bin/ld: errno: TLS definition in /lib/x86_64-linux-gnu/libc.so.6 section .tbss mismatches non-TLS reference in strerr.a(strerr_sys.o) /usr/bin/ld: /lib/x86_64-linux-gnu/libc.so.6: error adding symbols: bad value collect2: error: ld returned 1 exit status make[1]: *** [Makefile:226: safecat] Error 1 Its connected to the obscure, manually written build system of upstream. Any idea how to convince the linker to behave nicely? You can find the full build log in Salsa CI of safecat[2]. Thanks a lot for any help Andreas. [1] https://salsa.debian.org/tille/tiny_qa_tools/-/wikis/Tiny-QA-tasks [2] https://salsa.debian.org/salvage-team/safecat/-/jobs/6164554 -- https://fam-tille.de