Errors in building gcc-4.4.3

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

 



Dear developer,

Hope this email finds you well. I'm trying to compile a native gcc (called
it turtle-gcc for communication) from source using a cross-compiler gcc.
Then I met the error:

In file included from ../../../gcc-4.4.3/libgcc/../gcc/libgcc2.c:61:

../../../gcc-4.4.3/libgcc/../gcc/libgcc2.h:164: error: unable to emulate
‘XF’

../../../gcc-4.4.3/libgcc/../gcc/libgcc2.h:165: error: unable to emulate
‘XC’

../../../gcc-4.4.3/libgcc/../gcc/libgcc2.h:397: warning: conflicting types
for built-in function ‘__divxc3’

../../../gcc-4.4.3/libgcc/../gcc/libgcc2.h:398: warning: conflicting types
for built-in function ‘__mulxc3’

make[2]: *** [Makefile:359: _muldi3.o] Error 1

make[2]: Leaving directory
'/home/lind/lind_project/tests/applications/gcc-4.4.3_build/x86_64-nacl-linux/libgcc'

make[1]: *** [Makefile:11488: all-target-libgcc] Error 2

make[1]: Leaving directory
'/home/lind/lind_project/tests/applications/gcc-4.4.3_build'

make: *** [Makefile:741: all] Error 2

Here is the configuration file I used:

export CFLAGS="-ffloat-store"

export CXXFLAGS="-ffloat-store"


../gcc-4.4.3/configure --enable-languages=c --disable-shared \

  --disable-threads \

  --enable-threads=single \

  --disable-bootstarp \

  --disable-decimal-float \

  --disable-libatomic \

  --disable-libcilkrts \

  --disable-libgomp \

  --disable-libitm \

  --disable-libmudflap \

  --disable-libquadmath \

  --disable-libsanitizer \

  --disable-libssp --disable-libstdcxx-pch \

  --disable-libvtv \

  --disable-lto \

  --disable-lto-plugin \

  --disable-multilib \

  --disable-werror \

  --with-bugurl="https://bugs.linaro.org/"; \

  --build=x86_64-linux --host=x86_64-nacl-linux --target=x86_64-nacl-linux
"$@"

I have no idea what causes this error, could you please provide some
instructions? Many thanks!

Best,
-- 
*Alice*




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux