public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* glibc does not build anymore on i686
@ 2003-05-10 11:04 Andreas Jaeger
  2003-05-10 17:48 ` Ulrich Drepper
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Jaeger @ 2003-05-10 11:04 UTC (permalink / raw)
  To: GNU libc hacker


In file included from ../posix/sched.h:32,
                 from ../include/sched.h:2,
                 from ../linuxthreads/sysdeps/pthread/pthread.h:20,
                 from ../include/pthread.h:1,
                 from ../linuxthreads/sysdeps/pthread/bits/libc-lock.h:24,
                 from ../sysdeps/generic/ldsodefs.h:38,
                 from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
                 from ../sysdeps/unix/sysv/linux/init-first.c:30:
../sysdeps/unix/sysv/linux/bits/sched.h:96: error: redefinition of `__cpu_mask'
../sysdeps/unix/sysv/linux/bits/sched.h:96: error: `__cpu_mask' previously declared here
../sysdeps/unix/sysv/linux/bits/sched.h:106: error: conflicting types for `cpu_set_t'
../sysdeps/unix/sysv/linux/bits/sched.h:106: error: previous declaration of `cpu_set_t'
make[2]: *** [/builds/glibc/gcc-3.3/csu/init-first.o] Error 1

The problem is that both these files include bits/sched.h:

./posix/sched.h:#include <bits/sched.h>
./linuxthreads/sysdeps/pthread/bits/pthreadtypes.h:#include <bits/sched.h>

and both files are included.  But why is pthreadtypes.h including
bits/sched.h?  This looks broken since we have:
# error "Never include <bits/sched.h> directly; use <sched.h> instead."

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: glibc does not build anymore on i686
  2003-05-10 11:04 glibc does not build anymore on i686 Andreas Jaeger
@ 2003-05-10 17:48 ` Ulrich Drepper
  2003-05-11  8:56   ` Andreas Jaeger
  0 siblings, 1 reply; 3+ messages in thread
From: Ulrich Drepper @ 2003-05-10 17:48 UTC (permalink / raw)
  To: Andreas Jaeger; +Cc: GNU libc hacker

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andreas Jaeger wrote:

> The problem is that both these files include bits/sched.h:

Try now.

- -- 
- --------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+vTtZ2ijCOnn/RHQRAlOxAJ9+FswWvLdPckbZ+z0N9c/g2Ux+tACggGhF
Elq+SSLXnn2IMtHitprhvgU=
=6ylF
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: glibc does not build anymore on i686
  2003-05-10 17:48 ` Ulrich Drepper
@ 2003-05-11  8:56   ` Andreas Jaeger
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Jaeger @ 2003-05-11  8:56 UTC (permalink / raw)
  To: Ulrich Drepper; +Cc: GNU libc hacker

Ulrich Drepper <drepper@redhat.com> writes:

> Andreas Jaeger wrote:
>
>> The problem is that both these files include bits/sched.h:
>
> Try now.

Works now,

Thanks,
Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-05-11  8:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-10 11:04 glibc does not build anymore on i686 Andreas Jaeger
2003-05-10 17:48 ` Ulrich Drepper
2003-05-11  8:56   ` Andreas Jaeger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).