[parisc-linux] building SOM tools

Grant Grundler grundler@cup.hp.com
Mon, 13 Sep 1999 13:32:54 -0700


Grant Grundler wrote:
...
> Sigh...I thought the object files were supposed to be SOM until I saw the
> following in the binutils/gas/configure:
>       parisc-*-linux*)         fmt=elf em=linux ;;
> 
> Should I change this to "som"?

I changed my local copy of configure as proposed above.
I removed /linux/parisc-linux/bin from my $PATH.
This doesn't build "out of the box" either...
Anyone have fixes for this not committed to the CVS tree?


grundler <429> ./configure --prefix=/linux --host=hppa1.1-hp-hpux11.00 --target=parisc-linux
grundler <430> make
...
cc -g -o as-new app.o as.o atof-generic.o bignum-copy.o cond.o depend.o ecoff.o ehopt.o expr.o flonum-copy.o flonum-konst.o flonum-mult.o frags.o hash.o input-file.o input-scrub.o listing.o literal.o macro.o messages.o output-file.o read.o sb.o stabs.o subsegs.o symbols.o write.o tc-hppa.o obj-som.o atof-ieee.o ../opcodes/.libs/libopcodes.a ../bfd/.libs/libbfd.a ../libiberty/libiberty.a
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (app.o) was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: Unsatisfied symbols:
   bfd_som_set_subsection_attributes (code)
   bfd_som_set_section_attributes (code)
   hppa_som_gen_reloc_type (code)
   bfd_som_attach_aux_hdr (code)
   bfd_som_set_symbol_type (code)
make[1]: *** [as-new] Error 1
make[1]: Leaving directory `/linux/binutils/gas'
make: *** [all-gas] Error 2
grundler <431>