HomeFreeBSD

libcxxrt: allow build with gcc13 and --no-undefined-version

Description

libcxxrt: allow build with gcc13 and --no-undefined-version

GCC 13 supports _Float16 and __int128 on fewer architectures than clang
and thus libcxxrt compiled with gcc13 is sometimes missing related
symbols. Hack around this by explicitly appending --undefined-version
to LDFLAGS in problematic cases.

Reviewed by: theraven, dim
Differential Revision: https://reviews.freebsd.org/D45233

Details

Provenance
brooksAuthored on May 17 2024, 8:22 PM
Reviewer
theraven
Differential Revision
D45233: libcxxrt: allow build with gcc13 and --no-undefined-version
Parents
rGf7d45c5443ed: bhyve: avoid side effect in assertion
Branches
Unknown
Tags
Unknown