[llvm-dev] Linker problem

René W. Olsen via llvm-dev llvm-dev at lists.llvm.org
Thu Apr 22 22:55:26 PDT 2021


in llvm/lib/Support/Triple.cpp

I had not added " .StartsWith( "amigaos4", Tiple::AmigaOS4 ) " too the
OSType

Regards
René

Den fre. 23. apr. 2021 kl. 04.30 skrev pawel k. <pawel.kunio at gmail.com>:

> What was the issue?
>
> pt., 23.04.2021, 02:49 użytkownik René W. Olsen via llvm-dev <
> llvm-dev at lists.llvm.org> napisał:
>
>> if course I found the error a few hours after I send the email..
>>
>> Den tor. 22. apr. 2021 kl. 20.53 skrev René W. Olsen <
>> renewolsen at gmail.com>:
>>
>>> Hello
>>>
>>> In short... I'm trying to add support for a custom powerpc elf system
>>>
>>> I'm running code on a x86 Debian system. So its cross compiling.
>>>
>>> clang -v  (shows)
>>>
>>> clang version 11.1.0 (https://github.com/llvm/llvm-project.git
>>> 1fdec59bffc11ae37eb51a1b9869f0696bfd5312)
>>> Target: ppc-pc-amigaos4
>>> Thread model: posix
>>> InstalledDir: /home/vm/llvm-project/bin/.
>>>
>>> clang tst.c -S  (do produce a powerpc asm source)
>>>
>>> clang tst.c ( do not work, linking problem )
>>>
>>> clang -v ( see attach )
>>>
>>> Any suggestions on where I fucked up?
>>>
>>> Regards
>>> René W. Olsen
>>>
>>> --
>>> “The best thing about a boolean is even if you are wrong, you are only
>>> off by a bit.”
>>>
>>>
>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virusfri.
>>> www.avast.com
>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>>> <#m_-421837416170942708_m_7507518630635276748_m_8806869465007855616_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>
>>
>>
>> --
>> “The best thing about a boolean is even if you are wrong, you are only
>> off by a bit.”
>> _______________________________________________
>> LLVM Developers mailing list
>> llvm-dev at lists.llvm.org
>> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>>
>

-- 
“The best thing about a boolean is even if you are wrong, you are only off
by a bit.”
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210423/c6273f6e/attachment.html>


More information about the llvm-dev mailing list