tech-toolchain archive

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

Re: Bad g++ constructors on aarch64



On Sun, Aug 25, 2019 at 06:27:45PM +0100, Robert Swindells wrote:
> 
> Following up on this a bit.
> 
> 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.
> 
> Have also tried all combinations of gcc, clang, GNU ld and LLVM lld to
> try to build openjdk8. The common factor seems to be the compiler not
> the linker.
> 
> All combinations work fine on x86_64.
> 

There is some work done at the moment on GNU binutils, for gas and ld
for aarch64. So you should probably wait a little till the next release
to see if this is solved upstream (for binutils).
-- 
        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
                     http://www.kergis.com/
                       http://www.sbfa.fr/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C


Home | Main Index | Thread Index | Old Index