HomeFreeBSD

Fix build with recent binutils

Description

Fix build with recent binutils

Recent binutils considered the .gnu.warning.symbol section as a fatal error when
run with --fatal-warnings which makes any users of "insecure" functions from
libc failing to build with recent binutils.

Introduce a new macro: LD_FATAL_WARNINGS=no to run ld(1) with
--no-fatal-warnings for the users of "insecure" functions

Differential Revision: https://reviews.freebsd.org/D1320

Details

Provenance
baptAuthored on
Differential Revision
D1320: Fix buildworld with recent binutils
Parents
rS276127: Fix potential division by zero after r275920.
Branches
Unknown
Tags
Unknown

Event Timeline