1 |
vapier 09/03/01 08:09:44 |
2 |
|
3 |
Modified: toolchain-funcs.eclass |
4 |
Log: |
5 |
add more comments to the linker script |
6 |
|
7 |
Revision Changes Path |
8 |
1.87 eclass/toolchain-funcs.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-funcs.eclass?rev=1.87&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-funcs.eclass?rev=1.87&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-funcs.eclass?r1=1.86&r2=1.87 |
13 |
|
14 |
Index: toolchain-funcs.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v |
17 |
retrieving revision 1.86 |
18 |
retrieving revision 1.87 |
19 |
diff -u -r1.86 -r1.87 |
20 |
--- toolchain-funcs.eclass 25 Feb 2009 00:25:51 -0000 1.86 |
21 |
+++ toolchain-funcs.eclass 1 Mar 2009 08:09:44 -0000 1.87 |
22 |
@@ -1,6 +1,6 @@ |
23 |
# Copyright 1999-2007 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.86 2009/02/25 00:25:51 kumba Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.87 2009/03/01 08:09:44 vapier Exp $ |
27 |
|
28 |
# @ECLASS: toolchain-funcs.eclass |
29 |
# @MAINTAINER: |
30 |
@@ -435,10 +435,11 @@ |
31 |
fi |
32 |
cat > "${D}/usr/${libdir}/${lib}" <<-END_LDSCRIPT |
33 |
/* GNU ld script |
34 |
- Since Gentoo has critical dynamic libraries |
35 |
- in /lib, and the static versions in /usr/lib, |
36 |
- we need to have a "fake" dynamic lib in /usr/lib, |
37 |
- otherwise we run into linking problems. |
38 |
+ Since Gentoo has critical dynamic libraries in /lib, and the static versions |
39 |
+ in /usr/lib, we need to have a "fake" dynamic lib in /usr/lib, otherwise we |
40 |
+ run into linking problems. This "fake" dynamic lib is a linker script that |
41 |
+ redirects the linker to the real lib. And yes, this works in the cross- |
42 |
+ compiling scenario as the sysroot-ed linker will prepend the real path. |
43 |
|
44 |
See bug http://bugs.gentoo.org/4411 for more info. |
45 |
*/ |