This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
March-02 Build (Oops)
- To: egcs at cygnus dot com
- Subject: March-02 Build (Oops)
- From: Gcc <gcc at sunburst dot rose dot hp dot com>
- Date: Tue, 3 Mar 1998 10:51:35 -0800 (PST)
Hi on the last few builds I have been getting a lot of problems geting the
c++ part to compile. The compiler itself compiles fine. But when
it comes time to build the libraries it messes up because the PICFLAG
is makefile is not set to -fPIC it isn't in Makefile.
Here is the config.status.
#!/bin/sh
# This file was generated automatically by configure. Do not edit.
# This directory was configured as follows:
./configure --host=hppa1.1-hp-hpux10.20 --enable-haifa --enable-shared --with-gnu-as --norecursion
# using "mh-frag" and "mt-frag"
Also this problem has been in binutils since late last year. I reported
it a couple month ago to binutils bug address no reponse yet.
The ranlib part of the binutil package is mistaking my system for a
s800 which is generating invalid shared library. So anytime I try to
make any kind of library it will be a s800 not a s700 one causing the
linker to complain about invalid format.
/bash-2.01$ /usr/local/hppa1.1-hp-hpux10.20/bin/ar cru libtest.a a.o
bash-2.01$ file a.o
a.o: PA-RISC1.1 relocatable object
bash-2.01$ /usr/local/hppa1.1-hp-hpux10.20/bin/ranlib libtest.a
bash-2.01$ file libtest.a
libtest.a: archive file -s800 relocatable library
I forgot to mention the binutils version:
GNU assembler version 2.8.1.0.21 (hppa1.1-hp-hpux10.20), using BFD version
2.8.1.0.21
Thanks!