/[gentoo-alt]/trunk/toolchain-prefix-wrapper
Gentoo

Log of /trunk/toolchain-prefix-wrapper

View Directory Listing Directory Listing



Revision 1679 - Directory Listing
Modified Fri Jan 14 13:03:13 2011 UTC (3 years, 3 months ago) by haubi
For linkpath, add PREFIX/usr/lib:PREFIX/lib in that order,
but to runpath, add in reverse order.
This also is needed for AIX to allow (manual) workarounds, when updated
shared libraries have SONAME support while the old one does not, because
'libX.so' cannot be loaded any more when having SONAME support, as it
becomes either (a symlink to) an archive or a standalone import file.
This is related to http://bugs.gentoo.org/show_bug.cgi?id=213277


Revision 1678 - Directory Listing
Modified Thu Jan 13 12:35:06 2011 UTC (3 years, 3 months ago) by haubi
Drop relative library path components before filtering against
system runpath, to avoid duplicate usr/lib via usr/lib/gcc/..
This allows workaround-libraries in usr/lib/host/gcc to be found
at runtime before the real ones in usr/lib, while finding the
real ones at linktime in usr/lib/gcc/.. first.
Such workarounds might be useful on AIX to enable SONAME
support for already installed libraries, fex libz.so might be
erroneously used at runtime, which breaks when supporting SONAME.


Revision 1677 - Directory Listing
Modified Thu Jan 13 11:13:38 2011 UTC (3 years, 3 months ago) by haubi
Add solaris plugin.
Add --with-native-ld, to choose native linker over
GNU linker when supported (currently Solaris only).


Revision 1672 - Directory Listing
Modified Wed Apr 7 13:56:27 2010 UTC (4 years ago) by grobian
update copyright

Revision 1668 - Directory Listing
Modified Wed Jan 27 19:46:14 2010 UTC (4 years, 2 months ago) by grobian
Remove duplicate optimisation, because it's breaking linking behaviour since the -rpath and -L lists are shared.  Bug #302400

Revision 1667 - Directory Listing
Modified Tue Jan 19 20:33:25 2010 UTC (4 years, 3 months ago) by grobian
pass a C-string, instead of String type

Revision 1666 - Directory Listing
Modified Tue Jan 19 20:29:01 2010 UTC (4 years, 3 months ago) by grobian
Don't skip empty and duplicate path elements (for cmake, the bloody thing)

Revision 1665 - Directory Listing
Modified Tue Jan 19 20:27:46 2010 UTC (4 years, 3 months ago) by grobian
slightly change StringListRemoveString to accept a length parameter of the string to match and remove

Revision 1664 - Directory Listing
Modified Tue Jan 19 20:15:00 2010 UTC (4 years, 3 months ago) by grobian
Add StringListRemoveString function

Revision 1663 - Directory Listing
Modified Wed Dec 23 10:17:51 2009 UTC (4 years, 4 months ago) by grobian
try not to confuse by using different capitals

Revision 1662 - Directory Listing
Modified Wed Dec 23 10:14:39 2009 UTC (4 years, 4 months ago) by grobian
Allow to switch dumping the eventual call args at runtime

Revision 1661 - Directory Listing
Modified Wed Dec 23 10:02:00 2009 UTC (4 years, 4 months ago) by grobian
fix comment

Revision 1660 - Directory Listing
Modified Tue Aug 18 19:07:43 2009 UTC (4 years, 8 months ago) by grobian
add support for Snow Leopard (10.6) and a big deal into the future

Revision 1659 - Directory Listing
Modified Mon Jul 27 11:44:01 2009 UTC (4 years, 8 months ago) by haubi
fixed missing NULL-termination when adding '-B immediate' flags, results in 'Not enough space' errors

Revision 1658 - Directory Listing
Modified Mon Jul 20 16:42:29 2009 UTC (4 years, 9 months ago) by haubi
pass '-B immediate' to work around occasional loader troubles

Revision 1656 - Directory Listing
Modified Thu Jul 9 12:33:36 2009 UTC (4 years, 9 months ago) by haubi
do not add duplicate runpath upon '+b :'

Revision 1655 - Directory Listing
Modified Mon Jul 6 14:19:20 2009 UTC (4 years, 9 months ago) by haubi
always filter all default lib- and runpaths added by gcc and ld from
cmdline, re-add gcc-ones always and ld-defaults upon "+b :" only.


Revision 1654 - Directory Listing
Modified Mon Jul 6 12:41:01 2009 UTC (4 years, 9 months ago) by haubi
Know more system locations gcc does search in. Uniqify libpath and runpath.
hppa-hpux (32bit SOM) support: Automagically drop ${D} from runpath and
fallback locations when detecting the need for to allow for full DESTDIR
support with old libtool via elibtoolize.


