[parisc-linux] where to put 64 bit libmilli?

Alan Modra alan@linuxcare.com.au
Wed, 3 Jan 2001 15:44:58 +1100 (EST)


On Tue, 2 Jan 2001, Jeffrey A Law wrote:

>   In message <Pine.LNX.4.21.0101031509470.24351-100000@front.linuxcare.com.au>y
> ou write:
>   > Ah, but that's where the automagic linker search for libmilli come into
>   > play.  Effectively, libmilli is always mentioned on the "command line"
> Does this automagic search also happen when you build shared libraries?

Yes.  shared libs thus get their own copy of millicode routines.

> [ Yes, I'm very familiar with HP's automagic searching for libmilli.a.  I also
>   think it's a terrible mistake as a design decision. ]

I'm not particularly enthusiastic about the idea either.  It seemed to be
the best solution in the face of a number of packages that "know" libgcc
isn't needed when linking certain programs.  eg. linux kernel, binutils
testsuite.  The alternatives are
  a) fix all the affected packages
  b) modify linker scripts
  c) magic inbuilt linker behaviour.

a) has the unfortunate effect of making hppa seem like the ugly duckling,
at least until all affected packages on the planet are fixed.
b) doesn't work with custom linker scripts.

I'm all ears for a better solution.

Alan
-- 
Linuxcare.  Support for the Revolution.