Hi,

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 
-D                                                                  
TCC_TARGET_ARM64        -DONE_SOURCE=0 -Wall -O2 -Wdeclaration-after-statement 
-                                                                  
fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result 
-Wno-                                                                  
format-truncation -I.
gcc -o arm-asm.o -c arm-asm.c -DCONFIG_LDDIR="\"lib64\"" -DHAVE_SELINUX 
-DTCC_TA                                                                  
RGET_ARM64        -DONE_SOURCE=0 -Wall -O2 -Wdeclaration-after-statement 
-fno-st                                                                  
rict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result 
-Wno-format                                                                  
-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 
‘ARM_INSTRUCTION_GRO                                                            
      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).


_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to