* [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
* [parisc-linux] Re: nptl build failures (so close!)
2005-07-26 19:45 [parisc-linux] nptl build failures (so close!) Carlos O'Donell
@ 2005-07-26 21:10 ` John David Anglin
2005-07-27 16:51 ` Carlos O'Donell
0 siblings, 1 reply; 3+ messages in thread
From: John David Anglin @ 2005-07-26 21:10 UTC (permalink / raw)
To: Carlos O'Donell; +Cc: parisc-linux, tausq
> 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.
Have you looked at the -E output? Also, add -dM to see macro defines.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
_______________________________________________
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
* [parisc-linux] Re: nptl build failures (so close!)
2005-07-26 21:10 ` [parisc-linux] " John David Anglin
@ 2005-07-27 16:51 ` Carlos O'Donell
0 siblings, 0 replies; 3+ messages in thread
From: Carlos O'Donell @ 2005-07-27 16:51 UTC (permalink / raw)
To: John David Anglin; +Cc: parisc-linux, tausq
On Tue, Jul 26, 2005 at 05:10:09PM -0400, John David Anglin wrote:
> > 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.
>
> Have you looked at the -E output? Also, add -dM to see macro defines.
Ah thanks, I always forget about the -dM to see those cursed macros that
are probably my issue.
The TLS headers are tricky to say the least and more confusing due to
the defines that enable and disable various "Standards."
I'm sure GCC has it's fair share of these problems.
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.