This is the mail archive of the 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]

Re: linuxthreads problem introduced between 2.2.1 and 2.2.2

* Andreas Jaeger <>:

| Send a small program that shows the bug.

I would like to connect this thread with my linuxthread
related error report.

I have configured/compiled cvs glibc with options:


Now I run it in the environment:

Linux 2.4.2
gcc 2.95.2
GNU ld version 2.10.91 (with BFD

And I started to compile GNOME galeon/nautilus, both use
mozilla, and both can't find the mozilla libs. From the
config.log it seems both are failed at this moment:

configure:3343: gcc -o conftest -g -O2 -I/home/gzp/src/x/mozilla/dist/include   -L/home/gzp/src/x/mozilla/dist/bin conftest.c -lnspr4   1>&5
/lib/ undefined reference to `atexit'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3332 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char PR_Init();

int main() {
; return 0; }

When I add "-lpthread" to the CFLAGS, it compiles fine, but
adding "-lpthread" to the CFLAGS isn't the best solution,
and noticed also that ppls using glibc 2.1.x doesn't have
this problem.

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