[Bug 266404] sysutils/edk2: on aarch64, edk2 fails to build for FreeBSD aarch64 libgcc_s.so.1 issues

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 28 Oct 2022 03:26:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266404

--- Comment #23 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Mark Millard from comment #22)

I found my old, even simpler, example, avoiding
libstdc++ completely:

# more fp-binding-failure-aarch64.cpp
#include <cmath>
volatile long double v=NAN;
int main()
{
   return std::isnan(v) ? 1 : 0;
}

# g++11 fp-binding-failure-aarch64.cpp
# ./a.out
ld-elf.so.1: /lib/libgcc_s.so.1: version GCC_4.5.0 required by
/usr/home/root/c_tests/a.out not found

The a.out has its own reference to 
__unordtf2@GCC_4.5.0 :

# nm -a a.out | grep '@GCC_[4-9]\.' | more
                U 
__unordtf2@GCC_4.5.0

(It is text from an old message.)

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