[PATCH] ARM: Use different linker path for hardfloat ABI
Paulo César Pereira de Andrade
paulo.cesar.pereira.de.andrade at gmail.com
Thu Apr 5 15:38:30 UTC 2012
Em 5 de abril de 2012 12:09, Mike Frysinger <vapier at gentoo.org> escreveu:
> On Thursday 05 April 2012 10:38:07 Steve McIntyre wrote:
>> On Wed, Apr 04, 2012 at 01:34:30PM +1200, Michael Hope wrote:
>> >2012/4/4 Paulo César Pereira de Andrade
>> >> I did two ports of Mandriva to armv7. One of my choice to use softfp,
>> >> and another hardfp port to be compatible with other distros. But other
>> >> than a previous armv5 port, there is not much else of Mandriva arm,
>> >> so, it would be "good to have" to be able to run binaries for either
>> >> without resorting to a chroot, and only testing purposes.
>> >> Bumping major or calling it ld-linux-foo.so.3 is out of question?
>> >I suspect /lib/ld-linux-$foo.so.3 would be fine. There's two
>> >questions here though: can the hard float loader have a different path
>> >and, if so, what should it be? We're still working on the first part.
>> We've previously discussed changing the name or the version number of
>> the linker, but there was a worry that compatibility would be
>> broken. Apparently the Meego folks have released a hard-float system
>> using ld-linux.so.3 and were concerned about this.
> i'm not sure how changing the leading dir components but leaving the base path
> the same would be any more or less work for meego to maintain backwards
> compatibility. whatever random path is picked, they're going to be broken, as
> the ELF encodes the full path to the ldso.
I guess now it is too late to defer --with-float=hard for 64 bit armv8, but
besides possibly tedious, full rebuilds of, (hopefully) yet to be released
hardfp distros per se is not a bad thing.
My suggestion for lib$color is $color == vfp (one could choose neon :-),
and then it is a distro choice if using /lib as software float to be able to
install the same binaries on armv4+, or build with vfp but use software float
abi so that armv4+ binaries work.
Major issue IMO is that things are being done thinking too much on
the now, so, hardfp is good to support nvidia drivers, and plain soft float
(armv5) is good for raspberry pi...
> cross-distro mailing list
> cross-distro at lists.linaro.org
More information about the cross-distro