Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Stage 1/3 Installation Guide for 2005.0 and GCC 3.4.3
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
ats2
Apprentice
Apprentice


Joined: 22 Apr 2005
Posts: 297

PostPosted: Mon May 02, 2005 2:38 pm    Post subject: Reply with quote

Sith_Happens wrote:
ats2 wrote:
BobP > I said I was sorry. Okay ? What can I do or say now ?
Just forget me if you feel you can't forgive such a crime (!), and everything's right.

Oh my, I have this smiley too : :roll:
Don't worry, he does this at the drop of a hat. No hard feelings eh? :wink:


Okay :) I'm a bit upset too (by me, I mean).
Back to top
View user's profile Send private message
Sir No
Apprentice
Apprentice


Joined: 01 May 2005
Posts: 159
Location: Poland

PostPosted: Mon May 02, 2005 7:55 pm    Post subject: Reply with quote

Very nice guide. Congratulations, Bob P! :mrgreen:

I've followed the instructions, but as you can see from my hobby (look at my profile ;)) I wouldn't be myself if I wouldn't deviate a bit here and there. I tried An emerge wrapper for correctly building the toolchain on my home machine once, but it took about 12 hours to build a toolchain...
Your solution was much quicker on the current build, which was good :D

Things I wanted to do differently:
* use new baselayout (~x86 actually), in order to...
* use UTF-8 over my whole system
It was very nice to see that you referred to the /etc/conf.d/hostname and /etc/conf.d/domainname files in your guide, too :P


So far, the machine still compiles... I'm just checking remotely how it goes. I will have access to it in two days, so only then I'll be able to do a reboot and see what happens. As new baselayout + UTF-8 will become defaults in future, consider me a tester for such combination. I'll try to post my evaluation results soon.

Thanks once again!
_________________
The geeks | Recommended Packages fOr Desktop & Server | Read BBCode Guide!
Back to top
View user's profile Send private message
SuperYak
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jan 2005
Posts: 76
Location: 41''13'38'' N - 96''01'19'' W

PostPosted: Wed May 04, 2005 5:45 pm    Post subject: Reply with quote

Bob P wrote:
until i get a chance to update the Guide: everyone please replace the "emerge -e system" statement in the Guide with "emerge -e system && emerge -e system".


I went through the whole guide, minus the second "emerge -e system" and my system appears to be working well. After installing I read the above post...Is it now necessary for me to "emerge -e system" again? I have already begun populating my world...

Thanks in advance.
Back to top
View user's profile Send private message
Sith_Happens
Veteran
Veteran


Joined: 15 Dec 2004
Posts: 1807
Location: The University of Maryland at College Park

PostPosted: Wed May 04, 2005 7:46 pm    Post subject: Reply with quote

SuperYak wrote:
Bob P wrote:
until i get a chance to update the Guide: everyone please replace the "emerge -e system" statement in the Guide with "emerge -e system && emerge -e system".


I went through the whole guide, minus the second "emerge -e system" and my system appears to be working well. After installing I read the above post...Is it now necessary for me to "emerge -e system" again? I have already begun populating my world...

Thanks in advance.
When ever you change your headers, glibc, etc... It is a good idea to rebuild your system a couple of times. Even if you've already started building your world packages, emerging the system a few more times won't hurt anything. Next time, put this kind of post in the support thread.
_________________
"That question was less stupid; though you asked it in a profoundly stupid way."
I'm the brains behind Jackass! | Tutorials: Shorewall
Back to top
View user's profile Send private message
Crazor
Tux's lil' helper
Tux's lil' helper


Joined: 23 Apr 2003
Posts: 131

PostPosted: Thu May 05, 2005 9:14 pm    Post subject: Reply with quote

<edit>nevermind...</edit>
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Sat May 07, 2005 6:00 pm    Post subject: Reply with quote

