Lines 27-34
Link Here
|
27 |
|
27 |
|
28 |
<license/> |
28 |
<license/> |
29 |
|
29 |
|
30 |
<version>1.12</version> |
30 |
<version>1.13</version> |
31 |
<date>2005-04-21</date> |
31 |
<date>2006-04-21</date> |
32 |
|
32 |
|
33 |
|
33 |
|
34 |
<chapter> |
34 |
<chapter> |
Lines 59-64
Link Here
|
59 |
for a pre-linked executable. |
59 |
for a pre-linked executable. |
60 |
</p> |
60 |
</p> |
61 |
|
61 |
|
|
|
62 |
<warn> |
63 |
Prelink will not work with Hardened Gentoo. This is because both projects try to change the address space mapping of shared libraries. But prelink with the -R option randomises library base addresses, providing some degree of hardened protection. |
64 |
</warn> |
65 |
|
62 |
</body> |
66 |
</body> |
63 |
</section> |
67 |
</section> |
64 |
<section> |
68 |
<section> |
Lines 137-148
Link Here
|
137 |
<body> |
141 |
<body> |
138 |
|
142 |
|
139 |
<p> |
143 |
<p> |
140 |
Next you should activate the "pic" USE flag in your <path>/etc/make.conf</path> |
|
|
141 |
Don't forget to run <c>emerge --update --deep --newuse world</c> so that the USE |
142 |
flag change is incorporated in your system. |
143 |
</p> |
144 |
|
145 |
<p> |
146 |
Also make sure that you do <e>not</e> have -fPIC set in your CFLAGS/CXXFLAGS. If |
144 |
Also make sure that you do <e>not</e> have -fPIC set in your CFLAGS/CXXFLAGS. If |
147 |
you do, you will need to rebuild your entire system without. |
145 |
you do, you will need to rebuild your entire system without. |
148 |
</p> |
146 |
</p> |
Lines 235-240
Link Here
|
235 |
</body> |
233 |
</body> |
236 |
</section> |
234 |
</section> |
237 |
<section> |
235 |
<section> |
|
|
236 |
<title>Prelink Cron Job</title> |
237 |
<body> |
238 |
|
239 |
<p> |
240 |
<c>sys-devel/prelink-20060213</c> and later install a cron job in <path>/etc/cron.daily/prelink</path>. To enable it edit the configuration file <path>/etc/conf.d/prelink</path>. This will run prelink daily in the background, as needed, saving you running the command manually. |
241 |
</p> |
242 |
|
243 |
</body> |
244 |
</section> |
245 |
|
246 |
<section> |
238 |
<title>Speeding Up KDE After Prelinking</title> |
247 |
<title>Speeding Up KDE After Prelinking</title> |
239 |
<body> |
248 |
<body> |
240 |
|
249 |
|
Lines 277-282
Link Here
|
277 |
The library in media-video/mjpegtools, |
286 |
The library in media-video/mjpegtools, |
278 |
<path>/usr/lib/liblavfile-1.6.so.0</path>. |
287 |
<path>/usr/lib/liblavfile-1.6.so.0</path>. |
279 |
</li> |
288 |
</li> |
|
|
289 |
<li> |
290 |
Nvidia OpenGl libraries, <path>/usr/lib/opengl/nvidia/lib/libGL.so.*</path>. |
291 |
Due to performance reasons they were compiled without PIC support. |
292 |
</li> |
280 |
</ul> |
293 |
</ul> |
281 |
|
294 |
|
282 |
<p> |
295 |
<p> |