Revision 1653 - Directory Listing
Modified Wed Jul 1 20:25:32 2009 UTC (4 years, 9 months ago) by haubi
added support for bootstrapping with subversion-1.6 client.


Revision 1652 - Directory Listing
Modified Wed Jul 1 20:14:40 2009 UTC (4 years, 9 months ago) by haubi
Added hppa-hpux support, hopefully without breaking ia64-hpux.
Basically knows about all ia64/ia64w/hppa/hppa64, but untested.


Revision 1646 - Directory Listing
Modified Sat Mar 21 14:55:33 2009 UTC (5 years, 1 month ago) by grobian
inline some small funcs

Revision 1645 - Directory Listing
Modified Sat Mar 21 14:40:41 2009 UTC (5 years, 1 month ago) by grobian
alloca inside a loop is just too scary, use a fixed buffer instead

Revision 1644 - Directory Listing
Modified Sat Mar 21 14:28:47 2009 UTC (5 years, 1 month ago) by grobian
squash compiler warnings (unused variables, unused computed values)

Revision 1643 - Directory Listing
Modified Sat Mar 21 14:09:47 2009 UTC (5 years, 1 month ago) by grobian
auto guess macosx-version-min value, as it's not worth dying for

Revision 1642 - Directory Listing
Modified Sat Mar 21 13:33:33 2009 UTC (5 years, 1 month ago) by grobian
A compiling version of the previous patch, copy string if need to, since we can't write in read-only defined strings

Revision 1641 - Directory Listing
Modified Sat Mar 21 13:14:16 2009 UTC (5 years, 1 month ago) by grobian
if we happen to find that the first part (up till : or EOS) of -R is not a path, make sure we push the entire original argument back, not just the first part (up till :) as that may not be everything, and does break the transparent behaviour.

Revision 1640 - Directory Listing
Modified Sat Mar 21 13:07:54 2009 UTC (5 years, 1 month ago) by grobian
decomplicate previous commit

Revision 1639 - Directory Listing
Modified Sat Mar 21 12:58:57 2009 UTC (5 years, 1 month ago) by grobian
Fix path check in case of -R, don't try to resolve a combined :-separated path

Revision 1638 - Directory Listing
Modified Thu Mar 19 19:01:19 2009 UTC (5 years, 1 month ago) by grobian
update copyrights

Revision 1637 - Directory Listing
Modified Sat Jan 31 21:51:13 2009 UTC (5 years, 2 months ago) by grobian
prefix pour moi

Revision 1636 - Directory Listing
Modified Sat Jan 31 21:47:42 2009 UTC (5 years, 2 months ago) by grobian
Don't forget about our BSD folks

Revision 1635 - Directory Listing
Modified Thu Nov 13 19:39:59 2008 UTC (5 years, 5 months ago) by haubi
added FreeMiNT support (*-mint*), thanks to Alan Hourihane <alanh@fairlite.co.uk>

Revision 1633 - Directory Listing
Modified Mon Jun 30 09:17:41 2008 UTC (5 years, 9 months ago) by haubi
ld/create-ldwrapper.in: avoid using 'eerror'

Revision 1632 - Directory Listing
Modified Mon Jun 23 19:18:04 2008 UTC (5 years, 10 months ago) by grobian
nuke multilib mess, we're no longer using it on Linux

Revision 1631 - Directory Listing
Modified Fri May 9 09:17:44 2008 UTC (5 years, 11 months ago) by haubi
no need to parse -L args in plugin any more.
don't forget to add '+s' on proper place if initially given.

Revision 1630 - Directory Listing
Modified Fri May 9 06:25:24 2008 UTC (5 years, 11 months ago) by haubi
keep putting library path into runpath if no runpath specified on aix

Revision 1627 - Directory Listing
Modified Mon Apr 21 18:37:05 2008 UTC (6 years ago) by haubi
another attempt to get libpath,runpath for cross-triplet,cross-prefix,use-root right

Revision 1625 - Directory Listing
Modified Mon Apr 21 09:39:21 2008 UTC (6 years ago) by haubi
provide root (without trailing slash), eprefix and triplet for both host and target in LdPluginIn data

Revision 1624 - Directory Listing
Modified Mon Apr 21 09:37:29 2008 UTC (6 years ago) by haubi
use env-CC if set, else CC used during build, saved as HOST_CC.
This works now with arguments passed through CC, although might not work with blanks in path.

Revision 1623 - Directory Listing
Modified Mon Apr 21 09:34:50 2008 UTC (6 years ago) by haubi
don't need to create m4 subdirectory for bootstrap

