[parisc-linux] building SOM tools

Grant Grundler grundler@cup.hp.com
Wed, 15 Sep 1999 08:08:01 -0700


Hello folks,

I also tried configuring for "--target=hppa1.1-hp-hpux10.20".
That results in the same symbols missing ("/usr/ccs/bin/ld:
Unsatisfied symbols:"...).  Any hints on what next?

TIA,
grant

ps. The actual line changed in gas/configure is the "hppa-*-linux" case
   of "${generic_target}" switch (case) statement.
   The "parisc-*-linux" case is dead code and can be removed since
   the switch is on $generic_target and not $target.

Grant Grundler wrote:
> 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 --targ
>   et=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-f
>   ile.o read.o sb.o stabs.o subsegs.o symbols.o write.o tc-hppa.o obj-som.o a
>   tof-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 detect
>   ed. 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>
> 
> ---------------------------------------------------------------------------
> To unsubscribe: send e-mail to parisc-linux-request@thepuffingroup.com with
> `unsubscribe' as the subject.
> 

Grant Grundler
Communications Infrastructure Computer Operations
+1.408.447.7253