Re: Matthias Klose
> Package: src:gcc-arm-none-eabi
> Version: 15:12.3.rel1-1
> Severity: serious
> Tags: sid trixie
>
> a typical upload-and-run-away package upload ...
I think to fix, a simple rebuild of libstdc++-arm-none-eabi is
required (not binnmu-able since it's arch:all).
The original reason I was looking into this is hackrf (#1052857), but
that got updated yesterday not to build the arm firmware image
anymore. Furthermore, when trying to build the hackrf package that
still needs the arm toolchain, I'm now getting this:
-- Check for working C compiler: /usr/bin/arm-none-eabi-gcc - broken
CMake Error at /usr/share/cmake-3.27/Modules/CMakeTestCCompiler.cmake:67
(message):
The C compiler
"/usr/bin/arm-none-eabi-gcc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir:
'/home/myon/debian/nmu/gcc-arm-none-eabi/hackrf/firmware/build_hackrf/CMakeFiles/CMakeScratch/TryCompile-eCZznn'
Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f
Makefile cmTC_64ef2/fast
gmake[2]: Entering directory
'/home/myon/debian/nmu/gcc-arm-none-eabi/hackrf/firmware/build_hackrf/CMakeFiles/CMakeScratch/TryCompile-eCZznn'
/usr/bin/gmake -f CMakeFiles/cmTC_64ef2.dir/build.make
CMakeFiles/cmTC_64ef2.dir/build
gmake[3]: Entering directory
'/home/myon/debian/nmu/gcc-arm-none-eabi/hackrf/firmware/build_hackrf/CMakeFiles/CMakeScratch/TryCompile-eCZznn'
Building C object CMakeFiles/cmTC_64ef2.dir/testCCompiler.c.obj
/usr/bin/arm-none-eabi-gcc -g -O2
-ffile-prefix-map=/home/myon/debian/nmu/gcc-arm-none-eabi/hackrf=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -o
CMakeFiles/cmTC_64ef2.dir/testCCompiler.c.obj -c
/home/myon/debian/nmu/gcc-arm-none-eabi/hackrf/firmware/build_hackrf/CMakeFiles/CMakeScratch/TryCompile-eCZznn/testCCompiler.c
cc1: error: '-fcf-protection=full' is not supported for this target
So, I'm not going to fix this bug, but perhaps these notes help
others.
Christoph