* [gentoo-doc-cvs] cvs commit: prelink-howto.xml
@ 2006-10-20 21:42 Jan Kundrat
0 siblings, 0 replies; 6+ messages in thread
From: Jan Kundrat @ 2006-10-20 21:42 UTC (permalink / raw
To: gentoo-doc-cvs
jkt 06/10/20 21:42:09
Modified: prelink-howto.xml
Log:
#152135, location of kde-specific file under /etc/env.d/ has changed
Revision Changes Path
1.41 xml/htdocs/doc/en/prelink-howto.xml
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/prelink-howto.xml?rev=1.41&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/prelink-howto.xml?rev=1.41&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/prelink-howto.xml?r1=1.40&r2=1.41
Index: prelink-howto.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/prelink-howto.xml,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- prelink-howto.xml 28 May 2006 12:46:01 -0000 1.40
+++ prelink-howto.xml 20 Oct 2006 21:42:09 -0000 1.41
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding="UTF-8"?>
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/prelink-howto.xml,v 1.40 2006/05/28 12:46:01 nightmorph Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/prelink-howto.xml,v 1.41 2006/10/20 21:42:09 jkt Exp $ -->
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
<guide link="/doc/en/prelink-howto.xml">
<title>Gentoo Linux Prelink Guide</title>
@@ -27,7 +27,7 @@
<license/>
-<version>1.14</version>
+<version>1.15</version>
<date>2006-05-28</date>
<chapter>
@@ -260,7 +260,7 @@
</p>
<p>
-Set <c>KDE_IS_PRELINKED="true"</c> in <path>/etc/env.d/99kde-env</path> to
+Set <c>KDE_IS_PRELINKED="true"</c> in <path>/etc/env.d/45kdepaths-*</path> to
inform KDE about the prelinking.
</p>
--
gentoo-doc-cvs@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-doc-cvs] cvs commit: prelink-howto.xml
@ 2007-04-03 3:50 Josh Saddler
0 siblings, 0 replies; 6+ messages in thread
From: Josh Saddler @ 2007-04-03 3:50 UTC (permalink / raw
To: gentoo-doc-cvs
nightmorph 07/04/03 03:50:09
Modified: prelink-howto.xml
Log:
added section on removing prelink and prelinked binaries, bug 173190
Revision Changes Path
1.45 xml/htdocs/doc/en/prelink-howto.xml
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/prelink-howto.xml?rev=1.45&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/prelink-howto.xml?rev=1.45&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/prelink-howto.xml?r1=1.44&r2=1.45
Index: prelink-howto.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/prelink-howto.xml,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- prelink-howto.xml 29 Nov 2006 15:48:57 -0000 1.44
+++ prelink-howto.xml 3 Apr 2007 03:50:09 -0000 1.45
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding="UTF-8"?>
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/prelink-howto.xml,v 1.44 2006/11/29 15:48:57 nightmorph Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/prelink-howto.xml,v 1.45 2007/04/03 03:50:09 nightmorph Exp $ -->
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
<guide link="/doc/en/prelink-howto.xml">
<title>Gentoo Linux Prelink Guide</title>
@@ -27,8 +27,8 @@
<license/>
-<version>1.16</version>
-<date>2006-05-28</date>
+<version>1.17</version>
+<date>2007-04-02</date>
<chapter>
<title>Introduction</title>
@@ -248,7 +248,6 @@
</body>
</section>
-
<section>
<title>Speeding Up KDE After Prelinking</title>
<body>
@@ -266,6 +265,31 @@
</body>
</section>
+<section>
+<title>Removing prelink</title>
+<body>
+
+<p>
+If you ever change your mind about prelinking, before you unmerge prelink,
+you'll first need to remove the prelink cronjob from
+<path>/etc/cron.daily</path> and <path>/etc/conf.d/prelink</path>. Next, you'll
+have to remove prelinking from all binaries:
+</p>
+
+<pre caption="Removing prelinking from all binaries">
+# <i>prelink -au</i>
+</pre>
+
+<p>
+Finally, unmerge the <c>prelink</c> package itself:
+</p>
+
+<pre caption="Unmerging prelink">
+# <i>emerge -aC prelink</i>
+</pre>
+
+</body>
+</section>
</chapter>
<chapter>
--
gentoo-doc-cvs@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-doc-cvs] cvs commit: prelink-howto.xml
@ 2006-10-20 21:43 Jan Kundrat
0 siblings, 0 replies; 6+ messages in thread
From: Jan Kundrat @ 2006-10-20 21:43 UTC (permalink / raw
To: gentoo-doc-cvs
jkt 06/10/20 21:43:37
Modified: prelink-howto.xml
Log:
the actual number differs among KDE releases, sorry for noise
Revision Changes Path
1.42 xml/htdocs/doc/en/prelink-howto.xml
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/prelink-howto.xml?rev=1.42&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/prelink-howto.xml?rev=1.42&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/prelink-howto.xml?r1=1.41&r2=1.42
Index: prelink-howto.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/prelink-howto.xml,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- prelink-howto.xml 20 Oct 2006 21:42:09 -0000 1.41
+++ prelink-howto.xml 20 Oct 2006 21:43:37 -0000 1.42
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding="UTF-8"?>
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/prelink-howto.xml,v 1.41 2006/10/20 21:42:09 jkt Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/prelink-howto.xml,v 1.42 2006/10/20 21:43:37 jkt Exp $ -->
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
<guide link="/doc/en/prelink-howto.xml">
<title>Gentoo Linux Prelink Guide</title>
@@ -27,7 +27,7 @@
<license/>
-<version>1.15</version>
+<version>1.16</version>
<date>2006-05-28</date>
<chapter>
@@ -260,7 +260,7 @@
</p>
<p>
-Set <c>KDE_IS_PRELINKED="true"</c> in <path>/etc/env.d/45kdepaths-*</path> to
+Set <c>KDE_IS_PRELINKED="true"</c> in <path>/etc/env.d/*kdepaths*</path> to
inform KDE about the prelinking.
</p>
--
gentoo-doc-cvs@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-doc-cvs] cvs commit: prelink-howto.xml
@ 2006-05-28 12:46 Josh Saddler
0 siblings, 0 replies; 6+ messages in thread
From: Josh Saddler @ 2006-05-28 12:46 UTC (permalink / raw
To: gentoo-doc-cvs
nightmorph 06/05/28 12:46:01
Modified: prelink-howto.xml
Log:
Updated prelink howto for bug 134578
Revision Changes Path
1.40 xml/htdocs/doc/en/prelink-howto.xml
file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/prelink-howto.xml?rev=1.40&content-type=text/x-cvsweb-markup&cvsroot=gentoo
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/prelink-howto.xml?rev=1.40&content-type=text/plain&cvsroot=gentoo
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/prelink-howto.xml.diff?r1=1.39&r2=1.40&cvsroot=gentoo
Index: prelink-howto.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/prelink-howto.xml,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- prelink-howto.xml 25 Apr 2006 10:39:44 -0000 1.39
+++ prelink-howto.xml 28 May 2006 12:46:01 -0000 1.40
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding="UTF-8"?>
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/prelink-howto.xml,v 1.39 2006/04/25 10:39:44 neysx Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/prelink-howto.xml,v 1.40 2006/05/28 12:46:01 nightmorph Exp $ -->
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
<guide link="/doc/en/prelink-howto.xml">
<title>Gentoo Linux Prelink Guide</title>
@@ -21,14 +21,14 @@
</author>
<abstract>
-This guide informs on how to make use of prelink support in portage
-2.0.46 and later.
+This guide tells you how to make use of prelink support in Portage 2.0.46 and
+later.
</abstract>
<license/>
-<version>1.13</version>
-<date>2006-04-21</date>
+<version>1.14</version>
+<date>2006-05-28</date>
<chapter>
<title>Introduction</title>
@@ -133,7 +133,8 @@
<p>
If you have a set of steps that reproduces the emerge error on another system
-please e-mail them to <mail link="cretin@gentoo.org">Stefan Jones</mail>.
+please check <uri link="http://bugzilla.gentoo.org">Bugzilla</uri> and create a
+bug report if it has not already been reported.
</p>
</body>
@@ -363,6 +364,35 @@
</body>
</section>
+<section>
+<title>
+Prelink fails with error "prelink: Can't walk directory tree XXXX: Too many
+levels of symbolic links"
+</title>
+<body>
+
+<p>
+Your symlinks are nested too deeply. This happens when a symlink points to
+itself. For example, <path>/usr/lib/lib -> lib</path> is the most common. To
+fix this, you can find the symlink manually or use the utility provided by the
+<c>symlinks</c> package:
+</p>
+
+<pre caption="Fix symlinks">
+# <i>emerge symlinks</i>
+# <i>symlinks -drv /</i>
+</pre>
+
+<p>
+More details can be found at <uri
+link="http://bugs.gentoo.org/show_bug.cgi?id=82117">Bugzilla</uri> and this
+<uri
+link="http://forums.gentoo.org/viewtopic-t-458144-highlight-prelink.html">forum
+post</uri>.
+</p>
+
+</body>
+</section>
</chapter>
<chapter>
--
gentoo-doc-cvs@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-doc-cvs] cvs commit: prelink-howto.xml
@ 2006-04-25 10:39 Xavier Neys
0 siblings, 0 replies; 6+ messages in thread
From: Xavier Neys @ 2006-04-25 10:39 UTC (permalink / raw
To: gentoo-doc-cvs
neysx 06/04/25 10:39:44
Modified: prelink-howto.xml
Log:
Removed trailing spaces
Revision Changes Path
1.39 xml/htdocs/doc/en/prelink-howto.xml
file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/prelink-howto.xml?rev=1.39&content-type=text/x-cvsweb-markup&cvsroot=gentoo
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/prelink-howto.xml?rev=1.39&content-type=text/plain&cvsroot=gentoo
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/prelink-howto.xml.diff?r1=1.38&r2=1.39&cvsroot=gentoo
Index: prelink-howto.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/prelink-howto.xml,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- prelink-howto.xml 25 Apr 2006 10:39:04 -0000 1.38
+++ prelink-howto.xml 25 Apr 2006 10:39:44 -0000 1.39
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding="UTF-8"?>
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/prelink-howto.xml,v 1.38 2006/04/25 10:39:04 neysx Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/prelink-howto.xml,v 1.39 2006/04/25 10:39:44 neysx Exp $ -->
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
<guide link="/doc/en/prelink-howto.xml">
<title>Gentoo Linux Prelink Guide</title>
@@ -48,7 +48,7 @@
On most systems, libraries are not changed very often and when a program is
run, the operations taken to link the program are the same every time.
Prelink takes advantage of this by carrying out the linking and storing it
-in the executable, in effect prelinking it.
+in the executable, in effect prelinking it.
</p>
<p>
@@ -108,7 +108,7 @@
<body>
<p>
-First you need to install the <c>prelink</c> tool. The emerge process
+First you need to install the <c>prelink</c> tool. The emerge process
automatically verifies that your system can prelink safely.
</p>
@@ -163,7 +163,7 @@
</pre>
<p>
-Unfortunately you cannot prelink files that were compiled by old versions
+Unfortunately you cannot prelink files that were compiled by old versions
of binutils. Most of these applications come from pre-compiled, binary
only packages which are installed in <path>/opt</path>. Making the
following file will tell prelink not to attempt to prelink them.
@@ -215,14 +215,14 @@
<tr>
<th>-m</th>
<ti>
- Conserve the virtual memory space. This is needed if you
+ Conserve the virtual memory space. This is needed if you
have a lot of libraries that need to be prelinked.
</ti>
</tr>
<tr>
<th>-R</th>
<ti>
- Random -- randomize the address ordering, this enhances
+ Random -- randomize the address ordering, this enhances
security against buffer overflows.
</ti>
</tr>
@@ -288,7 +288,7 @@
wouldn't speed up MS Windows executables anyway.
</li>
<li>
- The library in media-video/mjpegtools,
+ The library in media-video/mjpegtools,
<path>/usr/lib/liblavfile-1.6.so.0</path>.
</li>
<li>
@@ -355,14 +355,14 @@
<p>
In order to prelink on a system with grsecurity using a
-randomized mmap() base, it is necessary to turn "randomized mmap()
+randomized mmap() base, it is necessary to turn "randomized mmap()
base" OFF for <path>/lib/ld-2.3.*.so</path>. This can be done with
the <c>chpax</c> utility, but it must be done when the file is not
in use (f.i. boot from a rescue CD).
</p>
</body>
-</section>
+</section>
</chapter>
<chapter>
--
gentoo-doc-cvs@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-doc-cvs] cvs commit: prelink-howto.xml
@ 2006-04-25 10:39 Xavier Neys
0 siblings, 0 replies; 6+ messages in thread
From: Xavier Neys @ 2006-04-25 10:39 UTC (permalink / raw
To: gentoo-doc-cvs
neysx 06/04/25 10:39:05
Modified: prelink-howto.xml
Log:
Update from #130800
Revision Changes Path
1.38 xml/htdocs/doc/en/prelink-howto.xml
file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/prelink-howto.xml?rev=1.38&content-type=text/x-cvsweb-markup&cvsroot=gentoo
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/prelink-howto.xml?rev=1.38&content-type=text/plain&cvsroot=gentoo
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/prelink-howto.xml.diff?r1=1.37&r2=1.38&cvsroot=gentoo
Index: prelink-howto.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/prelink-howto.xml,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- prelink-howto.xml 6 Mar 2006 09:18:30 -0000 1.37
+++ prelink-howto.xml 25 Apr 2006 10:39:04 -0000 1.38
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding="UTF-8"?>
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/prelink-howto.xml,v 1.37 2006/03/06 09:18:30 neysx Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/prelink-howto.xml,v 1.38 2006/04/25 10:39:04 neysx Exp $ -->
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
<guide link="/doc/en/prelink-howto.xml">
<title>Gentoo Linux Prelink Guide</title>
@@ -27,9 +27,8 @@
<license/>
-<version>1.12</version>
-<date>2005-04-21</date>
-
+<version>1.13</version>
+<date>2006-04-21</date>
<chapter>
<title>Introduction</title>
@@ -59,6 +58,13 @@
for a pre-linked executable.
</p>
+<warn>
+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.
+</warn>
+
</body>
</section>
<section>
@@ -137,12 +143,6 @@
<body>
<p>
-Next you should activate the "pic" USE flag in your <path>/etc/make.conf</path>
-Don't forget to run <c>emerge --update --deep --newuse world</c> so that the USE
-flag change is incorporated in your system.
-</p>
-
-<p>
Also make sure that you do <e>not</e> have -fPIC set in your CFLAGS/CXXFLAGS. If
you do, you will need to rebuild your entire system without.
</p>
@@ -235,6 +235,20 @@
</body>
</section>
<section>
+<title>Prelink Cron Job</title>
+<body>
+
+<p>
+<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.
+</p>
+
+</body>
+</section>
+
+<section>
<title>Speeding Up KDE After Prelinking</title>
<body>
@@ -256,7 +270,7 @@
<chapter>
<title>Known Problems and Fixes</title>
<section>
-<title>"Cannot prelink against non-PIC shared library"</title>
+<title>"Cannot prelink against non-PIC shared library"</title>
<body>
<p>
@@ -277,6 +291,11 @@
The library in media-video/mjpegtools,
<path>/usr/lib/liblavfile-1.6.so.0</path>.
</li>
+ <li>
+ Nvidia OpenGl libraries,
+ <path>/usr/lib/opengl/nvidia/lib/libGL.so.*</path>. Due to performance
+ reasons they were compiled without PIC support.
+ </li>
</ul>
<p>
@@ -297,7 +316,7 @@
</p>
<p>
-"I suppose the idea is that everything will be in the downloaded file,
+"I suppose the idea is that everything will be in the downloaded file,
so nothing depends on the local libraries on the target system. Unfortunately
with Linux, and I think anything else using GLIBC, this still isn't quite
true. There's this "libnss" (name service switch, some people seem to call it
@@ -309,14 +328,14 @@
it is configured for each machine individually. The problem comes, I think,
mainly from statically linking other GLIBC libraries, notably "libpthread",
"libm", and "libc", from which come incompatible calls to "libnss"
-functions."
+functions."
</p>
</body>
</section>
<section>
-<title>Prelink aborts with "prelink: dso.c:306: fdopen_dso: Assertion
-`j == k' failed."</title>
+<title>Prelink aborts with "prelink: dso.c:306: fdopen_dso: Assertion
+`j == k' failed."</title>
<body>
<p>
--
gentoo-doc-cvs@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-04-03 3:50 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-20 21:42 [gentoo-doc-cvs] cvs commit: prelink-howto.xml Jan Kundrat
-- strict thread matches above, loose matches on Subject: below --
2007-04-03 3:50 Josh Saddler
2006-10-20 21:43 Jan Kundrat
2006-05-28 12:46 Josh Saddler
2006-04-25 10:39 Xavier Neys
2006-04-25 10:39 Xavier Neys
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox