On Mon, Oct 28, 2013 at 5:58 PM, Rafael Espíndola < [email protected]> wrote:
> 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. > Wait, you're saying the sysroot isn't being applied? Maybe it would help to show GCC's search paths and Clang's current (broken) search paths on the ubuntu setup you're trying to make work? I worry that I'm misunderstanding your email, and thus misunderstanding the problem. > > Cheers, > Rafael >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
