On 28 October 2013 20:56, Chandler Carruth <[email protected]> wrote: > > On Mon, Oct 28, 2013 at 5:53 PM, Rafael Espíndola > <[email protected]> wrote: >> >> Right now we print: >> >> -dynamic-linker >> /lib/ld-linux-armhf.so.3 >> /usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.7.2/../../../crt1.o >> /usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.7.2/../../../crti.o >> /usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.7.2/crtbegin.o >> -L/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.7.2 >> -L/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.7.2/../../.. >> -L/lib >> -L/usr/lib >> /usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.7.2/crtend.o >> /usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.7.2/../../../crtn.o >> >> The tricky part is implementing the ubuntu support (where with have >> the "..../lib/../lib line) without regressing this. > > > How so? Shouldn't that just be a no-op?
No. Because that is where we look first. If you try ubuntu right now (after the revert) with the 32 bit x86 support installed we will try to use the 32 bit x86 libraries when linking for arm. Cheers, Rafael _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