Revision 1621 - Directory Listing
Modified Tue Apr 15 07:11:11 2008 UTC (6 years ago) by haubi
fixed compilation errors for amd64 (#217745)

Revision 1620 - Directory Listing
Modified Mon Apr 14 15:13:26 2008 UTC (6 years ago) by grobian
No reason to exclude Panther (10.3), as it probably still works for a large part.

Revision 1614 - Directory Listing
Modified Mon Apr 14 09:44:33 2008 UTC (6 years ago) by haubi
reworked adding of host system's libdirs to avoid duplicates

Revision 1613 - Directory Listing
Modified Mon Apr 14 07:59:29 2008 UTC (6 years ago) by haubi
renamed 'binutils-libdir' to 'toolchain-libdir' in debug output

Revision 1612 - Directory Listing
Modified Thu Apr 10 19:29:15 2008 UTC (6 years ago) by grobian
It helps a lot if you get the flag name right

Revision 1611 - Directory Listing
Modified Wed Apr 9 20:28:40 2008 UTC (6 years ago) by grobian
First steps on wet ice.

Pass -macosx_min_version argument onto the linker, holding a value set
at configure time using --with-macosx-version-min



Revision 1610 - Directory Listing
Modified Tue Apr 8 13:32:04 2008 UTC (6 years ago) by haubi
Bumped to 0.3 branch.
Dropped binutils-config.in, instead added ld/create-ldwrapper.in,
to be called from within binutils-config like a plugin.
Dropped version number from usr/lib/misc/binutils-config install dir.
Do not search for gcc, use usr/<chost>[/<ctarget>]/lib/gcc as gcc-ldpath instead.


Revision 1608 - Directory Listing
Modified Mon Mar 3 11:07:15 2008 UTC (6 years, 1 month ago) by haubi
more intelligent check if to add build-eprefix' system-libdirs to host-eprefix' runpath.

Revision 1607 - Directory Listing
Modified Thu Feb 28 15:25:43 2008 UTC (6 years, 1 month ago) by haubi
actually add_host_system_libdirs() when
building natively, and ROOT is empty, and this is cross-EPREFIX

Revision 1606 - Directory Listing
Modified Tue Feb 26 09:10:50 2008 UTC (6 years, 1 month ago) by haubi
added interix as known platform

Revision 1605 - Directory Listing
Modified Wed Feb 6 14:55:40 2008 UTC (6 years, 2 months ago) by haubi
fixed aix plugin to behave more like aix system ld regarding options
-bsvr4, -R<runpath>, -blibpath:<runpath>, -bnolibpath. But still
keep extension to understand "-R<runpath>" even without "-bsvr4".


Revision 1604 - Directory Listing
Modified Wed Feb 6 14:52:55 2008 UTC (6 years, 2 months ago) by haubi
added StringListClear()

Revision 1603 - Directory Listing
Modified Wed Feb 6 14:49:26 2008 UTC (6 years, 2 months ago) by haubi
missing '/' in PATH and ROOTPATH environment

Revision 1602 - Directory Listing
Modified Mon Feb 4 21:42:40 2008 UTC (6 years, 2 months ago) by haubi
during binutils-config for native ld, ld-wrapper is configured using env-vars
to use the new binutils without etc/env.d/ configfile, because this is
invalid in case that version might have just been unmerged.


Revision 1601 - Directory Listing
Modified Mon Feb 4 17:56:28 2008 UTC (6 years, 2 months ago) by haubi
set BINPATH into PATH during binutils-config to allow finding new ld,
the old one may be unmerged already (native only).


Revision 1600 - Directory Listing
Modified Sun Feb 3 20:30:47 2008 UTC (6 years, 2 months ago) by haubi
cross binutils-config also works now

Revision 1599 - Directory Listing
Modified Sun Feb 3 19:57:43 2008 UTC (6 years, 2 months ago) by haubi
do not remove old ld wrapper before the new one is linke

Revision 1598 - Directory Listing
Modified Sun Feb 3 19:56:56 2008 UTC (6 years, 2 months ago) by haubi
various warning fixes

Revision 1597 - Directory Listing
Modified Sat Feb 2 14:53:26 2008 UTC (6 years, 2 months ago) by haubi
more cross-/native-compilation, fixed plugins

Revision 1596 - Directory Listing
Modified Thu Jan 31 11:04:08 2008 UTC (6 years, 2 months ago) by haubi
added cross-compilation support.


Revision 1594 - Directory Listing
Modified Thu Jan 31 10:42:35 2008 UTC (6 years, 2 months ago) by haubi
ignoring 'version'

Revision 1593 - Directory Listing
Modified Fri Nov 2 11:07:00 2007 UTC (6 years, 5 months ago) by haubi
bumped version to 0.1.0.svnversion

Revision 1592 - Directory Listing
Modified Fri Nov 2 11:02:34 2007 UTC (6 years, 5 months ago) by haubi
added svn:keywords property to bootstrap

Revision 1591 - Directory Listing
Added Fri Nov 2 10:58:02 2007 UTC (6 years, 5 months ago) by haubi
initial import of toolchain-prefix-wrapper


Sticky Revision:

  ViewVC Help
Powered by ViewVC 1.1.20