* [parisc-linux] problems with gcc 2.96
@ 2000-07-09 19:00 willy
[not found] ` <Pine.LNX.4.21.0007100959080.684-100000@front.linuxcare.com.au>
0 siblings, 1 reply; 5+ messages in thread
From: willy @ 2000-07-09 19:00 UTC (permalink / raw)
To: parisc-linux
most people will need to run contrib/gcc_update in order to sort out
dependencies. i did. but then i get into:
$ rm -rf *
$ ../gcc/configure --target=hppa1.1-linux --prefix=/home/willy/parisc --host=i386-linux --disable-nls
[...]
/home/willy/parisc/gcc-build/gcc/xgcc -B/home/willy/parisc/gcc-build/gcc/ -B/home/willy/parisc/hppa1.1-linux/bin/ -c -g -O2 -I. -I../../../gcc/libio -D_IO_MTSAFE_IO ../../../gcc/libio/iogetline.c
In file included from ../../../gcc/libio/libio.h:166,
from ../../../gcc/libio/iolibio.h:1,
from ../../../gcc/libio/libioP.h:47,
from ../../../gcc/libio/iogetline.c:26:
/home/willy/parisc/hppa1.1-linux/include/bits/stdio-lock.h:29:2: #error libio needs recursive mutexes for _IO_MTSAFE_IO
make[1]: *** [iogetline.o] Error 1
dhd, you must have solved this already?
--
The Sex Pistols were revolutionaries. The Bay City Rollers weren't.
^ permalink raw reply [flat|nested] 5+ messages in thread[parent not found: <Pine.LNX.4.21.0007100959080.684-100000@front.linuxcare.com.au>]
[parent not found: <20000710082844.C16294@vodka.thepuffingroup.com>]
* Re: [parisc-linux] problems with gcc 2.96 [not found] ` <20000710082844.C16294@vodka.thepuffingroup.com> @ 2000-07-10 14:00 ` David Huggins-Daines 2000-07-10 14:16 ` David Huggins-Daines 0 siblings, 1 reply; 5+ messages in thread From: David Huggins-Daines @ 2000-07-10 14:00 UTC (permalink / raw) To: Alan Modra; +Cc: parisc-linux willy@thepuffingroup.com writes: > On Mon, Jul 10, 2000 at 10:06:06AM +1000, Alan Modra wrote: > > On Sun, 9 Jul 2000 willy@thepuffingroup.com wrote: > > > > > /home/willy/parisc/hppa1.1-linux/include/bits/stdio-lock.h:29:2: #error libio needs recursive mutexes for _IO_MTSAFE_IO > > > make[1]: *** [iogetline.o] Error 1 > > > > > > dhd, you must have solved this already? > > > > Errm, unless your glibc versions differ. I did a merge on June 10. Ducks > > for cover. > > I spoke to dhd last night and apparently the solution is to > --disable-multilib for gcc. i'm just trying it now and it appears to > get a lot further. time to update the recipe, i guess. I've already told willy this, but this is due to the C++ support. Configure with --enable-languages=c for the time being until it's sorted. -- dhd@linuxcare.com, http://www.linuxcare.com/ Linuxcare. Support for the revolution. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [parisc-linux] problems with gcc 2.96 2000-07-10 14:00 ` David Huggins-Daines @ 2000-07-10 14:16 ` David Huggins-Daines 2000-07-10 14:38 ` Alan Modra 0 siblings, 1 reply; 5+ messages in thread From: David Huggins-Daines @ 2000-07-10 14:16 UTC (permalink / raw) To: Alan Modra; +Cc: parisc-linux David Huggins-Daines <dhd@linuxcare.com> writes: > I've already told willy this, but this is due to the C++ support. > Configure with --enable-languages=c for the time being until it's sorted. Ah, sorry, it happens if you configure glibc without linuxthreads support (because, then, you have no spinlocks, obviously). It seems that we've already got the appropriate locking primitives there... trying it now. -- dhd@linuxcare.com, http://www.linuxcare.com/ Linuxcare. Support for the revolution. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [parisc-linux] problems with gcc 2.96 2000-07-10 14:16 ` David Huggins-Daines @ 2000-07-10 14:38 ` Alan Modra 2000-07-10 14:59 ` David Huggins-Daines 0 siblings, 1 reply; 5+ messages in thread From: Alan Modra @ 2000-07-10 14:38 UTC (permalink / raw) To: David Huggins-Daines; +Cc: parisc-linux On 10 Jul 2000, David Huggins-Daines wrote: > David Huggins-Daines <dhd@linuxcare.com> writes: > > > I've already told willy this, but this is due to the C++ support. > > Configure with --enable-languages=c for the time being until it's sorted. > > Ah, sorry, it happens if you configure glibc without linuxthreads > support (because, then, you have no spinlocks, obviously). It seems > that we've already got the appropriate locking primitives > there... trying it now. Yeah, I got enthusiastic about implementing linuxthreads, and put in support for parisc style spinlocks using ldcw (Load and Clear Word). We need to grab a lock by clearing it so the locks need to be initialised to non-zero, which is exactly opposite to other glibc spinlocks. My enthusiasm waned when I hit a missing syscall - forget what it was now. -- Linuxcare. Support for the Revolution. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [parisc-linux] problems with gcc 2.96 2000-07-10 14:38 ` Alan Modra @ 2000-07-10 14:59 ` David Huggins-Daines 0 siblings, 0 replies; 5+ messages in thread From: David Huggins-Daines @ 2000-07-10 14:59 UTC (permalink / raw) To: Alan Modra; +Cc: parisc-linux Alan Modra <alan@linuxcare.com.au> writes: > Yeah, I got enthusiastic about implementing linuxthreads, and put in > support for parisc style spinlocks using ldcw (Load and Clear Word). > We need to grab a lock by clearing it so the locks need to be initialised > to non-zero, which is exactly opposite to other glibc spinlocks. My > enthusiasm waned when I hit a missing syscall - forget what it was now. glibc doesn't really want to compile with linuxthreads for me - something breaks in the way errno is handled and I get "undefined reference to errno" when linking. Jes says we don't really want to mess with that stuff until we have shared libs working, and I'm inclined to trust him on that :-) I guess for now we can just ignore libstdc++ and friends... -- dhd@linuxcare.com, http://www.linuxcare.com/ Linuxcare. Support for the revolution. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2000-07-10 14:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-09 19:00 [parisc-linux] problems with gcc 2.96 willy
[not found] ` <Pine.LNX.4.21.0007100959080.684-100000@front.linuxcare.com.au>
[not found] ` <20000710082844.C16294@vodka.thepuffingroup.com>
2000-07-10 14:00 ` David Huggins-Daines
2000-07-10 14:16 ` David Huggins-Daines
2000-07-10 14:38 ` Alan Modra
2000-07-10 14:59 ` David Huggins-Daines
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.