All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] nptl build failures (so close!)
@ 2005-07-26 19:45 Carlos O'Donell
  2005-07-26 21:10 ` [parisc-linux] " John David Anglin
  0 siblings, 1 reply; 3+ messages in thread
From: Carlos O'Donell @ 2005-07-26 19:45 UTC (permalink / raw)
  To: parisc-linux; +Cc: Randolph Chung


Randolph, Dave,

Any thoughts?

../sysdeps/generic/strtol_l.c: In function '____strtol_l_internal':
../sysdeps/generic/strtol_l.c:483: warning: cast discards qualifiers from pointer target type
../sysdeps/generic/strtol_l.c:497: error: 'ERANGE' undeclared (first use in this function)
../sysdeps/generic/strtol_l.c:497: error: (Each undeclared identifier is reported only once
../sysdeps/generic/strtol_l.c:497: error: for each function it appears in.)
../sysdeps/generic/strtol_l.c:517: warning: cast discards qualifiers from pointer target type
../sysdeps/generic/strtol_l.c:520: warning: cast discards qualifiers from pointer target type
make[2]: *** [/mnt/flaire/src/tls-toolchain-hppa/build/glibc-nptl/stdlib/strtol_l.o] Error 1
make[2]: Leaving directory `/mnt/flaire/src/tls-toolchain-hppa/src/glibc/stdlib'
make[1]: *** [stdlib/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/flaire/src/tls-toolchain-hppa/src/glibc'
make: *** [all] Error 2

I tried to debug a weird header file include problem in the nptl headers
last night, but to no avail. It looks like gcc was reordering the includes
and "lll_lock_t" wasn't included. This time around "ERANGE" is missing, but 
if I trace the headers by hand it should have been included.

This looks like an einvironment problem. No other arches seem to define anything
magical to make this work.

I had a similar problem in nptl/descr.h where lowlevellock.h wasn't being
included until after descr.h was entirely processed. Which made no sense
at all.

c.


_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

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

end of thread, other threads:[~2005-07-27 16:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-26 19:45 [parisc-linux] nptl build failures (so close!) Carlos O'Donell
2005-07-26 21:10 ` [parisc-linux] " John David Anglin
2005-07-27 16:51   ` Carlos O'Donell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.