Hello Waldemar Brodkorb,

seems this is triggered if gcc (also with older versions) compiles for coretex-a53
if thumb-mode is enabled. (So this would trigger if e.g. raspberrypi3_defconfig
gets thumb mode enabled or if you change vexpress_defconfig to compile for a53.)

The error output from gcc is:
AS ldso/ldso/arm/thumb_atomics.oS
ldso/ldso/arm/thumb_atomics.S: Assembler messages:
ldso/ldso/arm/thumb_atomics.S:49: Error: swp{b} use is obsoleted for ARMv8 and later
ldso/ldso/arm/thumb_atomics.S:55: Error: swp{b} use is obsoleted for ARMv8 and later
Makerules:373: recipe for target 'ldso/ldso/arm/thumb_atomics.oS' failed


How to reproduce this:
git clone https://github.com/buildroot/buildroot.git
pushd buildroot
patch -s -p1 < ../buildroot.patch
make qemu_arm_vexpress_defconfig
make
popd

with buildroot.patch:
diff --git a/configs/qemu_arm_vexpress_defconfig b/configs/qemu_arm_vexpress_defconfig
index 34a50aa8d5..2f3e8a7c54 100644
--- a/configs/qemu_arm_vexpress_defconfig
+++ b/configs/qemu_arm_vexpress_defconfig
@@ -1,9 +1,11 @@
 # Architecture
 BR2_arm=y
-BR2_cortex_a9=y
+BR2_cortex_a53=y
 BR2_ARM_ENABLE_NEON=y
 BR2_ARM_ENABLE_VFP=y
-BR2_ARM_FPU_VFPV3D16=y
+BR2_ARM_FPU_VFPV4=y
+
+BR2_ARM_INSTRUCTIONS_THUMB2=y
 
 # System
 BR2_SYSTEM_DHCP="eth0"


Do you know which software depends on this spcial function to exist in uclibc-ng?


best regards,

Florian La Roche




Geschäftsführung: Susanne Kunschert, Thomas Pilz
Pilz GmbH & Co. KG, Sitz: Ostfildern, HRA 210 893, Amtsgericht Stuttgart
Kompl. Ges. Peter Pilz GmbH, Sitz: Ostfildern, HRB 210 612, Amtsgericht Stuttgart
Umsatzsteuer: ID-Nr. DE 145 355 773, WEEE-Reg.-Nr. DE 71636849
This email is intended solely for the use of the named address(es). Any unauthorised disclosure, copying or distribution of these confidential information contained therein, or the taking of any action based on it, is prohibited. The sender disclaims any liability for the integrity of this email. Legally binding declarations must be in written form.
Umweltschutz liegt uns am Herzen! - Bitte denken Sie an unsere Umwelt, bevor Sie diese E-Mail drucken.
We do care about the environment! - Please consider the environment before printing this e-mail.