This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 971127 glibc2 broken


>>>>> neal  writes:

    neal> linux i586 glibc-2.0.5 egcs-971127.  It's broken: g++ -o
    neal> hello hello.cc /usr/lib/libstdc++.so: undefined reference to
    neal> `_pthread_cleanup_pop_restore' /usr/lib/libstdc++.so:
    neal> undefined reference to `_pthread_cleanup_push_defer'

    neal> I suspect that we're missing a file that should be in
    neal> libio/config for linuxlibc2?

Try adding -lpthread to the list of libraries.

--
Regards,
Andrew Veliath
veliaa@frontiernet.net, veliaa@rpi.edu


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]