if you are considering performing a Stage 1/3 Install on any of the following architectures, you should check out The Jackass! Project instead.
    Pentium
    Pentium-MMX
    Pentium-Pro
    Pentium 2
    Pentium 3
    Pentium 4
    Athlon-XP

_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Sat May 07, 2005 6:01 pm    Post subject: Reply with quote

Code:
 _   _              _            _                 _
| |_| |__   ___    (_) __ _  ___| | ____ _ ___ ___| |
| __| '_ \ / _ \   | |/ _` |/ __| |/ / _` / __/ __| |
| |_| | | |  __/   | | (_| | (__|   < (_| \__ \__ \_|
 \__|_| |_|\___|  _/ |\__,_|\___|_|\_\__,_|___/___(_)
                 |__/


                          /\          /\
                         ( \\        // )
                          \ \\      // /
                           \_\\||||//_/
                            \/ _  _ \
                           \/|(O)(O)|
                          \/ |      |
      ___________________\/  \      /
     //                //     |____|
    //                ||     /      \
   //|                \|     \ 0  0 /
  // \       )         V    / \____/
 //   \     /        (     /
""     \   /_________|  |_/
       /  /\   /     |  ||
      /  / /  /      \  ||
      | |  | |        | ||
      | |  | |        | ||
      |_|  |_|        |_||
       \_\  \_\        \_\\



 _                 _                 _          _ _
| |__   __ _ ___  | | __ _ _ __   __| | ___  __| | |
| '_ \ / _` / __| | |/ _` | '_ \ / _` |/ _ \/ _` | |
| | | | (_| \__ \ | | (_| | | | | (_| |  __/ (_| |_|
|_| |_|\__,_|___/ |_|\__,_|_| |_|\__,_|\___|\__,_(_)


Official Release Announcement:

https://forums.gentoo.org/viewtopic-t-334276.html
_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
Old School
Apprentice
Apprentice


Joined: 20 Nov 2004
Posts: 252
Location: West Bank of the Coast Fork

PostPosted: Sun May 08, 2005 5:47 am    Post subject: Reply with quote

Bob P, thanks for the guide. 26 hours after booting the min. cd I am lisening to some Pink Floyd on xmms in my gnome environment. Compilation went without a hitch, resulting in a very stable system. Thanks again.javascript:emoticon(':)')
Back to top
View user's profile Send private message
gbkyle
Apprentice
Apprentice


Joined: 29 Nov 2004
Posts: 150
Location: Jersey

PostPosted: Wed May 11, 2005 8:28 pm    Post subject: Reply with quote

Hey, Great HOWTO, but on step 10.3 when installing gensplash I get a GCC error

gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"

gcc -o wrjpgcom .libs/wrjpgcom.o
gcc-config error: Could not run/locate "i386-pc-linux-gnu-g++"
make: *** [libjpeg.la] Error 1

!!! ERROR: media-libs/jpeg-6b-r4 failed.
!!! Function src_compile, Line 44, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.

Any ideas how to fix this? I tried
Code:
ln -s /usr/i686-pc-linux-gnu/gcc-bin/3.4.3-20050110/i686-pc-linux-gnu-gcc /usr/i686-pc-linux-gnu/gcc-bin/3.4.3-20050110/i386-pc-linux-gnu-gcc


Didn't work, any other suggestions? THank you :)
Back to top
View user's profile Send private message
mudrii
l33t
l33t


Joined: 26 Jun 2003
Posts: 789
Location: Singapore

PostPosted: Fri May 13, 2005 8:37 am    Post subject: Reply with quote

Hi all
I have some problem with your CFLAGS
Code:
CFLAGS="-O3 -march=pentium -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe"

For -momit-leaf-frame-pointe
Code:

To tell the compiler to stop adding debug information, remove the -g option from CFLAGS. Then, in its place, add -fomit-frame-pointer. This tells gcc to free up another of the x86's limited number of registers for general use, and is probably the single greatest improvement you can have, as gcc likes lots of registers. If you do want debug info and you're using gcc 3.X, you can keep the -g option and add -momit-leaf-frame-pointer. This gives you the advantages of -fomit-frame-pointer in some cases while still keeping useful debugging information.

Info from http://raevnos.pennmush.org/pennmush/opt.html
And why you do not include LDFLAGS in make.conf ?
_________________
www.gentoo.ro
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Fri May 13, 2005 3:28 pm    Post subject: Reply with quote

mudrii wrote:
Hi all
I have some problem with your CFLAGS
Code:
CFLAGS="-O3 -march=pentium -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe"

For -momit-leaf-frame-pointe
Code:

To tell the compiler to stop adding debug information, remove the -g option from CFLAGS. Then, in its place, add -fomit-frame-pointer. This tells gcc to free up another of the x86's limited number of registers for general use, and is probably the single greatest improvement you can have, as gcc likes lots of registers. If you do want debug info and you're using gcc 3.X, you can keep the -g option and add -momit-leaf-frame-pointer. This gives you the advantages of -fomit-frame-pointer in some cases while still keeping useful debugging information.

Info from http://raevnos.pennmush.org/pennmush/opt.html
I have no problem with those CFLAGS.
The GCC manual wrote:
-momit-leaf-frame-pointer
Don't keep the frame pointer in a register for leaf functions. This avoids the instructions to save, set up and restore frame pointers and makes an extra register available in leaf functions. The option -fomit-frame-pointer removes the frame pointer for all functions which might make debugging harder.

Info from http://gcc.gnu.org/onlinedocs/gcc-3.4.3/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options, emphasis mine.
mudrii wrote:
And why you do not include LDFLAGS in make.conf ?
Probably either because gbkyle isn't aware of its existence and usage, or because LDFLAGS breaks some stuff, notably packages that link against libmysqlclient.so.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
gbkyle
Apprentice
Apprentice


Joined: 29 Nov 2004
Posts: 150
Location: Jersey

PostPosted: Fri May 13, 2005 3:52 pm    Post subject: Reply with quote

I fixed it by removing the LDFLAGS
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Fri May 13, 2005 5:24 pm    Post subject: Reply with quote

gbkyle wrote:
I fixed it by removing the LDFLAGS


no surprises there. :wink: LDFLAGS aren't recommended in the Guide because as moocha pointed out, they can break things.

gents, THIS is a Documentation forum, not a Support forum. if you would be so kind as to post future support requests in the Support Thread, that would help everyone, and it would prevent me from repeatedly posting those boldfaced red warnings that are designed to get your attention. :idea:
_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
mudrii
l33t
l33t


Joined: 26 Jun 2003
Posts: 789
Location: Singapore

PostPosted: Sat May 14, 2005 3:21 am    Post subject: Reply with quote

@moocha
It is not a point at all to leave booth optimization
Use only one of optimization but not booth
If option -fomit-frame-pointer removes the frame pointer for all functions and -momit-leaf-frame-pointerremove the frame pointer in a register for leaf functions only.
So idea is use only one of them but is nit sense to use booth.
_________________
www.gentoo.ro
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Sat May 14, 2005 4:31 am    Post subject: Reply with quote

mudrii wrote:
@moocha
It is not a point at all to leave booth optimization
Use only one of optimization but not booth
If option -fomit-frame-pointer removes the frame pointer for all functions and -momit-leaf-frame-pointerremove the frame pointer in a register for leaf functions only.
So idea is use only one of them but is nit sense to use booth.
This is an actually argument that belongs on the CFLAGS Central threads, not on this one, but I on't like disinformation so I'll still respond here:
-fomit-frame-pointer does not imply -omit-leaf-frame-pointer. The documentation is slightly misleading. Test it yourself with something along the lines of
Code:
touch foo.c
gcc -march=i686 -Q -v -fomit-frame-pointer
There is no -momit-frame-pointer in the output. Then create a small test program a la Hello, World, compile it with -S once with -fomit-frame-pointer and once with both -fomit-frame-pointer and -momit-leaf-frame-pointer and look at the differences in the assembler output. You will see that the generated code differs.
Not to mention that grepping around the portage tree shows that there are ebuilds that filter -fomit-frame-pointer, which indicates that those (few) packages don't compile properly without it. By contrast, -omit-frame-pointer isn't specifically filtered anywhere, so it's arguably safe to add to ALLOWED_FLAGS in make.conf (don't use ALLOWED_FLAGS unless you know exactly what the implications are, though!). -fomit-frame-pointer isn't safe for those packages and by implication isn't safe globally if you use those packages, but -momit-frame-pointer is (at least in my experience).
In conclusion, -fomit-frame-pointer and -momit-leaf-frame-pointer should both be specified. I happen to know what I'm talking about. Please don't make assertions unless you have checked for yourself.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
regeya
Apprentice
Apprentice


Joined: 28 Jul 2002
Posts: 270
Location: Desoto, IL, USA

PostPosted: Sun May 22, 2005 7:06 pm    Post subject: Reply with quote

Gentree wrote:

PDF is a crock of shit anyway , scalable illegability for ppl who cant create a page of html an make it look right. (ie without using FuntPage)


When I get to work on Monday, I'll make sure to call our Konica rep and ask why our imagesetter isn't able to handle HTML.

There are legitimate reasons for using PDF.
_________________
Why, yes, I am a bore.
Back to top
View user's profile Send private message
scharkalvin
Guru
Guru


Joined: 31 Jan 2004
Posts: 331
Location: south florida

PostPosted: Tue May 24, 2005 12:13 pm    Post subject: Reply with quote

Well the link to the jackass project has been either down
or changed since I couldn't find a good link in this thread
for several days. Anyway I just did it the old fashioned way,
I followed the instructions in the pdf and 3 days later .....
I have a brand new system on my PIII-933 box. So far
looks good. Next step will be to emerge xorg, kde, and
mythtv.

Other than using ext3 instead of reiserfs, and leaving the
splash screen out of grub, I followed the guidelines as
published. Very good guide, though I did have to refer
back to the ghb now and then where some details were
a little bit light.

I'll probably download the pentium tarball now that
I've found a working link to the download page. I have
a K6-300 system that I'd like to try this on.
Back to top
View user's profile Send private message
scharkalvin
Guru
Guru


Joined: 31 Jan 2004
Posts: 331
Location: south florida

PostPosted: Tue May 24, 2005 12:40 pm    Post subject: what about amd-64 Reply with quote

Quote:
This Guide is for x86 systems only.
This Guide is not for AMD64 systems.

If that isn't enough to convince you, then consider this: Gentoo 2005.0 for AMD64 already comes with GCC 3.4.3, so this Guide is unnecessary. :!:


AHHH
I guess the problem was the guide is titled stage 1 on 3,
NOT how to build gentoo using gcc 3.4.3.
(what threading model is the stock amd64 install cd and ghb using?)


Still you DO give some nice points on
1: getting ntp to work (until I followed your directions it never did)
even though it was so simple.
2: setting up grub (between your guide and the ghb it finally worked the
first time for me)
3: some neat shell tricks for rc-update and kernel compiles

So now after building a PIII system using the guide I think I'm in better mental shape to
go back and try getting my Athlon64 going, substituting some of the ideas in your x86 guide
for instructions in the ghb WHERE THEY APPLY.
Back to top
View user's profile Send private message
George Harrison
n00b
n00b


Joined: 31 Mar 2005
Posts: 57
Location: Pepperland

PostPosted: Thu May 26, 2005 2:03 am    Post subject: Reply with quote

Hmm... I am deeply interested in this. I have installed 2004.3 countless times through trial and error, all that I can say is that it's a most excellent OS and Portage is the greatest. After seeing the thread I immediately became interested. Although I am a bit confused here on what exactly I want to install. Is the Jackass! Project the same thing as the 1/3? I wouldn't ask this but I have use AMD over Intel and I noticed that Jackass! had an arch with Athlon-xp which is very nice and might just save me some confusion. So can I still keep the interest/excitement flowing with the 1/3 install but being able to understand it all with a Jackass CD? Thanks.
_________________
Athlon 2600+ overclocked to a 3200+, 120GB hd, Soltek board, 1GB of Kingston RAM PC3200, ATI Radeon 9800 XT, cheap case.
Back to top
View user's profile Send private message
Naveg
n00b
n00b


Joined: 20 May 2005
Posts: 73

PostPosted: Thu May 26, 2005 3:51 am    Post subject: Reply with quote

indeed if there is a jackass for your architecture you should get it. it is very similar (if not identical) to a 1/3 install, and will save you a whole lot of time and effort. Unless of course you like to spend hours watching a computer compile stuff. Then again, this 1/3 install does not support AMD, so Jackass is the way to go for you
Back to top
View user's profile Send private message
Sith_Happens
Veteran
Veteran


Joined: 15 Dec 2004
Posts: 1807
Location: The University of Maryland at College Park

PostPosted: Thu May 26, 2005 4:44 am    Post subject: Reply with quote

I'll speak for Jackass! on this one. A Jackass! stage is basically a stage 1/3 install packaged up and slapped on a cd for you to enjoy. It has all the benefits of a Stage 1/3 install (NPTL, gcc 3.4.3) and none of the drawbacks (time, time, and more time). That said, if you want to be hands on and craft your system yourself, by all means do a stage 1/3. Just a sidenote, Naveg said that the stage 1/3 doesn't support AMD, but in fact the stage 1/3 is supported on all x86 AMD subarches (everything but AMD64).
_________________
"That question was less stupid; though you asked it in a profoundly stupid way."
I'm the brains behind Jackass! | Tutorials: Shorewall
Back to top
View user's profile Send private message
George Harrison
n00b
n00b


Joined: 31 Mar 2005
Posts: 57
Location: Pepperland

PostPosted: Thu May 26, 2005 6:27 am    Post subject: Reply with quote

Thanks.

I think I'll opt for the Jackass! then, Finals are coming up soon and I have very little time - otherwise I would. I have an Athlon-XP 2600 so I think I'm just about set for the arch. Thanks for the advice, I just can't find myself putting all my focus on my studies for me to pass my classes and at the same time trying to learn a new (harder) Gentoo install. Well thanks again for the advice.
_________________
Athlon 2600+ overclocked to a 3200+, 120GB hd, Soltek board, 1GB of Kingston RAM PC3200, ATI Radeon 9800 XT, cheap case.
Back to top
View user's profile Send private message
Naveg
n00b
n00b


Joined: 20 May 2005
Posts: 73

PostPosted: Thu May 26, 2005 9:37 pm    Post subject: Reply with quote

Sith_Happens wrote:
Just a sidenote, Naveg said that the stage 1/3 doesn't support AMD, but in fact the stage 1/3 is supported on all x86 AMD subarches (everything but AMD64).


My mistake, I stand corrected
Back to top
View user's profile Send private message
rlocone
n00b
n00b


Joined: 17 Nov 2004
Posts: 21
Location: OFC / Admiralty

PostPosted: Sat May 28, 2005 2:07 pm    Post subject: GCC still @ 3.3 Reply with quote

Hello All!

I'm trying to follow the Stage 1/3 Installation for Gentoo 2005.0 guide. When compiling the gcc to 3.4. Assuming that all went well after hrs compiling. This morning all was said and done. I did a gcc-config -l, and 3.3 was listed and not 3.4. So, what the heck did it compile then, 3.3 again?
_________________
rlocone
Office of the Admiralty
http://www.rlocone.com
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Sat May 28, 2005 4:18 pm    Post subject: Reply with quote

please refer to the support thread for all support requests. this problem has already been discussed and the answer is there.
_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Page 4 of 6

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum