This commit:

0a624782dfc8fee6f0600066b135d3b20e4274f4

causes "make test" to fail on my 64-bit Linux (ubuntu 16.04). Any idea of
what's going on? Below is the output of "make" followed by "make test".

David

$ make
gcc -o tcc.o -c tcc.c -DCONFIG_MULTIARCHDIR="\"x86_64-linux-gnu\""
-DTCC_TARGET_X86_64 -Wall -g -O0 -Wdeclaration-after-statement
-Wno-deprecated-declarations -Wno-strict-aliasing -Wno-pointer-sign
-Wno-sign-compare -Wno-unused-result -Wno-uninitialized
-fno-strict-aliasing -I.
gcc -o libtcc.o -c libtcc.c -DCONFIG_MULTIARCHDIR="\"x86_64-linux-gnu\""
-DTCC_TARGET_X86_64 -Wall -g -O0 -Wdeclaration-after-statement
-Wno-deprecated-declarations -Wno-strict-aliasing -Wno-pointer-sign
-Wno-sign-compare -Wno-unused-result -Wno-uninitialized
-fno-strict-aliasing -I.
gcc -o tccpp.o -c tccpp.c -DCONFIG_MULTIARCHDIR="\"x86_64-linux-gnu\""
-DTCC_TARGET_X86_64 -Wall -g -O0 -Wdeclaration-after-statement
-Wno-deprecated-declarations -Wno-strict-aliasing -Wno-pointer-sign
-Wno-sign-compare -Wno-unused-result -Wno-uninitialized
-fno-strict-aliasing -I.
gcc -o tccgen.o -c tccgen.c -DCONFIG_MULTIARCHDIR="\"x86_64-linux-gnu\""
-DTCC_TARGET_X86_64 -Wall -g -O0 -Wdeclaration-after-statement
-Wno-deprecated-declarations -Wno-strict-aliasing -Wno-pointer-sign
-Wno-sign-compare -Wno-unused-result -Wno-uninitialized
-fno-strict-aliasing -I.
gcc -o tccelf.o -c tccelf.c -DCONFIG_MULTIARCHDIR="\"x86_64-linux-gnu\""
-DTCC_TARGET_X86_64 -Wall -g -O0 -Wdeclaration-after-statement
-Wno-deprecated-declarations -Wno-strict-aliasing -Wno-pointer-sign
-Wno-sign-compare -Wno-unused-result -Wno-uninitialized
-fno-strict-aliasing -I.
gcc -o tccasm.o -c tccasm.c -DCONFIG_MULTIARCHDIR="\"x86_64-linux-gnu\""
-DTCC_TARGET_X86_64 -Wall -g -O0 -Wdeclaration-after-statement
-Wno-deprecated-declarations -Wno-strict-aliasing -Wno-pointer-sign
-Wno-sign-compare -Wno-unused-result -Wno-uninitialized
-fno-strict-aliasing -I.
gcc -o tccrun.o -c tccrun.c -DCONFIG_MULTIARCHDIR="\"x86_64-linux-gnu\""
-DTCC_TARGET_X86_64 -Wall -g -O0 -Wdeclaration-after-statement
-Wno-deprecated-declarations -Wno-strict-aliasing -Wno-pointer-sign
-Wno-sign-compare -Wno-unused-result -Wno-uninitialized
-fno-strict-aliasing -I.
gcc -o x86_64-gen.o -c x86_64-gen.c
-DCONFIG_MULTIARCHDIR="\"x86_64-linux-gnu\"" -DTCC_TARGET_X86_64 -Wall -g
-O0 -Wdeclaration-after-statement -Wno-deprecated-declarations
-Wno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result
-Wno-uninitialized -fno-strict-aliasing -I.
gcc -o i386-asm.o -c i386-asm.c
-DCONFIG_MULTIARCHDIR="\"x86_64-linux-gnu\"" -DTCC_TARGET_X86_64 -Wall -g
-O0 -Wdeclaration-after-statement -Wno-deprecated-declarations
-Wno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result
-Wno-uninitialized -fno-strict-aliasing -I.
ar rcs libtcc.a libtcc.o tccpp.o tccgen.o tccelf.o tccasm.o tccrun.o
x86_64-gen.o i386-asm.o
gcc -o tcc tcc.o libtcc.a -Wall -g -O0 -Wdeclaration-after-statement
-Wno-deprecated-declarations -Wno-strict-aliasing -Wno-pointer-sign
-Wno-sign-compare -Wno-unused-result -Wno-uninitialized
-fno-strict-aliasing -I.  -lm -ldl
make -C lib native
make[1]: Entering directory '/home/dcmertens-perl/projects/tinycc/lib'
mkdir -p x86_64
gcc  -c libtcc1.c -o x86_64/libtcc1.o -Wall -g -O0
-Wdeclaration-after-statement -Wno-deprecated-declarations
-Wno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result
-Wno-uninitialized -fno-strict-aliasing -I.. -fPIC -DTCC_TARGET_X86_64
gcc  -c alloca86_64.S -o x86_64/alloca86_64.o -Wall -g -O0
-Wdeclaration-after-statement -Wno-deprecated-declarations
-Wno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result
-Wno-uninitialized -fno-strict-aliasing -I.. -fPIC -DTCC_TARGET_X86_64
gcc  -c alloca86_64-bt.S -o x86_64/alloca86_64-bt.o -Wall -g -O0
-Wdeclaration-after-statement -Wno-deprecated-declarations
-Wno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result
-Wno-uninitialized -fno-strict-aliasing -I.. -fPIC -DTCC_TARGET_X86_64
gcc  -c bcheck.c -o x86_64/bcheck.o -Wall -g -O0
-Wdeclaration-after-statement -Wno-deprecated-declarations
-Wno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result
-Wno-uninitialized -fno-strict-aliasing -I.. -fPIC -DTCC_TARGET_X86_64
ar rcs ../libtcc1.a x86_64/libtcc1.o x86_64/alloca86_64.o
x86_64/alloca86_64-bt.o x86_64/bcheck.o
make[1]: Leaving directory '/home/dcmertens-perl/projects/tinycc/lib'
makeinfo --no-split --html --number-sections -o tcc-doc.html tcc-doc.texi
make: makeinfo: Command not found
Makefile:304: recipe for target 'tcc-doc.html' failed
make: [tcc-doc.html] Error 127 (ignored)
makeinfo tcc-doc.texi
make: makeinfo: Command not found
Makefile:311: recipe for target 'tcc-doc.info' failed
make: [tcc-doc.info] Error 127 (ignored)

