tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] arm-asm breaks aarch64 (as with Fedora 33 on RPi)


From: Christian Jullien
Subject: Re: [Tinycc-devel] arm-asm breaks aarch64 (as with Fedora 33 on RPi)
Date: Sun, 3 Jan 2021 16:07:28 +0100

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:dannym@scratchpost.org] 
Sent: Sunday, January 03, 2021 15:54
To: Christian Jullien
Cc: jullien@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" <eligis@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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]