[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] out of the box configuration on x86_64 ubuntu still b
From: |
arnold |
Subject: |
Re: [Tinycc-devel] out of the box configuration on x86_64 ubuntu still broken |
Date: |
Mon, 23 Mar 2015 01:19:18 -0600 |
User-agent: |
Heirloom mailx 12.4 7/29/08 |
Hi.
> Sergey Korshunoff <address@hidden> wrote:
>
> > I tested it on debian 7 x86_64 and all was OK. What the output of the
> > "uname -m" ?
> > There was many messages about building a i386 compiler. But no one
> > tell me the output of the "uname -m" on that systems.
address@hidden wrote:
> Thanks for letting me know what you need to know.
>
> This is interesting. My Ubuntu 12.04 box at home:
>
> $ uname -m
> x86_64
>
> And indeed, tcc builds fine here. I will get the info from my
> work 14.04 box later today for you.
On my Ubuntu-Mate 14.04 box at work, current mob:
$ uname -m
x86_64
address@hidden:~/Repos/tinycc$ ./configure --prefix=/tmp/tcc
Binary directory /tmp/tcc/bin
TinyCC directory /tmp/tcc/lib/tcc
Library directory /tmp/tcc/lib
Include directory /tmp/tcc/include
Manual directory /tmp/tcc/share/man
Info directory /tmp/tcc/share/info
Doc directory /tmp/tcc/share/doc//tmp/tcc/lib/tcc
Target root prefix
Source path /home/arobbins/Repos/tinycc
C compiler gcc
cross compilers no
Target CPU x86
Host OS Linux
Target OS Linux
Big Endian no
gprof enabled no
use libgcc no
Creating config.mak and config.h
config.h is unchanged
That wasn't helpful. Sigh.
$ uname -a
Linux arobbins-ubuntu 3.13.0-46-generic #79-Ubuntu SMP Tue Mar 10 20:06:50 UTC
2015 x86_64 x86_64 x86_64 GNU/Linux
Here is the result of running sh -x configure. Thanks - Arnold
$ sh -x ./configure --prefix=/tmp/tcc 2>&1 | tee configure.out
+ TMPN=./conftest-18474
+ TMPH=./conftest-18474.h
+ build_cross=no
+ use_libgcc=no
+ enable_assert=no
+ prefix=
+ execprefix=
+ bindir=
+ libdir=
+ tccdir=
+ includedir=
+ mandir=
+ infodir=
+ sysroot=
+ cross_prefix=
+ cc=gcc
+ host_cc=gcc
+ ar=ar
+ strip=strip
+ cygwin=no
+ gprof=no
+ bigendian=no
+ mingw32=no
+ LIBSUF=.a
+ EXESUF=
+ tcc_sysincludepaths=
+ tcc_libpaths=
+ tcc_crtprefix=
+ tcc_elfinterp=
+ tcc_lddir=
+ confvars=
+ cpu=
+ host_os=Linux
+ uname -s
+ targetos=Linux
+ source_path=./
+ source_path=.
+ source_path_used=yes
+ test -z . -o . = .
+ pwd
+ source_path=/home/arobbins/Repos/tinycc
+ source_path_used=no
+ eval opt="--prefix=/tmp/tcc"
+ opt=--prefix=/tmp/tcc
+ echo --prefix=/tmp/tcc
+ cut -d = -f 2
+ prefix=/tmp/tcc
+ test -z
+ test -n i386
+ cpu=i386
+ classify_cpu i386
+ cpu=i386
+ cpu=x86
+ test -z
+ CFLAGS=-Wall -g -O2
+ test no = yes
+ test -z /tmp/tcc
+ test -z
+ sharedir=/tmp/tcc/share
+ test x = x
+ execprefix=/tmp/tcc
+ test x = x
+ tccdir=tcc
+ test x = x
+ libdir=/tmp/tcc/lib
+ test -n tcc
+ tccdir=/tmp/tcc/lib/tcc
+ test x86 = x86-64
+ test x = x
+ bindir=/tmp/tcc/bin
+ test x = x
+ docdir=/tmp/tcc/share/doc//tmp/tcc/lib/tcc
+ test x = x
+ mandir=/tmp/tcc/share/man
+ test x = x
+ infodir=/tmp/tcc/share/info
+ test x = x
+ includedir=/tmp/tcc/include
+ test x = xyes
+ test gcc != tcc
+ ar=ar
+ cc=gcc
+ strip=strip
+ CONFTEST=./conftest
+ test -z
+ gcc -o ./conftest /home/arobbins/Repos/tinycc/conftest.c
+ ./conftest bigendian
+ bigendian=no
+ ./conftest version
+ gcc_major=4
+ ./conftest minor
+ gcc_minor=8
+ test no = no
+ ./conftest triplet
+ triplet=x86_64-linux-gnu
+ test -f /usr/lib/x86_64-linux-gnu/crti.o
+ tcc_lddir=lib
+ multiarch_triplet=x86_64-linux-gnu
+ test x86 = armv4l
+ test -f /lib/ld-uClibc.so.0
+ W_OPTIONS=deprecated-declarations strict-aliasing pointer-sign sign-compare
unused-result uninitialized
+ gcc -v --help
+ grep -- -Wdeprecated-declarations
+ O_PRESENT= -Wdeprecated-declarations Warn about uses of
__attribute__((deprecated))
+ test -n -Wdeprecated-declarations Warn about uses of
__attribute__((deprecated))
+ CFLAGS=-Wall -g -O2 -Wno-deprecated-declarations
+ gcc -v --help
+ grep -- -Wstrict-aliasing
+ O_PRESENT= -Wstrict-aliasing= Warn about code which might break
strict aliasing
-Wstrict-aliasing Warn about code which might break strict aliasing
+ test -n -Wstrict-aliasing= Warn about code which might break
strict aliasing
-Wstrict-aliasing Warn about code which might break strict aliasing
+ CFLAGS=-Wall -g -O2 -Wno-deprecated-declarations -Wno-strict-aliasing
+ gcc -v --help
+ grep -- -Wpointer-sign
+ O_PRESENT= -Wpointer-sign Warn when a pointer differs in
signedness in an
+ test -n -Wpointer-sign Warn when a pointer differs in
signedness in an
+ CFLAGS=-Wall -g -O2 -Wno-deprecated-declarations -Wno-strict-aliasing
-Wno-pointer-sign
+ gcc -v --help
+ grep -- -Wsign-compare
+ O_PRESENT= -Wsign-compare Warn about signed-unsigned comparisons
+ test -n -Wsign-compare Warn about signed-unsigned comparisons
+ CFLAGS=-Wall -g -O2 -Wno-deprecated-declarations -Wno-strict-aliasing
-Wno-pointer-sign -Wno-sign-compare
+ gcc -v --help
+ grep -- -Wunused-result
+ O_PRESENT= -Wunused-result Warn if a caller of a function,
marked with
+ test -n -Wunused-result Warn if a caller of a function, marked
with
+ CFLAGS=-Wall -g -O2 -Wno-deprecated-declarations -Wno-strict-aliasing
-Wno-pointer-sign -Wno-sign-compare -Wno-unused-result
+ gcc -v --help
+ grep -- -Wuninitialized
+ O_PRESENT= -Wuninitialized Warn about uninitialized automatic
variables
+ test -n -Wuninitialized Warn about uninitialized automatic
variables
+ CFLAGS=-Wall -g -O2 -Wno-deprecated-declarations -Wno-strict-aliasing
-Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -Wno-uninitialized
+ F_OPTIONS=strict-aliasing
+ + gcc -vgrep -- -fstrict-aliasing
--help
+ O_PRESENT= -fstrict-aliasing Assume strict aliasing rules apply
+ test -n -fstrict-aliasing Assume strict aliasing rules apply
+ CFLAGS=-Wall -g -O2 -Wno-deprecated-declarations -Wno-strict-aliasing
-Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -Wno-uninitialized
-fno-strict-aliasing
+ test -z lib -a x86 = x86-64
+ echo Binary directory /tmp/tcc/bin
Binary directory /tmp/tcc/bin
+ echo TinyCC directory /tmp/tcc/lib/tcc
TinyCC directory /tmp/tcc/lib/tcc
+ echo Library directory /tmp/tcc/lib
Library directory /tmp/tcc/lib
+ echo Include directory /tmp/tcc/include
Include directory /tmp/tcc/include
+ echo Manual directory /tmp/tcc/share/man
Manual directory /tmp/tcc/share/man
+ echo Info directory /tmp/tcc/share/info
Info directory /tmp/tcc/share/info
+ echo Doc directory /tmp/tcc/share/doc//tmp/tcc/lib/tcc
Doc directory /tmp/tcc/share/doc//tmp/tcc/lib/tcc
+ echo Target root prefix
Target root prefix
+ echo Source path /home/arobbins/Repos/tinycc
Source path /home/arobbins/Repos/tinycc
+ echo C compiler gcc
C compiler gcc
+ echo cross compilers no
cross compilers no
+ test no = no
+ echo Target CPU x86
Target CPU x86
+ echo Host OS Linux
Host OS Linux
+ echo Target OS Linux
Target OS Linux
+ echo Big Endian no
Big Endian no
+ echo gprof enabled no
gprof enabled no
+ echo use libgcc no
use libgcc no
+ echo Creating config.mak and config.h
Creating config.mak and config.h
+ cat
+ test no = yes
+ echo /* Automatically generated by configure - do not modify */
+ print_inc CONFIG_SYSROOT
+ test -n
+ print_inc CONFIG_TCCDIR /tmp/tcc/lib/tcc
+ test -n /tmp/tcc/lib/tcc
+ echo #ifndef CONFIG_TCCDIR
+ echo # define CONFIG_TCCDIR "/tmp/tcc/lib/tcc"
+ echo #endif
+ test no = no
+ print_inc CONFIG_LDDIR lib
+ test -n lib
+ echo #ifndef CONFIG_LDDIR
+ echo # define CONFIG_LDDIR "lib"
+ echo #endif
+ print_mak CONFIG_TCC_SYSINCLUDEPATHS
+ test -n
+ print_mak CONFIG_TCC_LIBPATHS
+ test -n
+ print_mak CONFIG_TCC_CRTPREFIX
+ test -n
+ print_mak CONFIG_TCC_ELFINTERP
+ test -n
+ print_mak CONFIG_MULTIARCHDIR x86_64-linux-gnu
+ test -n x86_64-linux-gnu
+ echo NATIVE_DEFINES+=-DCONFIG_MULTIARCHDIR="\"x86_64-linux-gnu\""
+ echo #define GCC_MAJOR 4
+ echo #define GCC_MINOR 8
+ test x86 = x86
+ echo ARCH=i386
+ echo TARGETOS=Linux
+ test = yes
+ test no = yes
+ test no = yes
+ test no = yes
+ test no = yes
+ test no = yes
+ test = yes
+ test = yes
+ test = yes
+ test no = yes
+ test = yes
+ test no = yes
+ head /home/arobbins/Repos/tinycc/VERSION
+ version=0.9.26
+ echo VERSION=0.9.26
+ echo #define TCC_VERSION "0.9.26"
+ echo @set VERSION 0.9.26
+ echo SRC_PATH=/home/arobbins/Repos/tinycc
+ test no = yes
+ echo top_srcdir=$(TOP)
+ echo top_builddir=$(TOP)
+ diff ./conftest-18474.h config.h
+ test 2 -ne 0
+ mv -f ./conftest-18474.h config.h
+ rm -f ./conftest-18474* ./conftest
+ test no = yes
- [Tinycc-devel] out of the box configuration on x86_64 ubuntu still broken, arnold, 2015/03/22
- Re: [Tinycc-devel] out of the box configuration on x86_64 ubuntu still broken, Sergey Korshunoff, 2015/03/22
- Re: [Tinycc-devel] out of the box configuration on x86_64 ubuntu still broken, arnold, 2015/03/22
- Re: [Tinycc-devel] out of the box configuration on x86_64 ubuntu still broken, Sergey Korshunoff, 2015/03/22
- Re: [Tinycc-devel] out of the box configuration on x86_64 ubuntu still broken, Austin English, 2015/03/22
- Re: [Tinycc-devel] out of the box configuration on x86_64 ubuntu still broken, arnold, 2015/03/23
- Re: [Tinycc-devel] out of the box configuration on x86_64 ubuntu still broken,
arnold <=
- Re: [Tinycc-devel] out of the box configuration on x86_64 ubuntu still broken, Edmund Grimley Evans, 2015/03/23
- Re: [Tinycc-devel] out of the box configuration on x86_64 ubuntu still broken, arnold, 2015/03/23