tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] I got a compile error on the lastest git snapshot


From: Li Hong
Subject: Re: [Tinycc-devel] I got a compile error on the lastest git snapshot
Date: Thu, 3 Sep 2009 16:04:54 +0800

2009/9/3 Bernhard Reutner-Fischer <address@hidden>:
> On Thu, Sep 03, 2009 at 10:28:24AM +0800, Li Hong wrote:
>>Hi All,
>>
>>I got a compile error on the lastest git snapshot today. The log as follows:
>
>>gcc -o tcc tcc.c -DTCC_TARGET_X86_64 -O2 -g -Wall -fno-strict-aliasing
>>-Wno-pointer-sign -Wno-sign-compare -D_FORTIFY_SOURCE=0 -lm -ldl
>>libtcc.c: In function 'tcc_add_file_internal':
>>libtcc.c:1996: internal compiler error: in extract_range_from_assert,
>>at tree-vrp.c:1128
>>Please submit a full bug report,
>>with preprocessed source if appropriate.
>>See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.
>>make: *** [tcc] Error 1
>
> Works fine with gcc trunk (and e.g. 4.2 for that matter).
> try CFLAGS="-Os -fno-tree-vrp" ./configure
>

Thanks, compiled it successfully. It seems a bug in gcc.

> HTH,
>>
>>
>>My environment:
>>$uname -a
>>Linux uhli 2.6.28-14-generic #47-Ubuntu SMP Sat Jul 25 01:19:55 UTC
>>2009 x86_64 GNU/Linux
>>
>>$gcc -v
>>Using built-in specs.
>>Target: x86_64-linux-gnu
>>Configured with: ../src/configure -v --with-pkgversion='Ubuntu
>>4.3.3-5ubuntu4'
>>--with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
>>--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
>>--enable-shared --with-system-zlib --libexecdir=/usr/lib
>>--without-included-gettext --enable-threads=posix --enable-nls
>>--with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3
>>--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
>>--enable-mpfr --with-tune=generic --enable-checking=release
>>--build=x86_64-linux-gnu --host=x86_64-linux-gnu
>>--target=x86_64-linux-gnu
>>Thread model: posix
>>gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4)
>>
>>
>>Regards,
>>-HL
>>
>>
>>_______________________________________________
>>Tinycc-devel mailing list
>>address@hidden
>>http://lists.nongnu.org/mailman/listinfo/tinycc-devel
>
>
> _______________________________________________
> Tinycc-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/tinycc-devel
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]