public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Errors in building gcc-4.4.3
@ 2024-01-17 23:23 Yaxuan Wen
  2024-01-18 12:39 ` Kai Ruottu
  0 siblings, 1 reply; 4+ messages in thread
From: Yaxuan Wen @ 2024-01-17 23:23 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 1937 bytes --]

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*

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-01-18 20:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-17 23:23 Errors in building gcc-4.4.3 Yaxuan Wen
2024-01-18 12:39 ` Kai Ruottu
2024-01-18 12:51   ` Kai Ruottu
2024-01-18 20:20     ` Kai Ruottu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).