This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

Re: Another linuxthreads/libanl fix


Andreas Jaeger <aj@suse.de> writes:

> If I configure glibc without any add-ons, it fails now in:
> 
> In file included from ../sysdeps/unix/sysv/linux/gai_sigqueue.c:28:
> gai_misc.h:32: parse error before "pthread_cond_t"
> gai_misc.h:32: warning: no semicolon at end of struct or union
> gai_misc.h:39: parse error before '}' token
> gai_misc.h:73: parse error before "__gai_requests_mutex"
> gai_misc.h:73: warning: type defaults to `int' in declaration of `__gai_requests_mutex'
> gai_misc.h:73: warning: data definition has no type or storage class

I'm having similar problems when compiling for the Hurd.

> I think we shouldn't build gai_sigqueue in this case at all.  Is the
> appended patch ok?  Or should we change gai_sigqueue or gai_misc.h
> instead?

Your patch looks fine to me.  Changing gai_sigqueue and/or gai_misc.h
would involve quite a bit more work I think.

Mark


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