This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

AW: bug with PI mutex and static linking


Carlos wrote:

> $GCC -r -nostdlib -o libpthread.o -Wl,--whole-archive ./libpthread.a
> rm libpthread.a
> ar rcs libpthread.a libpthread.o

Again, thanks a lot for this: It perfectly fixed the problem!

Looks like static builds do more and more become second class citizens only:
I assume that static builds are not covered during GLIBC regression testing?

Lesson learned on our side: If we seriously want to continue to support static
builds, we have to run the GLIBC test suite for static builds ourselves.



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