https://sourceware.org/bugzilla/show_bug.cgi?id=32006
--- Comment #8 from Thomas Jahns <jahns at dkrz dot de> --- Sorry, my fault, misplaced the group flags, should be: $ gcc -nostdlib -static -L/opt/diet/lib-x86_64 /opt/diet/lib-x86_64/start.o -o t test.c -D_REENTRANT -Wl,--start-group -lpthread -Wl,-Map,mapfile -isystem /opt/diet/include -D__dietlibc__ /opt/diet/lib-x86_64/libc.a -Wl,--end-group -lgcc /opt/diet/lib-x86_64/crtend.o -- You are receiving this mail because: You are on the CC list for the bug.