This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Interesting build failure on trunk
On Tuesday 30 January 2007 18:43:52 Ian Lance Taylor wrote:
> Ismail DÃnmez <ismail@pardus.org.tr> writes:
> > I am getting this when I try to compile gcc trunk:
> >
> > ../../libcpp/../include -I../../libcpp/include -march=i686 -O2 -pipe
> > -fomit-frame-pointer -U_FORTIFY_SOURCE -fprofile-use -W -Wall
> > -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> > -Wold-style-definition -Wmissing-format-attribute -pedantic
> > -Wno-long-long -Werror -I../../libcpp -I. -I../../libcpp/../include
> > -I../../libcpp/include -c -o files.o -MT files.o -MMD -MP -MF
> > .deps/files.Po ../../libcpp/files.c ../../libcpp/files.c: In function
> > 'read_name_map':
> > ../../libcpp/files.c:1238: internal compiler error: Floating point
> > exception Please submit a full bug report,
> > with preprocessed source if appropriate.
> > See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>
> libcpp/files.c:1238 seems to be a call to memcpy. I don't see
> anyplace a floating point exception might come from. I've certainly
> never seen anything like that.
FWIW I configure like this:
../configure --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--disable-libssp --disable-nls --enable-ssp --enable-libstdcxx-allocator=new --enable-version-specific-runtime-libs
--without-included-gettext --with-system-zlib --prefix=/usr/share/gcc-snapshot --enable-languages=c,c++
And make with :
make STAGE1_CFLAGS="-O"
BOOT_CFLAGS="-march=i686 -O2 -pipe -fomit-frame-pointer -U_FORTIFY_SOURCE"
profiledbootstrap
Regards,
ismail