<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/gnu/usr.bin/binutils/ld, branch release/11.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F11.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F11.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2016-02-24T17:20:11Z</updated>
<entry>
<title>DIRDEPS_BUILD: Regenerate without local dependencies.</title>
<updated>2016-02-24T17:20:11Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2016-02-24T17:20:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=bd18fd57db1df29da1a3adf94d47924a977a29c2'/>
<id>urn:sha1:bd18fd57db1df29da1a3adf94d47924a977a29c2</id>
<content type='text'>
These are no longer needed after the recent 'beforebuild: depend' changes
and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports
skipping 'make depend'.

Sponsored by:	EMC / Isilon Storage Division
</content>
</entry>
<entry>
<title>Switch GNU ld to be installed as ld.bfd and linked as ld</title>
<updated>2016-01-07T00:15:02Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2016-01-07T00:15:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=dbecd1bfdf736d7fff457b6f6e28f43365cb1dfa'/>
<id>urn:sha1:dbecd1bfdf736d7fff457b6f6e28f43365cb1dfa</id>
<content type='text'>
We intend to replace GNU ld with LLVM's lld, and on the path to there
we'll experiment with having lld installed or linked as /usr/bin/ld.
Thus, make ld.bfd the primary install target for GNU ld, to later
facilitate making the ld link optional.

Reviewed by:	davide, dim
Differential Revision:	https://reviews.freebsd.org/D4790
</content>
</entry>
<entry>
<title>Install ld also as ld.bfd, for use with cc -fuse-ld=bfd</title>
<updated>2015-12-23T14:31:26Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2015-12-23T14:31:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e7beaf996810218e8a2089acd591798b75aeb145'/>
<id>urn:sha1:e7beaf996810218e8a2089acd591798b75aeb145</id>
<content type='text'>
PR:		205409 [exp-run]
MFC after:	1 week
Relnotes:	Yes
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>META MODE: Don't create .meta files when symlinking sources into the obj directory.</title>
<updated>2015-11-25T19:44:43Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2015-11-25T19:44:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b791fbe6302023b0cf00807865059c8f016fe5dc'/>
<id>urn:sha1:b791fbe6302023b0cf00807865059c8f016fe5dc</id>
<content type='text'>
Tracking these leads to situations where meta mode will consider the
file to be out of date if /bin/sh or /bin/ln are newer than the source
file.  There's no reason for meta mode to do this as make is already
handling the rebuild dependency fine.

Sponsored by:	EMC / Isilon Storage Division
</content>
</entry>
<entry>
<title>Fix ld not respecting --sysroot.</title>
<updated>2015-11-24T00:49:29Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2015-11-24T00:49:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8b2b71b415450d1ad4c9b56cec424c702020bf93'/>
<id>urn:sha1:8b2b71b415450d1ad4c9b56cec424c702020bf93</id>
<content type='text'>
ld(1) uses the /usr/libdata/ldscripts when linking. These scripts add in the
default search paths of /lib and /usr/lib via 'SEARCH_DIR("DIR")'. These
need to be prefixed by '=' so that the --sysroot flag is respected. This
is not a problem with buildworld since the TOOLS_PREFIX is baked into the
cross-ld. However it is a problem when trying to use ld(1) with --sysroot
anywhere else as it ends up still reading /lib and /usr/lib despite --sysroot.

The default --sysroot (TARGET_SYSTEM_ROOT) is '/' for /usr/bin/ld.

I found this while building with META MODE with uses only --sysroot with
/usr/bin/ld, and found that libraries that I had not built in its sysroot
directory were leaking in. This didn't happen with ports binutils either.  This
would also impact external compiler support.

Reviewed by:	bapt, brooks
MFC after:	2 weeks
Sponsored by:	EMC / Isilon Storage Division
Differential Revision:	https://reviews.freebsd.org/D4262
</content>
</entry>
<entry>
<title>Avoid warning race with creating 'ldscripts' directory during build.</title>
<updated>2015-10-16T05:54:41Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2015-10-16T05:54:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0cc887023b9a994cdff0b343c55af8b623535311'/>
<id>urn:sha1:0cc887023b9a994cdff0b343c55af8b623535311</id>
<content type='text'>
In r204548 the 'rm -f ldscripts' was added likely due to reading the
conditional as 'else it is a file'.  That seems unlikely though and
the more likely case is just that the directory hasn't been created yet.

Because this races with ,ssother scripts, use 'mkdir -p' which is a minimal
modification vs upstream to avoid the warning of 'File exists' if another
script creates it first.  This could replace the 'test -d' as well but
then it's more unneeded change to the upstream script.

Sponsored by:	EMC / Isilon Storage Division
</content>
</entry>
<entry>
<title>Updated depends</title>
<updated>2015-10-07T00:43:05Z</updated>
<author>
<name>Simon J. Gerraty</name>
<email>sjg@FreeBSD.org</email>
</author>
<published>2015-10-07T00:43:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=bd47c7ec117a3b73871e3e2c11a04e1267f4eff8'/>
<id>urn:sha1:bd47c7ec117a3b73871e3e2c11a04e1267f4eff8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix subdir -j build after r287983 by adding missing dependencies.</title>
<updated>2015-09-25T20:31:04Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2015-09-25T20:31:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=dabaad66784ed52a161f93afc78254ebe39e8a5b'/>
<id>urn:sha1:dabaad66784ed52a161f93afc78254ebe39e8a5b</id>
<content type='text'>
Sponsored by:	EMC / Isilon Storage Division
</content>
</entry>
<entry>
<title>Fix emulation ldscripts not being installed since r131832.</title>
<updated>2015-09-25T20:21:45Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2015-09-25T20:21:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ef59fb822dac8f16856383de3b9fad99ac364826'/>
<id>urn:sha1:ef59fb822dac8f16856383de3b9fad99ac364826</id>
<content type='text'>
For example, 32bit scripts on 64bit host.

MFC after:	2 weeks
Sponsored by:	EMC / Isilon Storage Division
</content>
</entry>
<entry>
<title>Use SHAREOWN/SHAREMODE/SHAREGRP rather than LIB* as these are plain ASCII</title>
<updated>2015-09-21T18:52:52Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2015-09-21T18:52:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=092a37c9f9ca469125da9577f79388a238d7867b'/>
<id>urn:sha1:092a37c9f9ca469125da9577f79388a238d7867b</id>
<content type='text'>
scripts that the linker can load rather than binary library objects.

Effectively no change.

Suggested by:	hrs
</content>
</entry>
</feed>
