T14028 is broken in dyn way
I noticed while finishing up !14 (closed) that T14028
(which hasn't run in a very long time due to #16042 (closed)) fails in the dyn
way on Debian 9:
Wrong exit code for T14028()(expected 0 , actual 2 )
Stdout ( T14028 ):
Makefile:13: recipe for target 'T14028' failed
Stderr ( T14028 ):
ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in T14028C.o
>>> referenced by T14028C.c
>>> T14028C.o:(hi)
ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol puts; recompile with -fPIC
>>> defined in //lib/x86_64-linux-gnu/libc.so.6
>>> referenced by T14028C.c
>>> T14028C.o:(hi)
collect2: error: ld returned 1 exit status
`cc' failed in phase `Linker'. (Exit code: 1)
make[2]: *** [T14028] Error 1
*** unexpected failure for T14028(dyn)