[Bug 278649] lang/gcc13: build failed on 15.0-CURRENT armv7

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 29 Jun 2024 07:05:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278649

--- Comment #6 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
Same source handled as c++ code:

# g++13 -static-libgcc main.c
/usr/local/bin/ld: warning: libunwind.o: missing .note.GNU-stack section
implies executable stack
/usr/local/bin/ld: NOTE: This behaviour is deprecated and will be removed in a
future version of the linker
/usr/local/bin/ld:
/usr/local/lib/gcc13/gcc/armv7-portbld-freebsd15.0/13.2.0/../../../libstdc++.so:
undefined reference to `__aeabi_ldivmod@GCC_3.5'
/usr/local/bin/ld:
/usr/local/lib/gcc13/gcc/armv7-portbld-freebsd15.0/13.2.0/../../../libstdc++.so:
undefined reference to `__aeabi_d2lz@GCC_3.5'
/usr/local/bin/ld:
/usr/local/lib/gcc13/gcc/armv7-portbld-freebsd15.0/13.2.0/../../../libstdc++.so:
undefined reference to `__aeabi_uldivmod@GCC_3.5'
/usr/local/bin/ld:
/usr/local/lib/gcc13/gcc/armv7-portbld-freebsd15.0/13.2.0/../../../libstdc++.so:
undefined reference to `__aeabi_l2d@GCC_3.5'
/usr/local/bin/ld:
/usr/local/lib/gcc13/gcc/armv7-portbld-freebsd15.0/13.2.0/../../../libstdc++.so:
undefined reference to `__aeabi_idivmod@GCC_3.5'
/usr/local/bin/ld:
/usr/local/lib/gcc13/gcc/armv7-portbld-freebsd15.0/13.2.0/../../../libstdc++.so:
undefined reference to `__aeabi_ul2f@GCC_3.5'
/usr/local/bin/ld:
/usr/local/lib/gcc13/gcc/armv7-portbld-freebsd15.0/13.2.0/../../../libstdc++.so:
undefined reference to `__aeabi_ul2d@GCC_3.5'
collect2: error: ld returned 1 exit status

-- 
You are receiving this mail because:
You are on the CC list for the bug.