History log of /freebsd/share/mk/bsd.linker.mk (Results 26 – 46 of 46)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 7ccdc068 07-Jun-2018 Bryan Drewery <bdrewery@FreeBSD.org>

Use simpler sed invocation.

X-MFC-With: r334791
MFC after: 1 week
Submitted by: danfe


# 1930b98d 07-Jun-2018 Bryan Drewery <bdrewery@FreeBSD.org>

Stop using head(1) which is not available in installworld.

installworld should not be executing this anyhow but there is some
obscure case doing it still. The head(1) binary is not part of
ITOOLS a

Stop using head(1) which is not available in installworld.

installworld should not be executing this anyhow but there is some
obscure case doing it still. The head(1) binary is not part of
ITOOLS and there's no need to add it.

MFC after: 1 week
Sponsored by: Dell EMC

show more ...


# ff8f1e83 10-May-2018 Ed Maste <emaste@FreeBSD.org>

Error out on attempt to link amd64 kernel with old binutils linker

As of r333461 we require ifunc support to link a working amd64 kernel.
The default in-tree bootstrap linker is lld and it has the r

Error out on attempt to link amd64 kernel with old binutils linker

As of r333461 we require ifunc support to link a working amd64 kernel.
The default in-tree bootstrap linker is lld and it has the required
support, as does any modern out-of-tree binutils linker. The in-tree
GNU ld is from binutils 2.17.50 and it does not have ifunc support,
so produce an error rather than a broken kernel.

Reviewed by: kib
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D15378

show more ...


# 48164080 07-Feb-2018 Ed Maste <emaste@FreeBSD.org>

add retpoline compiler and linker feature flags

These features indicate that the compiler and linker support the
retpoline speculative execution vulnerability (CVE-2017-5715)
mitigation.

Reviewed b

add retpoline compiler and linker feature flags

These features indicate that the compiler and linker support the
retpoline speculative execution vulnerability (CVE-2017-5715)
mitigation.

Reviewed by: dim, imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D14228

show more ...


Revision tags: release/10.4.0
# 0275f9db 11-Aug-2017 Hans Petter Selasky <hselasky@FreeBSD.org>

Merge ^/head r321383 through r322397.


# 531c2d7a 24-Jul-2017 Enji Cooper <ngie@FreeBSD.org>

MFhead@r320180


# 0a808537 24-Jul-2017 Ed Maste <emaste@FreeBSD.org>

lld 5.0 supports filter libraries, so enable linker feature flag

Also switch the logic to enable this for any non-lld linker, since
filter library support is fairly simple and is very likely support

lld 5.0 supports filter libraries, so enable linker feature flag

Also switch the logic to enable this for any non-lld linker, since
filter library support is fairly simple and is very likely supported
by any other linker capable of linking the FreeBSD base system.

MFC after: 2 months
MFC with: r321369
Sponsored by: The FreeBSD Foundation

show more ...


# bca9d05f 23-Jul-2017 Hans Petter Selasky <hselasky@FreeBSD.org>

Merge ^/head r319973 through 321382.


Revision tags: release/11.1.0
# d2043ca3 14-Jul-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r320573 through r320970.


# 99ac8154 10-Jul-2017 Konstantin Belousov <kib@FreeBSD.org>

Provide libdl.

Create libdl.so.1 as a filter for libc.so.7 which exports public dl*
functions. The functions are resolved from the rtld instead, the goal
of creating library is to avoid errors from

Provide libdl.

Create libdl.so.1 as a filter for libc.so.7 which exports public dl*
functions. The functions are resolved from the rtld instead, the goal
of creating library is to avoid errors from the static linker due to
missed libdl. For static binaries, an empty .o is compiled into
libdl.a so that static binaries still get dl stubs from libc.a.

Right now lld cannot create filter objects, disable libdl on arm64
when binutils are not used.

Reviewed by: bdrewery, dim (previos version); emaste
Exp run: PR 220525, done by antoine
Sponsored by: The FreeBSD Foundation
MFC after: 1 month
Differential revision: https://reviews.freebsd.org/D11504

show more ...


# f6e653bb 02-Jul-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r320398 through r320572.


# d786d510 30-Jun-2017 Ed Maste <emaste@FreeBSD.org>

bsd.linker.mk: add band-aid for linker invocation failure

In some cases bsd.linker.mk reports an error like:

