Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: clang/llvm on aarch64



I don't think it happens in Linux, I built llvm, clang and Firefox on
an aarch64 Odroid N2.  So if it's llvm it depends on the OS, could be
something inside an ifdef somewhere.  This was llvm/clang 8.0.1.

On 8/27/19, Robert Swindells <rjs%fdy2.co.uk@localhost> wrote:
>
> I wrote:
>>It looks like clang++ on aarch64 is broken too, but in a different way.
>>
>>Static constructors don't get called. I do have a small test application
>>that demonstrates this.
>
> This looks to be caused by clang/llvm putting the references to the
> constructor in the .ctors section instead of the .init_array section as
> required by the ABI.
>
> There is code in clang to select this and a web search turns up some
> patches from 2014 to enable it for all AARCH64 ELF platforms but the
> source tree seems to have changed a lot since then.
>
> Does anyone have an account for the llvm bug system to be able to raise
> this upstream ?
>


-- 
-------------
No, I won't  call it "climate change", do you have a "reality problem"? - AB1JX
Cities are cages built to contain excess people and keep them from
cluttering up nature.
Impeach  Impeach  Impeach  Impeach  Impeach  Impeach  Impeach  Impeach


Home | Main Index | Thread Index | Old Index