freebsd-skq/contrib
Dimitry Andric b7f8a68b04 Recently, in upstream clang, a fix was done to add -L/usr/lib to the
arguments passed to ld, when linking.  This was to appease configure
scripts in several ports, that grep for such a -L option in "${CC} -v"
output, to determine the startup objects passed to ld.  Note ld itself
does not need to be told about /usr/lib, since it has this path builtin
anyway.

However, if clang is built as a bootstrap tool during buildworld, it
should not use *anything* outside ${WORLDTMP} to include or link with.
The upstream fix to add -L/usr/lib breaks this assumption, and can thus
cause libraries from /usr/lib to be linked in during buildworld.

This can result in buildworld dying during linking of zinject, where it
picks up the wrong copy of libzpool.so, eventually leading to:

/usr/obj/usr/src/tmp/lib/libthr.so.3: undefined reference to `_rtld_get_stack_prot'

Fix this issue by not adding any hardcoded paths, but by looping through
the run-time library path list, which is already correctly set for the
bootstrap phase.

Reported by:	datastream.freecity@gmail.com
Pointy hat to:	dim
2011-02-24 21:45:58 +00:00
..
amd
bind9 Update to BIND 9.6.3, the latest from ISC on the 9.6 branch. 2011-02-06 22:46:07 +00:00
binutils Merge binutils 2.17.50 to head. This brings a number of improvements to 2011-02-18 20:54:12 +00:00
bsnmp Bring the list of OIDs up-to-date to prevent conflicts. 2011-02-03 15:19:18 +00:00
bzip2 Upgrade to Bzip2 version 1.0.6. 2010-11-09 18:32:57 +00:00
com_err mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
compiler-rt Set symbol visibility to hidden. 2010-11-11 16:53:25 +00:00
cvs
dialog Update dialog to version 20100428. This changes the license under which 2011-01-12 14:55:02 +00:00
diff
dtc Let dtc build with FreeBSD yacc/lex. 2010-02-28 22:06:07 +00:00
ee Import ee 1.5.2 into HEAD. 2010-10-08 09:43:06 +00:00
expat Apply two vendor fixes for CVE-2009-3720. 2009-12-11 02:09:46 +00:00
file Add the ability for GDB to printout the thread name along with other 2010-11-22 14:42:13 +00:00
gcc Backport svn r124339 from gcc 4.3 and add opteron-sse3, athlon64-sse3 2011-02-20 22:25:23 +00:00
gcclibs
gdb Merge binutils 2.17.50 to head. This brings a number of improvements to 2011-02-18 20:54:12 +00:00
gdtoa Add required header for isalnum(3) to quench compiler warnings 2010-06-02 18:31:04 +00:00
gnu-sort
gperf
groff Update groff manpage and symbols with what has been submitted upstream. 2011-01-19 20:16:38 +00:00
ipfilter Fix paths for example files. 2010-11-18 18:22:58 +00:00
less
libbegemot
libobjc
libpcap Remove more unused files. 2010-10-29 18:56:51 +00:00
libreadline
libstdc++ Some fixes so we can build libstdc++ with clang: 2010-08-24 13:38:53 +00:00
llvm Recently, in upstream clang, a fix was done to add -L/usr/lib to the 2011-02-24 21:45:58 +00:00
lukemftp
lukemftpd
ncurses Merge r210464 from vendor/ncurses/dist: 2010-07-25 11:48:27 +00:00
netcat MFV: nc(1) from OpenBSD 4.8. 2010-10-19 00:01:53 +00:00
ngatm mdoc: consistently spell our email addresses <foo@FreeBSD.org> 2010-05-24 06:26:38 +00:00
ntp Merge 4.2.4p8 into contrib (r200452 & r200454). 2009-12-15 14:58:10 +00:00
nvi Fixes from NetBSD for nvi visual mode: 2010-05-28 09:30:13 +00:00
one-true-awk Apply patches directly to sources. Their effect is as follows: 2010-01-10 08:02:07 +00:00
openbsm
openpam Merge upstream r432: 2010-03-22 11:00:57 +00:00
opie Change the current working directory to be inside the jail created by 2010-05-27 03:15:04 +00:00
pam_modules/pam_passwdqc
pf Enable closefrom(2) here, as we have supported it for some time now. 2010-08-05 18:49:06 +00:00
pnpinfo
sendmail Remove -mdoc macros from -man page 2010-06-09 08:53:50 +00:00
smbfs shi1_remark is in little endian format, convert it to host ordering. 2010-01-25 18:35:58 +00:00
tcp_wrappers Make these files compile with clang. 2010-07-22 18:52:29 +00:00
tcpdump Remove useless stuff. 2010-10-28 19:10:15 +00:00
tcsh
telnet telnet: Fix infinite loop if local output generates SIGPIPE. 2010-04-30 19:52:35 +00:00
texinfo
top Output an appropriate amount of padding to line up per-CPU state columns 2011-02-01 15:48:27 +00:00
traceroute traceroute(8): make WARNS=3 clean 2010-12-04 14:19:27 +00:00
tzcode Sync code with tzcode2010m 2010-10-27 07:14:46 +00:00
tzdata MFV of tzdata2011a, r218120 2011-01-31 09:22:49 +00:00
wpa Remove unused files. 2010-11-03 10:46:39 +00:00
xz Update xz to release 5.0.1 2011-02-24 13:42:35 +00:00