make[4]: ".../share/mk/bsd.linker.mk" line 56:
Unknown linker from LD=ld -m elf32ppc

bsd.linker.mk: add band-aid for linker invocation failure

In some cases bsd.linker.mk reports an error like:

make[4]: ".../share/mk/bsd.linker.mk" line 56:
Unknown linker from LD=ld -m elf32ppc_fbsd:"

For now change this to a .warning, and then assume GNU ld 2.17.50.
At present the linker type detection is used only for enabling build-id,
and we can carry on without it when type detection fails.

Also, show errors from ${LD} --version to aid in failure diagnosis.
Successful invocations of ${LD} --version produce no output on stderr
so this will not create any spam in non-failing builds.

Tested by: swills
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D11424

show more ...


# a3604b95 27-Jun-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r320042 through r320397.


# cdd89b98 23-Jun-2017 Ed Maste <emaste@FreeBSD.org>

Introduce LINKER_FEATURES to avoid duplicating version logic

Submitted by: bdrewery
Reported by: kib


# 83cff1f8 23-Jun-2017 Ed Maste <emaste@FreeBSD.org>

change GNU ld LINKER_TYPE from binutils to bfd

GNU binutils includes two linkers: ld.bfd and ld.gold. For clarity use
LINKER_TYPE=bfd to refer to ld.bfd, the original binutils linker that
identifie

change GNU ld LINKER_TYPE from binutils to bfd

GNU binutils includes two linkers: ld.bfd and ld.gold. For clarity use
LINKER_TYPE=bfd to refer to ld.bfd, the original binutils linker that
identifies itself as "GNU ld".

Discussed with: bdrewery

show more ...


# 6f81bd02 23-Jun-2017 Bryan Drewery <bdrewery@FreeBSD.org>

Provide proper values for X_LINKER_TYPE/VERSION when XLD == LD.

MFC after: 2 weeks
Sponsored by: Dell EMC Isilon


# ec39013e 23-Jun-2017 Bryan Drewery <bdrewery@FreeBSD.org>

Don't overwrite already-set LINKER_VERSION/LINKER_TYPE.

MFC after: 2 weeks
Sponsored by: Dell EMC Isilon


# 89bf31fd 22-Jun-2017 Bryan Drewery <bdrewery@FreeBSD.org>

LINKER_VERSION: Support external binutils.

The ports binutils stores the version in the 5th word so just look for
a version using a pattern instead.

Reported by: rpokala
MFC after: 2 weeks
Sponsore

LINKER_VERSION: Support external binutils.

The ports binutils stores the version in the 5th word so just look for
a version using a pattern instead.

Reported by: rpokala
MFC after: 2 weeks
Sponsored by: Dell EMC Isilon

show more ...


# 19fad655 22-Jun-2017 Bryan Drewery <bdrewery@FreeBSD.org>

Support cached linker values in environment.

This is similar to r289659 for bsd.compiler.mk.

MFC after: 2 weeks
Reviewed by: emaste
Sponsored by: Dell EMC Isilon
Differential Revision: https://revi

Support cached linker values in environment.

This is similar to r289659 for bsd.compiler.mk.

MFC after: 2 weeks
Reviewed by: emaste
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D11310

show more ...


# 08154765 22-Jun-2017 Bryan Drewery <bdrewery@FreeBSD.org>

Support XLD for setting X_LINKER_TYPE and X_LINKER_VERSION.

This is similar to r300350 for bsd.compiler.mk.

MFC after: 2 weeks
Reviewed by: emaste
Sponsored by: Dell EMC Isilon
Differential Revisio

Support XLD for setting X_LINKER_TYPE and X_LINKER_VERSION.

This is similar to r300350 for bsd.compiler.mk.

MFC after: 2 weeks
Reviewed by: emaste
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D11309

show more ...


# 125902b6 22-Jun-2017 Bryan Drewery <bdrewery@FreeBSD.org>

Add basic bsd.linker.mk auto included from bsd.compiler.mk.

This will provide LINKER_TYPE and LINKER_VERSION.

MFC after: 2 weeks
Reviewed by: emaste
Sponsored by: Dell EMC Isilon
Differential Revis

Add basic bsd.linker.mk auto included from bsd.compiler.mk.

This will provide LINKER_TYPE and LINKER_VERSION.

MFC after: 2 weeks
Reviewed by: emaste
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D11308

show more ...


12