Hello,

I confirm it is fixed except, probably not related to you commits, on
Aarch64 Linux using clang, I get:

./configure --strip-binaries --with-selinux --cc=clang
--prefix=/home/jullien/tinycc/static
------------ dlltest with PIC ------------
tcc: error: Unknown relocation type for got: 285
gmake[2]: *** [Makefile:166: dlltest] Error 1

Perhaps Herman has an idea on how to fix it? 

C.

-----Original Message-----
From: Danny Milosavljevic [mailto:dan...@scratchpost.org] 
Sent: Sunday, January 03, 2021 15:54
To: Christian Jullien
Cc: jull...@eligis.com; tinycc-devel@nongnu.org
Subject: Re: [Tinycc-devel] arm-asm breaks aarch64 (as with Fedora 33 on
RPi)

Hi,

On Sun, 3 Jan 2021 08:47:38 +0100
"Christian Jullien" <eli...@orange.fr> wrote:

> Danny huge commit for arm code breaks aarch64 (as with Fedora 33 on RPi):
> On this 64bit system, it tries to compile arm-asm:
[...]
> arm-asm is only valid for arm (32bit) not for arm64 (alias aarch64).

In fact, on aarch64 you can switch between arm, arm64, thumb and jazelle
machine code at runtime just fine.

That said, for now, I fixed the compilation error by just splitting off the
arm64-asm code from the arm-asm code.

Should be fixed now.  Please test.


_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to