FS#56293 - [avr-gcc] Enable libstdc++v3 to avr-gcc package
Attached to Project:
Community Packages
Opened by Felipe Magno de Almeida (felipealmeida) - Friday, 10 November 2017, 13:12 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 05 April 2023, 04:30 GMT
Opened by Felipe Magno de Almeida (felipealmeida) - Friday, 10 November 2017, 13:12 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 05 April 2023, 04:30 GMT
|
Details
Description: Use patch attached to enable libstdc++v3 to
compilation of avr-gcc.
I've authored 3 patches which enable the compilation of libstdc++v3 to g++ for the avr backend. Though not everything in the libstd is available, the whole STL is, which is a huge feature for C++ developers. Additional info: * package version(s) avr-gcc-7.2.0-1 * config and/or log files etc. Steps to reproduce: Apply patch, recompile. |
This task depends upon
Closed by Toolybird (Toolybird)
Wednesday, 05 April 2023, 04:30 GMT
Reason for closing: Won't implement
Additional comments about closing: See comments
Wednesday, 05 April 2023, 04:30 GMT
Reason for closing: Won't implement
Additional comments about closing: See comments
I have a related question - is enabling libstdc++ similar way will be beneficial to arm-none-eabi-gcc and aarch64-linux-gnu-gcc packages?
checking if /home/anatol/sources/arch/community/avr-gcc/trunk/src/gcc-build/./gcc/xgcc -B/home/anatol/sources/arch/community/avr-gcc/trunk/src/gcc-build/./gcc/ -B/usr/avr/bin/ -B/usr/avr/lib/ -isystem /usr/avr/include -isystem /usr/avr/sys-include supports -fno-rtti -fno-exceptions... no
checking for /home/anatol/sources/arch/community/avr-gcc/trunk/src/gcc-build/./gcc/xgcc -B/home/anatol/sources/arch/community/avr-gcc/trunk/src/gcc-build/./gcc/ -B/usr/avr/bin/ -B/usr/avr/lib/ -isystem /usr/avr/include -isystem /usr/avr/sys-include option to produce PIC... -fPIC -DPIC
checking if /home/anatol/sources/arch/community/avr-gcc/trunk/src/gcc-build/./gcc/xgcc -B/home/anatol/sources/arch/community/avr-gcc/trunk/src/gcc-build/./gcc/ -B/usr/avr/bin/ -B/usr/avr/lib/ -isystem /usr/avr/include -isystem /usr/avr/sys-include PIC flag -fPIC -DPIC works... no
checking if /home/anatol/sources/arch/community/avr-gcc/trunk/src/gcc-build/./gcc/xgcc -B/home/anatol/sources/arch/community/avr-gcc/trunk/src/gcc-build/./gcc/ -B/usr/avr/bin/ -B/usr/avr/lib/ -isystem /usr/avr/include -isystem /usr/avr/sys-include static flag -static works... no
checking if /home/anatol/sources/arch/community/avr-gcc/trunk/src/gcc-build/./gcc/xgcc -B/home/anatol/sources/arch/community/avr-gcc/trunk/src/gcc-build/./gcc/ -B/usr/avr/bin/ -B/usr/avr/lib/ -isystem /usr/avr/include -isystem /usr/avr/sys-include supports -c -o file.o... yes
checking if /home/anatol/sources/arch/community/avr-gcc/trunk/src/gcc-build/./gcc/xgcc -B/home/anatol/sources/arch/community/avr-gcc/trunk/src/gcc-build/./gcc/ -B/usr/avr/bin/ -B/usr/avr/lib/ -isystem /usr/avr/include -isystem /usr/avr/sys-include supports -c -o file.o... (cached) yes
checking whether the /home/anatol/sources/arch/community/avr-gcc/trunk/src/gcc-build/./gcc/xgcc -B/home/anatol/sources/arch/community/avr-gcc/trunk/src/gcc-build/./gcc/ -B/usr/avr/bin/ -B/usr/avr/lib/ -isystem /usr/avr/include -isystem /usr/avr/sys-include linker (/home/anatol/sources/arch/community/avr-gcc/trunk/src/gcc-build/./gcc/collect-ld) supports shared libraries... 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:10616: configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory '/home/anatol/sources/arch/community/avr-gcc/trunk/src/gcc-build'
make: *** [Makefile:891: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101867#c13