vishapoberon / compiler

vishap oberon compiler
http://oberon.vishap.am
GNU General Public License v3.0
186 stars 25 forks source link

stabs debug format is not supported at least on one aarch64 platform. #84

Open norayr opened 4 years ago

norayr commented 4 years ago
--- Confidence test hello ---
hello.mod  Compiling hello.  Main program.  388 chars.
cc1: error: target system does not support the ‘stabs’ debug format
C compile and link: gcc -fPIC -g -I "/home/inky/voc/install/2/include" -gstabs -g1 -Wa,-acdhln=new.asm -Wl,-Map=output.map hello.c  -o hello -L"/home/inky/voc/install/lib" -lvoc-O2
-- failed: status 0, exitcode 1.
Terminated by Halt(1). 
./test.sh: line 4: ./hello: No such file or directory
1d0
< Hello.
FAILED: /home/inky/voc/src/test/confidence/hello

make[1]: *** [src/tools/make/oberon.mk:403: confidence] Error 1
make: *** [makefile:153: full] Error 2

of course i bypassed this by removing "-gstabs" option from src/test/confidence/testenv.sh file, still I am not sure how to deal with this.

MarcusE1W commented 3 years ago

Same here. PinebookPro with Armbian

--- Confidence test hello ---
hello.mod  Compiling hello.  Main program.  388 chars.
cc1: error: target system does not support the ‘stabs’ debug format
C compile and link: gcc -fPIC -g -I "/home/mmw/.local/voc/install/2/include" -gstabs -g1 -Wa,-acdhln=new.asm -Wl,-Map=output.map hello.c  -o hello -L"/home/mmw/.local/voc/install/lib" -lvoc-O2
-- failed: status 0, exitcode 1.
Terminated by Halt(1). 
./test.sh: 4: ./hello: not found
1d0
< Hello.
FAILED: /home/mmw/.local/voc/src/test/confidence/hello

make[1]: *** [src/tools/make/oberon.mk:403: confidence] Error 1
make: *** [makefile:153: full] Error 2
MarcusE1W commented 3 years ago

Update: with export CC=clang all tests passed.