[Top][All Lists]

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

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

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


Danny huge commit for arm code breaks aarch64 (as with Fedora 33 on RPi):
On this 64bit system, it tries to compile arm-asm:
gcc -o arm64-link.o -c arm64-link.c -DCONFIG_LDDIR="\"lib64\"" -DHAVE_SELINUX 
TCC_TARGET_ARM64        -DONE_SOURCE=0 -Wall -O2 -Wdeclaration-after-statement 
fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result 
format-truncation -I.
gcc -o arm-asm.o -c arm-asm.c -DCONFIG_LDDIR="\"lib64\"" -DHAVE_SELINUX 
RGET_ARM64        -DONE_SOURCE=0 -Wall -O2 -Wdeclaration-after-statement 
rict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result 
-truncation -I.
arm-asm.c: In function ‘condition_code_of_token’:
arm-asm.c:157:17: error: ‘TOK_ASM_nopeq’ undeclared (first use in this 
function)                                                                  ; 
did you mean ‘TOK_ASM_pop’?
  157 |     if (token < TOK_ASM_nopeq) {
      |                 ^~~~~~~~~~~~~
      |                 TOK_ASM_pop
arm-asm.c:157:17: note: each undeclared identifier is reported only once for 
eac                                                                  h function 
it appears in
arm-asm.c: In function ‘asm_nullary_opcode’:
arm-asm.c:170:13: warning: implicit declaration of function 
      UP’ [-Wimplicit-function-declaration]
  170 |     switch (ARM_INSTRUCTION_GROUP(token)) {
      |             ^~~~~~~~~~~~~~~~~~~~~

... and many other errors

arm-asm is only valid for arm (32bit) not for arm64 (alias aarch64).

reply via email to

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