This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Another libio patch
- To: neal at ctd dot comsat dot com (Neal Becker)
- Subject: Re: Another libio patch
- From: hjl at lucon dot org (H.J. Lu)
- Date: Fri, 17 Oct 1997 13:46:05 -0700 (PDT)
- Cc: egcs at cygnus dot com
>
> What needs to be done so that -lpthread is not needed on linux/glibc2?
> I have applied the patch to /usr/include/libc-lock.h. Rebuilding
> libstdc++ doesn't fix it - libstdc++.so still references two symbols
> defined in pthread. Do I need to rebuild glibc?
>
That should not happen. With my patch, those 2 symbols should
be weak and ld won't complain.
--
H.J. Lu (hjl@gnu.ai.mit.edu)