$ make test
make -C tests
make[1]: Entering directory '/home/dcmertens-perl/projects/tinycc/tests'
------------ hello-exe ------------
../tcc -B.. -I/include -I -I.. ../examples/ex1.c -o hello || (../tcc -vv;
exit 1) && ./hello
../examples/ex1.c:2: error: include file 'tcclib.h' not found
tcc version 0.9.26 (x86-64 Linux)
install: /usr/local/lib/tcc
include:
  /usr/local/lib/tcc/include
  /usr/local/include/x86_64-linux-gnu
  /usr/local/include
  /usr/include/x86_64-linux-gnu
  /usr/include
libraries:
  /usr/lib/x86_64-linux-gnu
  /usr/lib
  /lib/x86_64-linux-gnu
  /lib
  /usr/local/lib/x86_64-linux-gnu
  /usr/local/lib
crt:
  /usr/lib/x86_64-linux-gnu
elfinterp:
  /lib64/ld-linux-x86-64.so.2
Makefile:65: recipe for target 'hello-exe' failed
make[1]: *** [hello-exe] Error 1
make[1]: Leaving directory '/home/dcmertens-perl/projects/tinycc/tests'
Makefile:315: recipe for target 'test' failed
make: *** [test] Error 2

-- 
 "Debugging is twice as hard as writing the code in the first place.
  Therefore, if you write the code as cleverly as possible, you are,
  by definition, not smart enough to debug it." -- Brian Kernighan
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to