[PATCH] Fix -print-multi-os-directory for aarch64

Jakub Jelinek jakub@redhat.com
Thu Mar 7 16:45:00 GMT 2013


On Thu, Mar 07, 2013 at 08:29:06AM -0800, Andrew Pinski wrote:
> On Thu, Mar 7, 2013 at 3:15 AM, Jakub Jelinek <jakub@redhat.com> wrote:
> > AFAIK aarch64 libraries are supposed to go into /usr/lib64 etc.
> > directories similarly to x86-64 etc., but as aarch64 isn't a true
> > multilib target (having two different backends for 32-bit vs. 64-bit code),
> > currently gcc -print-multi-os-directory prints . instead of ../lib64.
> 
> I think glibc is broken also. So after this change, the build using
> the released 2.17 and this new gcc breaks.

Then glibc will need patching too.  Distros using multiarch aren't affected
by this, others IMHO will want it in */lib64 and for aarch64 IMHO it isn't
still too late for that change.

	Jakub



More information about the Gcc-patches mailing list