|
From: | Christian Jullien |
Subject: | [Tinycc-devel] one tcc test fails on Linux Alpine (musl) |
Date: | Sun, 24 Jan 2021 18:42:45 +0100 |
Hi All, It has been long since my last try on Alpine musl. It works not too bad but one test fails: uname -a Linux gcc301 5.4.43-1-virt #2-Alpine SMP Thu, 28 May 2020 20:13:48 UTC x86_64 Linux gcc301:~/tinycc$ ./configure --config-musl Binary directory /usr/local/bin TinyCC directory /usr/local/lib/tcc Library directory /usr/local/lib Include directory /usr/local/include Manual directory /usr/local/share/man Info directory /usr/local/share/info Doc directory /usr/local/share/doc Source path /home/jullien/tinycc C compiler gcc (9.3) Target OS Linux CPU x86_64 Config musl Creating config.mak and config.h config.h is unchanged gcc301:~/tinycc$ rm *.o lib/*.o *.a gcc301:~/tinycc$ make gcc -o tcc.o -c tcc.c -DTCC_TARGET_X86_64 -DTCC_MUSL -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 libtcc.o -c libtcc.c -DTCC_TARGET_X86_64 -DTCC_MUSL -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 tccpp.o -c tccpp.c -DTCC_TARGET_X86_64 -DTCC_MUSL -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 tccgen.o -c tccgen.c -DTCC_TARGET_X86_64 -DTCC_MUSL -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 tccelf.o -c tccelf.c -DTCC_TARGET_X86_64 -DTCC_MUSL -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 tccasm.o -c tccasm.c -DTCC_TARGET_X86_64 -DTCC_MUSL -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 tccrun.o -c tccrun.c -DTCC_TARGET_X86_64 -DTCC_MUSL -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 x86_64-gen.o -c x86_64-gen.c -DTCC_TARGET_X86_64 -DTCC_MUSL -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 x86_64-link.o -c x86_64-link.c -DTCC_TARGET_X86_64 -DTCC_MUSL -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 i386-asm.o -c i386-asm.c -DTCC_TARGET_X86_64 -DTCC_MUSL -DONE_SOURCE=0 -Wall -O2 -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -Wno-format-truncation -I. ar rcs libtcc.a libtcc.o tccpp.o tccgen.o tccelf.o tccasm.o tccrun.o x86_64-gen.o x86_64-link.o i386-asm.o gcc -o tcc tcc.o libtcc.a -lm -lpthread -ldl -s make[1]: Entering directory '/home/jullien/tinycc/lib' ../tcc -c libtcc1.c -o libtcc1.o -B.. -I.. ../tcc -c alloca86_64.S -o alloca86_64.o -B.. -I.. ../tcc -c alloca86_64-bt.S -o alloca86_64-bt.o -B.. -I.. ../tcc -c va_list.c -o va_list.o -B.. -I.. ../tcc -c dsohandle.c -o dsohandle.o -B.. -I.. ../tcc -ar rcs ../libtcc1.a libtcc1.o alloca86_64.o alloca86_64-bt.o va_list.o dsohandle.o ../tcc -c bt-exe.c -o ../bt-exe.o -B.. -I.. ../tcc -c bt-log.c -o ../bt-log.o -B.. -I.. ../tcc -c bcheck.c -o ../bcheck.o -B.. -I.. -g -DTCC_MUSL ../tcc -c tcov.c -o ../tcov.o -B.. -I.. make[1]: Leaving directory '/home/jullien/tinycc/lib' perl ./texi2pod.pl tcc-doc.texi tcc-doc.pod pod2man --section=1 --center="Tiny C Compiler" --release="0.9.27" tcc-doc.pod >tcc.1 && rm -f tcc-doc.pod gcc301:~/tinycc$ make test … works well until test 114 … Test: 114_bound_signal... Segmentation fault --- 114_bound_signal.expect +++ 114_bound_signal.output @@ -1,2 +0,0 @@ -start -end make[3]: *** [Makefile:127: 114_bound_signal.test] Error 1 Test: 115_bound_setjmp... Test: 116_bound_setjmp2... Test: 117_builtins... Test: 118_switch... Test: 119_random_stuff... Test: 120_alias... Test: 121_struct_return... Test: 122_vla_reuse... make[3]: Target 'all' not remade because of errors. make[2]: *** [Makefile:105: tests2-dir] Error 2 make[1]: *** [Makefile:83: all] Error 2 make[1]: Leaving directory '/home/jullien/tinycc/tests' make: *** [Makefile:419: test] Error 2 |
[Prev in Thread] | Current Thread | [Next in Thread] |