Re: [edk2] CLANG cross-compilation issue

2016-09-15 Thread Leif Lindholm
Hi Andrew, list, Just a follow-up. On Wed, Sep 07, 2016 at 08:34:47AM -0700, Andrew Fish wrote: > > The symptom is a failed link step with the message: > > /usr/bin/ld: unrecognised emulation mode: aarch64linux > > > > As a workaround, I was able to get my build functional again by > > creating

Re: [edk2] CLANG cross-compilation issue

2016-09-07 Thread Andrew Fish
> On Sep 7, 2016, at 8:27 AM, Leif Lindholm wrote: > > Hi all, > > This is a report for the archive, rather than anything easily fixable. > While testing one of Ard's sets against CLANG, I tripped over a > behaviour exposed by commit a1b8baccc30b > (BaseTools GCC: use

[edk2] CLANG cross-compilation issue

2016-09-07 Thread Leif Lindholm
Hi all, This is a report for the archive, rather than anything easily fixable. While testing one of Ard's sets against CLANG, I tripped over a behaviour exposed by commit a1b8baccc30b (BaseTools GCC: use 'gcc' as the linker command for GCC44 and later). This commit changes the CLANG profiles to