[llvm-bugs] [Bug 46330] clang ignores linker script option -T when cross compiling for freestanding environment
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Jun 25 04:38:52 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=46330
Alex Bereza <alex.bereza at huawei.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #1 from Alex Bereza <alex.bereza at huawei.com> ---
I tried the lastest master build and the issue appears to have been solved. I
think this bug might be a duplicate of 45693, although I'm not 100% sure,
because I did not install clang to /usr/bin.
The issue appears to be very similar in that clang was unable to determin the
correct linker to use and tried to link for X86 instead of ARM using the native
host toolchain.
The other issue didn't have the problem regarding -T command line option being
ignored, but this problem also disappeared with latest build from master
(including d6efc9811646edbfe13f06c2676fb469f1c155b1, which fixed the other
issue).
Everything seems to be working now.
Thanks.
*** This bug has been marked as a duplicate of bug 45693 ***
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200625/59ff911c/attachment.html>
More information about the llvm-bugs
mailing list