Open ha2san opened 2 years ago
one of the errors seems for example to come from this line:
.type stdout@GLIBC_2.2.5_b220,@object
Hi ha2san! I have met the same problem as you on aarch64 and gcc 9.4.0. I solved the problem with delete all the @GLIBC_***
in the .s files. Here's the command: sed -i 's/@GLIBC_2.17//g' $AS_FILE.s
.
Hope this helps :)
When I try to compile the assembled code I get this error
Steps To Reproduce:
Source code can be found at https://github.com/Usbac/quich, I added -pie to the CFLAGS to make sure that the binary is compiled as position independent code (PIE). Adding or removing the -g flags does not change anything.
Environment:
OS: 5.14.21-2-MANJARO x86_64 GNU/Linux GCC: gcc (GCC) 11.2.0 retrowrite at commit: 117dad525114bca695317e14affffd4e3de13cce