avr: freestanding libstdc++

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

 



Hi,

I am trying to build freestanding libstdc++ [1] for avr target in gcc
10.1. Initially, I wanted to play with coroutines, so I need <coroutine>.

I use --enable-libstdcxx --disable-host-libstdcxx for configure.

./configure script runs fine with this arguments, but then make fails
with the following:

checking if /home/matwey/temp/gcc-10.1.0/build/./gcc/xgcc
-B/home/matwey/temp/gcc-10.1.0/build/./gcc/ -B/usr/avr/bin/
-B/usr/avr/lib/ -isystem /usr/avr/include -isystem /usr/avr/sys-include
--sysroot=/usr/avr/sys-root  -mmcu=avrxmega3 supports -fno-rtti
-fno-exceptions... no
checking for /home/matwey/temp/gcc-10.1.0/build/./gcc/xgcc
-B/home/matwey/temp/gcc-10.1.0/build/./gcc/ -B/usr/avr/bin/
-B/usr/avr/lib/ -isystem /usr/avr/include -isystem /usr/avr/sys-include
--sysroot=/usr/avr/sys-root  -mmcu=avrxmega3 option to produce PIC...
-fPIC -DPIC
checking if /home/matwey/temp/gcc-10.1.0/build/./gcc/xgcc
-B/home/matwey/temp/gcc-10.1.0/build/./gcc/ -B/usr/avr/bin/
-B/usr/avr/lib/ -isystem /usr/avr/include -isystem /usr/avr/sys-include
--sysroot=/usr/avr/sys-root  -mmcu=avrxmega3 PIC flag -fPIC -DPIC
works... no
checking if /home/matwey/temp/gcc-10.1.0/build/./gcc/xgcc
-B/home/matwey/temp/gcc-10.1.0/build/./gcc/ -B/usr/avr/bin/
-B/usr/avr/lib/ -isystem /usr/avr/include -isystem /usr/avr/sys-include
--sysroot=/usr/avr/sys-root  -mmcu=avrxmega3 static flag -static works... no
checking if /home/matwey/temp/gcc-10.1.0/build/./gcc/xgcc
-B/home/matwey/temp/gcc-10.1.0/build/./gcc/ -B/usr/avr/bin/
-B/usr/avr/lib/ -isystem /usr/avr/include -isystem /usr/avr/sys-include
--sysroot=/usr/avr/sys-root  -mmcu=avrxmega3 supports -c -o file.o... yes
checking if /home/matwey/temp/gcc-10.1.0/build/./gcc/xgcc
-B/home/matwey/temp/gcc-10.1.0/build/./gcc/ -B/usr/avr/bin/
-B/usr/avr/lib/ -isystem /usr/avr/include -isystem /usr/avr/sys-include
--sysroot=/usr/avr/sys-root  -mmcu=avrxmega3 supports -c -o file.o...
(cached) yes
checking whether the /home/matwey/temp/gcc-10.1.0/build/./gcc/xgcc
-B/home/matwey/temp/gcc-10.1.0/build/./gcc/ -B/usr/avr/bin/
-B/usr/avr/lib/ -isystem /usr/avr/include -isystem /usr/avr/sys-include
--sysroot=/usr/avr/sys-root  -mmcu=avrxmega3 linker
(/home/matwey/temp/gcc-10.1.0/build/./gcc/collect-ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking for shl_load... configure: error: Link tests are not allowed
after GCC_NO_EXECUTABLES.
make[1]: *** [Makefile:10635: configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory '/home/matwey/temp/gcc-10.1.0/build'
make: *** [Makefile:954: all] Error 2


Is it configuration supported for avr architecture?

[1] https://en.cppreference.com/w/cpp/freestanding




[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