public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Failed to compile gcc cross toolchain.
@ 2021-08-02  3:08 bootmgr
  2021-08-02  6:16 ` Jonathan Yong
  2021-08-02 14:19 ` LIU Hao
  0 siblings, 2 replies; 4+ messages in thread
From: bootmgr @ 2021-08-02  3:08 UTC (permalink / raw)
  To: gcc-help

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

I'm failed to compile libstdc++.
Configured by ../gcc-11.2.0/configure --disable-multilib --disable-nls --enable-graphite --enable-languages=c,c++,lto  --enable-mingw-wildcard --enable-threads=mcf --enable-version-specific-runtime-libs --disable-libstdcxx-pch --enable-fully-dynamic-string --enable-large-address-aware --enable-vtable-verify --target=x86_64-w64-mingw32 --with-sysroot=/usr/local
Build: x86_64-linux-gnu Target:x86_64-w64-mingw32 Host: x86_64-linux-gnu


Error Messages:
libtool: compile:  /home/abc/build-gcc/./gcc/xgcc -shared-libgcc -B/home/abc/build-gcc/./gcc -nostdinc++ -L/home/abc/build-gcc/x86_64-w64-mingw32/libstdc++-v3/src -L/home/abc/build-gcc/x86_64-w64-mingw32/libstdc++-v3/src/.libs -L/home/abc/build-gcc/x86_64-w64-mingw32/libstdc++-v3/libsupc++/.libs -L/usr/local/x86_64-w64-mingw32/lib -L/usr/local/mingw/lib -isystem /usr/local/x86_64-w64-mingw32/include -isystem /usr/local/mingw/include -B/usr/local/x86_64-w64-mingw32/bin/ -B/usr/local/x86_64-w64-mingw32/lib/ -isystem /usr/local/x86_64-w64-mingw32/include -isystem /usr/local/x86_64-w64-mingw32/sys-include -I/home/abc/gcc-11.2.0/libstdc++-v3/../libgcc -I/home/abc/build-gcc/x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32 -I/home/abc/build-gcc/x86_64-w64-mingw32/libstdc++-v3/include -I/home/abc/gcc-11.2.0/libstdc++-v3/libsupc++ -O3 -DNDEBUG -march=native -fno-ident -ffunction-sections -fdata-sections -O3 -DNDEBUG -march=native -fno-ident -ffunction-sections -fdata-sections -D_GLIBCXX_SHARED -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2 -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=atexit_thread.lo -O3 -DNDEBUG -march=native -fno-ident -ffunction-sections -fdata-sections -c ../../../../gcc-11.2.0/libstdc++-v3/libsupc++/atexit_thread.cc -o atexit_thread.o
../../../../gcc-11.2.0/libstdc++-v3/libsupc++/atexit_thread.cc:25:10: fatal error: cstdlib: No such file or directory
   25 | #include <cstdlib>
      |          ^~~~~~~~~
compilation terminated.
make[4]: *** [Makefile:769: atexit_thread.lo] Error 1
make[4]: Leaving directory '/home/abc/build-gcc/x86_64-w64-mingw32/libstdc++-v3/libsupc++'
make[3]: *** [Makefile:568: all-recursive] Error 1
make[3]: Leaving directory '/home/abc/build-gcc/x86_64-w64-mingw32/libstdc++-v3'
make[2]: *** [Makefile:493: all] Error 2
make[2]: Leaving directory '/home/abc/build-gcc/x86_64-w64-mingw32/libstdc++-v3'
make[1]: *** [Makefile:13388: all-target-libstdc++-v3] Error 2
make[1]: Leaving directory '/home/abc/build-gcc'
make: *** [Makefile:967: all] Error 2

[-- Attachment #2: output.tgz --]
[-- Type: application/x-gzip, Size: 3802 bytes --]

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

end of thread, other threads:[~2021-08-03  4:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-02  3:08 Failed to compile gcc cross toolchain bootmgr
2021-08-02  6:16 ` Jonathan Yong
2021-08-02 14:19 ` LIU Hao
2021-08-03  4:50   ` bootmgr

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).