Page MenuHomeFreeBSD

Silence annoying and incorrect non-default linker warning with GCC
ClosedPublic

Authored by arichardson on Mar 2 2021, 5:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 2, 2:54 AM
Unknown Object (File)
Thu, Jan 2, 1:54 AM
Unknown Object (File)
Dec 23 2024, 7:00 AM
Unknown Object (File)
Dec 8 2024, 9:45 PM
Unknown Object (File)
Dec 8 2024, 3:55 AM
Unknown Object (File)
Nov 28 2024, 9:05 AM
Unknown Object (File)
Nov 28 2024, 9:05 AM
Unknown Object (File)
Nov 28 2024, 9:05 AM
Subscribers

Details

Summary

The CROSS_TOOLCHAIN GCC .mk files include -B${CROSS_BINUTILS_PREFIX}, so
GCC will select the right linker and we don't need to warn.
While here also apply 17b8b8fb5fc4acc832dabfe7ef11e3e1d399ad0f to kern.mk.

Test Plan

no more warning printed with CROSS_TOOLCHAIN=mips-gcc6

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 37506
Build 34395: arc lint + arc unit