Re: 3.4.3 on Solaris9, boehm-gc probs.

2005-04-12 Thread Hugh Sasse Staff Elec Eng
On Thu, 7 Apr 2005, Hugh Sasse Staff Elec Eng wrote: On Thu, 7 Apr 2005, Eric Botcazou wrote: But to get the definitions we are after it should be looking in sys, No, is not directly included, only . Oh, I see. And I think I now understand what the --with-local-prefix does, so I'll let you know

Re: 3.4.3 on Solaris9, boehm-gc probs.

2005-04-07 Thread Hugh Sasse Staff Elec Eng
On Thu, 7 Apr 2005, Eric Botcazou wrote: But to get the definitions we are after it should be looking in sys, No, is not directly included, only . Oh, I see. And I think I now understand what the --with-local-prefix does, so I'll let you know the results in a few hours. I've put --with-local-pr

Re: 3.4.3 on Solaris9, boehm-gc probs.

2005-04-07 Thread Eric Botcazou
> But to get the definitions we are after it should be looking in sys, > so it should look for /usr/local/include/sys/link.h rather than > /usr/local/include/link.h. > > /usr/local/include/sys/link.h: No such file or directory > > so then it should look in /usr/include/sys No, is not directly in

Re: 3.4.3 on Solaris9, boehm-gc probs.

2005-04-07 Thread Hugh Sasse Staff Elec Eng
On Thu, 7 Apr 2005, Eric Botcazou wrote: This is totally unlike /usr/include/link.h, but I don't see why it And unlike /usr/include/sys/link.h should be picked up by what must be a directive such as #include So I think this file isn't relevant. It is relevant, the local-prefix directory is searche

Re: 3.4.3 on Solaris9, boehm-gc probs.

2005-04-07 Thread Eric Botcazou
> This is totally unlike /usr/include/link.h, but I don't see why it > should be picked up by what must be a directive such as > > #include > > So I think this file isn't relevant. It is relevant, the local-prefix directory is searched first. > I'm not sure how to proceed though. Remove that fi

Re: 3.4.3 on Solaris9, boehm-gc probs.

2005-04-07 Thread Hugh Sasse Staff Elec Eng
On Wed, 6 Apr 2005, Eric Botcazou wrote: Here's what I get with -H: Sorry? -H applied to what command? The GCC command line you pasted. Oh ... "list included files"... sh-2.05$ chmod u+x !$ chmod u+x tmp-gcc-cmd.bash bash-2.05$ ./!$ ./tmp-gcc-cmd.bash + /export/home/Scratch/hgs/gcc-build/gcc/xgcc

Re: 3.4.3 on Solaris9, boehm-gc probs.

2005-04-06 Thread Eric Botcazou
> > Here's what I get with -H: > > Sorry? -H applied to what command? The GCC command line you pasted. -- Eric Botcazou

Re: 3.4.3 on Solaris9, boehm-gc probs.

2005-04-06 Thread Hugh Sasse Staff Elec Eng
On Wed, 6 Apr 2005, Eric Botcazou wrote: /export/home/Scratch/hgs/gcc-3.4.3/boehm-gc/dyn_load.c:110: error: syntax error before "_DYNAMIC" /export/home/Scratch/hgs/gcc-3.4.3/boehm-gc/dyn_load.c:111: error: `Elf32_Dyn' undeclared (first use in this function) Elf32_Dyn is supposed to be defined in /u

Re: 3.4.3 on Solaris9, boehm-gc probs.

2005-04-06 Thread Eric Botcazou
> /usr/local/sparc-sun-solaris2.9/sys-include -DGC_SOLARIS_THREADS=1 > -DGC_SOLARIS_PTHREADS=1 -DSILENT=1 -DNO_SIGNALS=1 -DALL_INTERIOR_POINTERS=1 > -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -I. > -I/export/home/Scratch/hgs/gcc-3.4.3/boehm-gc > -I/export/home/Scratch/hgs/gcc

3.4.3 on Solaris9, boehm-gc probs.

2005-04-06 Thread Hugh Sasse Staff Elec Eng
I've STW for this but can't see others with the same problem. I'm getting: [...] /bin/bash ./libtool --mode=compile /export/home/Scratch/hgs/gcc-build/gcc/xgcc -B/export/home/Scratch/hgs/gcc-build/gcc/ -B/usr/local/sparc-sun-solaris2.9/bin/ -B/usr/local/sparc-sun-solaris2.9/lib/ -isyste