https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65756

--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
Interesting.  For some programs and libraries, GCC too gives a diagnostic
that's more helpful than just: undefined reference to `foo'

/usr/bin/ld: /tmp/cccCqEak.o: undefined reference to symbol
'pthread_create@@GLIBC_2.2.5'
/lib64/libpthread.so.0: error adding symbols: DSO missing from command line

Reply via email to