Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] Trouble Building GCC
@ 2006-11-02  0:38 Alan Mock
  2006-11-02  1:17 ` John David Anglin
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Mock @ 2006-11-02  0:38 UTC (permalink / raw)
  To: parisc-linux

I am having trouble bootstrapping gcc.  My questions are how do I get  
gcc to bootstrap using hppa1.1 and how do I disable building ada?  I  
configured using --enable-languages=c,c++ as the only flag and  
encountered the following error.

/usr/bin/ld: warning: hppa2.0w architecture of input file `libgcc/./ 
gthr-gnat_s.o' is incompatible with hppa1.1 output
/usr/bin/ld: warning: hppa2.0w architecture of input file `libgcc/./ 
unwind-c_s.o' is incompatible with hppa1.1 output
/usr/bin/ld: warning: hppa2.0w architecture of input file `./ 
crtendS.o' is incompatible with hppa1.1 output
/usr/bin/ld: ./crtbeginS.o(.data.rel+0x0): cannot handle  
R_PARISC_DIR64 for __dso_handle
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[3]: *** [libgcc_s.so] Error 1
make[3]: Leaving directory `/gcc/gccbuild/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/gcc/gccbuild/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/gcc/gccbuild/gcc'
make: *** [bootstrap] Error 2

With many more warning: lines above what is shown.  To fix this I  
tried passing --target=hppa-unknown-linux-gnu --enable-languages=c,c+ 
+ to configure so that it will not try to build an hppa2.0 compiler,  
however that produces an error message saying that gnat can't be  
found, so I guess it is trying to build the ada frontend.

Thanks,
Alan
_______________________________________________
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:[~2006-11-02 20:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-02  0:38 [parisc-linux] Trouble Building GCC Alan Mock
2006-11-02  1:17 ` John David Anglin
     [not found]   ` <119aab440611021000i5c283d29mdda5682afdf2b2c8@mail.gmail.com>
2006-11-02 20:17     ` Joel Soete

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox