Hi Florian,
Florian La Roche wrote,
Hello uclibc-ng/buildroot developers,
compiling buildroot with thumb-instructions and gcc-8.1 results in an error
due to the swp{,b} assembler instruction. Searching within buildroot, this
thumb_swp* function is never used anywhere (but this is a very limited search).
The add commit message for this refers to other libraries using this function,
but
no real specific data. Maybe this can be removed altogether?
Can you share a br defconfig to reproduce the issue? Which br
version?
I couldn't reproduce it with OpenADK targeting Qemu Vexpress
Cortex-A9, soft-float and thumb mode by default:
./toolchain_qemu-arm-vexpress-a9_uclibc-ng_cortex_a9_soft_eabi/usr/bin/arm-openadk-linux-uclibceabi-gcc
-v
Using built-in specs.
COLLECT_GCC=./toolchain_qemu-arm-vexpress-a9_uclibc-ng_cortex_a9_soft_eabi/usr/bin/arm-openadk-linux-uclibceabi-gcc
COLLECT_LTO_WRAPPER=/home/wbx/arm/toolchain_qemu-arm-vexpress-a9_uclibc-ng_cortex_a9_soft_eabi/usr/libexec/gcc/arm-openadk-linux-uclibceabi/8.1.0/lto-wrapper
Target: arm-openadk-linux-uclibceabi
Configured with:
/home/wbx/arm/toolchain_build_qemu-arm-vexpress-a9_uclibc-ng_cortex_a9_soft_eabi/w-gcc-8.1.0-1/gcc-8.1.0/configure
--prefix=/home/wbx/arm/toolchain_qemu-arm-vexpress-a9_uclibc-ng_cortex_a9_soft_eabi/usr
--with-bugurl=https://openadk.org --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=arm-openadk-linux-uclibceabi
--with-gmp=/home/wbx/arm/host_x86_64-linux-gnu/usr
--with-mpfr=/home/wbx/arm/host_x86_64-linux-gnu/usr
--disable-__cxa_atexit --with-system-zlib --with-gnu-ld
--with-gnu-as --disable-libsanitizer --disable-install-libiberty
--disable-libitm --disable-libmudflap --disable-libgomp
--disable-libcc1 --disable-libmpx --disable-libcilkrts
--disable-libquadmath --disable-libquadmath-support
--disable-decimal-float --disable-libstdcxx-pch
--disable-ppl-version-check --disable-cloog-version-check
--without-ppl --without-cloog --without-isl --disable-werror
--disable-nls --disable-lto --with-cpu=cortex-a9 --with-float=soft
--with-fpu=vfpv3-fp16 --with-mode=thumb --enable-tls
--enable-threads --enable-libatomic --enable-shared
--enable-cxx-flags=-fPIC --disable-libssp --disable-biarch
--disable-multilib --enable-languages=c
--with-build-sysroot='/../../target_qemu-arm-vexpress-a9_uclibc-ng_cortex_a9_soft_eabi'
--with-sysroot='/../../target_qemu-arm-vexpress-a9_uclibc-ng_cortex_a9_soft_eabi'
Thread model: posix
gcc version 8.1.0 (GCC)
./toolchain_qemu-arm-vexpress-a9_uclibc-ng_cortex_a9_soft_eabi/usr/bin/arm-openadk-linux-uclibceabi-readelf
-a
root_qemu-arm-vexpress-a9_uclibc-ng_cortex_a9_soft_eabi/bin/busybox
|grep -i thumb
Tag_THUMB_ISA_use: Thumb-2
What is the exact error output?
It might be triggered by code I have not activated in my default
uClibc-ng configuration.
best regards
Waldemar