[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] test failure on Linux
From: |
Austin English |
Subject: |
Re: [Tinycc-devel] test failure on Linux |
Date: |
Wed, 13 Feb 2013 12:39:41 -0800 |
On Wed, Feb 13, 2013 at 11:31 AM, Thomas Preud'homme <address@hidden> wrote:
> Le mercredi 13 février 2013 16:17:42, Thomas Preud'homme a écrit :
>>
>> Ok, I can do that.
>
> See attached patch and the diffstat below:
>
> configure | 48 +++++-------------------------------------------
> print_env_info.c | 35 +++++++++++++++++++++++++++++++++++
> 2 files changed, 40 insertions(+), 43 deletions(-)
>
> I suggest we include it and then release tomorrow once people checked I didn't
> break something with my last patches.
>
> Best regards,
>
> Thomas
>
> _______________________________________________
> Tinycc-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/tinycc-devel
>
It breaks for me on 64-bit gentoo:
address@hidden ~/src/tinycc $ git reset --hard origin
HEAD is now at f9ac201 Detect multiarch triplet and lddir from ldd output
address@hidden ~/src/tinycc $ git clean -dfx
Removing config.h
Removing config.mak
Removing config.texi
Removing i386-asm.o
Removing lib/x86_64/
Removing libtcc.a
Removing libtcc.o
Removing libtcc1.a
Removing tcc
Removing tcc-doc.info
Removing tcc.1
Removing tcc.o
Removing tcc.pod
Removing tccasm.o
Removing tccelf.o
Removing tccgen.o
Removing tccpp.o
Removing tccrun.o
Removing x86_64-gen.o
address@hidden ~/src/tinycc $ ./configure
ldd: ./print_env_info: No such file or directory
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/tcc
Target root prefix
Source path /home/austin/src/tinycc
C compiler gcc
Target OS Linux
CPU x86-64
Big Endian no
gprof enabled no
cross compilers no
use libgcc no
Creating config.mak and config.h
address@hidden ~/src/tinycc $ make
gcc -o tcc.o -c tcc.c -DTCC_TARGET_X86_64 -I. -Wall -g -O2
-fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare
gcc -o libtcc.o -c libtcc.c -DTCC_TARGET_X86_64 -I. -Wall -g -O2
-fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare
libtcc.c: In function ‘tcc_new’:
libtcc.c:988:29: error: expected ‘)’ before ‘CONFIG_LDDIR’
libtcc.c:990:66: error: expected ‘)’ before ‘CONFIG_LDDIR’
libtcc.c: In function ‘tcc_compile’:
libtcc.c:728:15: warning: ignoring return value of ‘getcwd’, declared
with attribute warn_unused_result
make: *** [libtcc.o] Error 1
address@hidden ~/src/tinycc $ uname -a
Linux aw25 3.5.3-gentoo #4 SMP Wed Oct 24 21:55:24 PDT 2012 x86_64
Intel(R) Core(TM) i7 CPU 960 @ 3.20GHz GenuineIntel GNU/Linux
address@hidden ~/src/tinycc $ gcc -v
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.4/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.4/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-4.5.4/work/gcc-4.5.4/configure
--prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.4
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.4
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.4/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.4/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/include/g++-v4
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu
--disable-altivec --disable-fixed-point --without-ppl --without-cloog
--disable-lto --enable-nls --without-included-gettext
--with-system-zlib --enable-obsolete --disable-werror
--enable-secureplt --enable-multilib --enable-libmudflap
--disable-libssp --enable-libgomp
--with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.5.4/python
--enable-checking=release --disable-libgcj
--enable-languages=c,c++,fortran --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--enable-targets=all --with-bugurl=http://bugs.gentoo.org/
--with-pkgversion='Gentoo 4.5.4 p1.0, pie-0.4.7'
Thread model: posix
gcc version 4.5.4 (Gentoo 4.5.4 p1.0, pie-0.4.7)
reverting the patch fixes it:
address@hidden ~/src/tinycc $ git show | patch -p1 -R
patching file configure
patching file tcc.h
address@hidden ~/src/tinycc $ ./configure && make
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/tcc
Target root prefix
Source path /home/austin/src/tinycc
C compiler gcc
Target OS Linux
CPU x86-64
Big Endian no
gprof enabled no
cross compilers no
use libgcc no
Creating config.mak and config.h
config.h is unchanged
gcc -o tcc.o -c tcc.c -DTCC_TARGET_X86_64 -I. -Wall -g -O2
-fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare
gcc -o libtcc.o -c libtcc.c -DTCC_TARGET_X86_64 -I. -Wall -g -O2
-fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare
libtcc.c: In function ‘tcc_compile’:
libtcc.c:728:15: warning: ignoring return value of ‘getcwd’, declared
with attribute warn_unused_result
gcc -o tccpp.o -c tccpp.c -DTCC_TARGET_X86_64 -I. -Wall -g -O2
-fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare
gcc -o tccgen.o -c tccgen.c -DTCC_TARGET_X86_64 -I. -Wall -g -O2
-fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare
gcc -o tccelf.o -c tccelf.c -DTCC_TARGET_X86_64 -I. -Wall -g -O2
-fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare
tccelf.c: In function ‘tcc_load_dll’:
tccelf.c:2770:9: warning: ignoring return value of ‘read’, declared
with attribute warn_unused_result
tccelf.c: In function ‘load_data’:
tccelf.c:2343:9: warning: ignoring return value of ‘read’, declared
with attribute warn_unused_result
tccelf.c: In function ‘tcc_load_archive’:
tccelf.c:2714:9: warning: ignoring return value of ‘read’, declared
with attribute warn_unused_result
tccelf.c: In function ‘tcc_load_object_file’:
tccelf.c:2504:17: warning: ignoring return value of ‘read’, declared
with attribute warn_unused_result
tccelf.c: In function ‘elf_output_file’:
tccelf.c:2265:15: warning: ignoring return value of ‘fwrite’, declared
with attribute warn_unused_result
tccelf.c:2266:15: warning: ignoring return value of ‘fwrite’, declared
with attribute warn_unused_result
tccelf.c:2279:23: warning: ignoring return value of ‘fwrite’, declared
with attribute warn_unused_result
tccelf.c:2307:19: warning: ignoring return value of ‘fwrite’, declared
with attribute warn_unused_result
tccelf.c: In function ‘tcc_output_binary’:
tccelf.c:1451:19: warning: ignoring return value of ‘fwrite’, declared
with attribute warn_unused_result
gcc -o tccasm.o -c tccasm.c -DTCC_TARGET_X86_64 -I. -Wall -g -O2
-fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare
gcc -o tccrun.o -c tccrun.c -DTCC_TARGET_X86_64 -I. -Wall -g -O2
-fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare
gcc -o x86_64-gen.o -c x86_64-gen.c -DTCC_TARGET_X86_64 -I. -Wall -g
-O2 -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare
gcc -o i386-asm.o -c i386-asm.c -DTCC_TARGET_X86_64 -I. -Wall -g -O2
-fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare
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 -lm -ldl -I. -Wall -g -O2
-fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare
make -C lib native
make[1]: Entering directory `/home/austin/src/tinycc/lib'
mkdir -p x86_64
gcc -c libtcc1.c -o x86_64/libtcc1.o -Wall -g -O2 -DTCC_TARGET_X86_64
gcc -c alloca86_64.S -o x86_64/alloca86_64.o -Wall -g -O2 -DTCC_TARGET_X86_64
ar rcs ../libtcc1.a x86_64/libtcc1.o x86_64/alloca86_64.o
make[1]: Leaving directory `/home/austin/src/tinycc/lib'
./texi2pod.pl tcc-doc.texi tcc.pod
pod2man --section=1 --center=" " --release=" " tcc.pod > tcc.1
texi2html -monolithic -number tcc-doc.texi
make: execvp: texi2html: Permission denied
make: [tcc-doc.html] Error 127 (ignored)
makeinfo tcc-doc.texi
--
-Austin
- Re: [Tinycc-devel] test failure on Linux, (continued)
- [Tinycc-devel] RE :Re: test failure on Linux, Christian JULLIEN, 2013/02/14
- Re: [Tinycc-devel] test failure on Linux, Thomas Preud'homme, 2013/02/14
- [Tinycc-devel] RE :Re: test failure on Linux, Christian JULLIEN, 2013/02/14
- Re: [Tinycc-devel] test failure on Linux, Thomas Preud'homme, 2013/02/14
- Re: [Tinycc-devel] test failure on Linux, Thomas Preud'homme, 2013/02/14
- Re: [Tinycc-devel] test failure on Linux, Thomas Preud'homme, 2013/02/14
- [Tinycc-devel] RE :Re: test failure on Linux, Christian JULLIEN, 2013/02/15
- [Tinycc-devel] INFO: no issue with last commits on WIN32, WIN64 and Rpi ARM, Christian JULLIEN, 2013/02/14
- Re: [Tinycc-devel] test failure on Linux,
Austin English <=
- Re: [Tinycc-devel] test failure on Linux, Thomas Preud'homme, 2013/02/13
- Re: [Tinycc-devel] test failure on Linux, Ramsay Jones, 2013/02/13