This is a discussion on fresh installation - Rebuild all to use "prelink" ? within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> Hi all, I just finished yesterday, my new installation of Gentoo 1.4 from stage1 (with CFLAG="-march=athlon-xp -O2 -pipe -fomit-frame-pointer". ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi all, I just finished yesterday, my new installation of Gentoo 1.4 from stage1 (with CFLAG="-march=athlon-xp -O2 -pipe -fomit-frame-pointer". I juste finished the "emerge system", and "emerge Xfree" (no kde, no gnome, and no optionals apps). All seems to work very well, and I was very happy. But, I also would like to use prelink, and I just read that I need to add -fPIC in my CFLAG and also a "pic" parameter to my "USE" variable.... So I have take a look at the book, and they say that we have to re-emerge Xfree with those parameters activated... Anyway, which packages are concerned ? Is it better to reinstall all ? Tell me that it's not true.. Please... :-)) Can you give me the exact list of what I need to rebuild (the manual doesn't tell anything about Glibc... Hummm... it seems strange) Thanks a lot in advance, Olivier |
| |||
| On Mon, 16 Feb 2004 17:19:45 +0100, "Olivier P." <désolépasdespam> wrote in <4030eda2$0$22405$626a14ce@news.free.fr>: > Hi all, > > I just finished yesterday, my new installation of Gentoo 1.4 from stage1 > (with CFLAG="-march=athlon-xp -O2 -pipe -fomit-frame-pointer". I juste > finished the "emerge system", and "emerge Xfree" (no kde, no gnome, and > no optionals apps). All seems to work very well, and I was very happy. > > But, I also would like to use prelink, and I just read that I need to > add -fPIC in my CFLAG and also a "pic" parameter to my "USE" > variable.... > > So I have take a look at the book, and they say that we have to > re-emerge Xfree with those parameters activated... Anyway, which > packages are concerned ? Is it better to reinstall all ? > > Tell me that it's not true.. Please... :-)) Can you give me the exact > list of what I need to rebuild (the manual doesn't tell anything about > Glibc... Hummm... it seems strange) I think your using some out of date info, because according to this, pic is not even a valid use flag (any more): http://www.gentoo.org/dyn/use-index.xml And from what I've seen with most compiles -fPIC is added automatically. I've been using prelink for quite some time now without either of these options set, and no problems. You might want to check the forums about prelinking though, I remember seeing something about some gcc version causing unwanted effects, but if this is a fresh install, you're likely to be safe... http://forums.gentoo.org/index.php Sharku -- Customer: "What does UART stand for anyway??" Tech Support: "It stands for UART gettin' online" |
| |||
| On Mon, 16 Feb 2004 17:15:09 GMT, Sharku <sharkuc_SPAMTRAP_@yahoo.com.invalid> wrote: >On Mon, 16 Feb 2004 17:19:45 +0100, "Olivier P." <désolépasdespam> wrote >in <4030eda2$0$22405$626a14ce@news.free.fr>: > >> Hi all, >> >> I just finished yesterday, my new installation of Gentoo 1.4 from stage1 >> (with CFLAG="-march=athlon-xp -O2 -pipe -fomit-frame-pointer". I juste >> finished the "emerge system", and "emerge Xfree" (no kde, no gnome, and >> no optionals apps). All seems to work very well, and I was very happy. >> >> But, I also would like to use prelink, and I just read that I need to >> add -fPIC in my CFLAG and also a "pic" parameter to my "USE" >> variable.... >> >> So I have take a look at the book, and they say that we have to >> re-emerge Xfree with those parameters activated... Anyway, which >> packages are concerned ? Is it better to reinstall all ? >> >> Tell me that it's not true.. Please... :-)) Can you give me the exact >> list of what I need to rebuild (the manual doesn't tell anything about >> Glibc... Hummm... it seems strange) > >I think your using some out of date info, because according to this, pic >is not even a valid use flag (any more): >http://www.gentoo.org/dyn/use-index.xml > >And from what I've seen with most compiles -fPIC is added automatically. >I've been using prelink for quite some time now without either of these >options set, and no problems. You might want to check the forums about >prelinking though, I remember seeing something about some gcc version >causing unwanted effects, but if this is a fresh install, you're likely to >be safe... >http://forums.gentoo.org/index.php > >Sharku "pic" is still listed as a valid flag in ufed. |
| ||||
| "Olivier P." <désolépasdespam> wrote: > Hi all, > > I just finished yesterday, my new installation of Gentoo 1.4 from stage1 > (with CFLAG="-march=athlon-xp -O2 -pipe -fomit-frame-pointer". > I juste finished the "emerge system", and "emerge Xfree" (no kde, no > gnome, and no optionals apps). All seems to work very well, and I was very > happy. > > But, I also would like to use prelink, and I just read that I need to > add -fPIC in my CFLAG and also a "pic" parameter to my "USE" variable.... > > So I have take a look at the book, and they say that we have to re-emerge > Xfree with those parameters activated... > Anyway, which packages are concerned ? Is it better to reinstall all ? > > Tell me that it's not true.. Please... :-)) Can you give me the exact list > of what I need to rebuild (the manual doesn't tell anything about Glibc... > Hummm... it seems strange) > > Thanks a lot in advance, > Olivier It's easy. Since you've got a new installation, it'll take less time. First, add pic to your use line in /etc/make.conf file. While you're there, you may want to look over your compiler flags too. I run some compiler tweaks here on my athlon systems and they all run fine. Once you're done with that file, issue an: emerge -ue world and go see a movie or two... maybe go to bed and let the machine compile all night... Once done, all the packages you have previously installed, will be recompiled using the new use switch and compiler tweaks. Uhh... before you do this, try a "man emerge" and brush up a bit. |
| Thread Tools | |
| Display Modes | |
|
|