Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

Stage 1/3 Installation Support - 2005.0 & GCC 3.4.3

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Locked
Advanced search
585 posts
  • Page 2 of 24
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 24
  • Next
Author
Message
Bob P
Advocate
Advocate
User avatar
Posts: 3374
Joined: Wed Oct 20, 2004 9:15 pm
Location: USA

Post by Bob P » Mon Mar 28, 2005 9:03 pm

LucaSpiller wrote:I suppose a few people could call my C-flags a bit OTT, but I managed to follow the original guide fine. :?
if you are having problems compiling glibc, i can offer two suggestions. i hope that they will help:

1. the original set of "insane" cflags listed in the guide were used in an example for intel architecture, and i can't say anything about using them on AMD. my personal recommendation would be that if anyone is having problems compiling, you should revert to the stable/recommended/minimal cflags in the guide and assure that the problem is replicated with the conservative set of cflags before asking for help.

2. failure to compile glibc is not related in any way to a defect in the Guide. it is a problem that crops up intermittently when you're working with an experimental ebuild that has problems. this is just a fact of life in the testing branch. if you are having problems with the current version of glibc, then look at bugzilla for existing bug reports. if there is not an existing bug report, then file one. your best bet would probably be to mask the offensive ebuild and try again with one that is not presently in a state of revision.
Top
Sith_Happens
Veteran
Veteran
User avatar
Posts: 1807
Joined: Wed Dec 15, 2004 2:08 am
Location: The University of Maryland at College Park
Contact:
Contact Sith_Happens
Website

Post by Sith_Happens » Mon Mar 28, 2005 9:07 pm

cheops05 wrote:sorry, i'm forgetting i'm compiling on a pentium4 3.06 gig slap myself round the face and be a bit more patient
I'm currently trying to replicate your problems on a pentium 4 3.0 ghz, so I should be able to get the job soon. :wink: In the meantime here is the output of emerge info for test install:

Code: Select all

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.11-love2 i686)
=================================================================
System uname: 2.6.11-love2 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 11 2005, 13:17:01)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.llarian.net"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X apm arts avi berkdb bitmap-fonts crypt cups emboss encode foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl svga tcpd truetype truetype-fonts type1-fonts xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
And here is the make.conf (it's stripped down to only the essentials for this stage of the install):

Code: Select all

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
GENTOO_MIRRORS="http://gentoo.llarian.net"
USE="nptl"
"That question was less stupid; though you asked it in a profoundly stupid way."
I'm the brains behind Jackass! | Tutorials: Shorewall
Top
Bob P
Advocate
Advocate
User avatar
Posts: 3374
Joined: Wed Oct 20, 2004 9:15 pm
Location: USA

Post by Bob P » Mon Mar 28, 2005 9:11 pm

Sith_Happens wrote:I'm currently trying to replicate your problems on a pentium 4 3.0 ghz, so I should be able to get the job soon. :wink:
young whippersnapper! :?
Top
Sith_Happens
Veteran
Veteran
User avatar
Posts: 1807
Joined: Wed Dec 15, 2004 2:08 am
Location: The University of Maryland at College Park
Contact:
Contact Sith_Happens
Website

Post by Sith_Happens » Mon Mar 28, 2005 10:12 pm

Bob P wrote:
Sith_Happens wrote:I'm currently trying to replicate your problems on a pentium 4 3.0 ghz, so I should be able to get the job soon. :wink:
young whippersnapper! :?
Ha..:lol:
An update on that I've just finished rebuilding the glibc with the 2005.0 i686 stage 3 tarball, so cheops05, your problem probably lies either in your make.conf, or in the commands you used to rebuild the toolchain. Why don't you post both and we'll see whats up. :)
"That question was less stupid; though you asked it in a profoundly stupid way."
I'm the brains behind Jackass! | Tutorials: Shorewall
Top
Bob P
Advocate
Advocate
User avatar
Posts: 3374
Joined: Wed Oct 20, 2004 9:15 pm
Location: USA

Post by Bob P » Mon Mar 28, 2005 10:18 pm

okay, tell me ... how long does it take to compile glibc on a 3.0 GHz P4? inquiring minds want to know!
Top
Sith_Happens
Veteran
Veteran
User avatar
Posts: 1807
Joined: Wed Dec 15, 2004 2:08 am
Location: The University of Maryland at College Park
Contact:
Contact Sith_Happens
Website

Post by Sith_Happens » Mon Mar 28, 2005 10:22 pm

I recompiled gcc-config (that one doesn't really count :wink: ), glibc, binutils, and gcc in under 2 hours. 8)
"That question was less stupid; though you asked it in a profoundly stupid way."
I'm the brains behind Jackass! | Tutorials: Shorewall
Top
grx
Apprentice
Apprentice
Posts: 173
Joined: Wed Jan 19, 2005 2:01 am
Location: Maryland

Post by grx » Mon Mar 28, 2005 10:31 pm

I have a couple questions--forgive me for being a n00b...:D

Why not do this type of install from the Universal CD with it's stage 3 tarball instead of using the minimal CD?

And is there a reason this install method uses ReiserFS, or when you're putting the filesystem on should it be more of a <place your favorite fs here> step?
Top
Sith_Happens
Veteran
Veteran
User avatar
Posts: 1807
Joined: Wed Dec 15, 2004 2:08 am
Location: The University of Maryland at College Park
Contact:
Contact Sith_Happens
Website

Post by Sith_Happens » Mon Mar 28, 2005 10:46 pm

grx wrote:I have a couple questions--forgive me for being a n00b...:D

Why not do this type of install from the Universal CD with it's stage 3 tarball instead of using the minimal CD?

And is there a reason this install method uses ReiserFS, or when you're putting the filesystem on should it be more of a <place your favorite fs here> step?
If you want to you can do this install from a Universal CD. The only reason for not using it is that it's a big download, and you really only need a snapshot, a stage 3 tarball, and a minimal cd. I can't speak for Bob, but I too would recommend ReiserFS (3.6 not 4) as a fast and stable filesystem. However, if you want to use another filesystem, go ahead (again not speaking for Bob P). You shouldn't run into any problems, and you won't have to deviate from the guide enough to obviate at least my support if you run into any problems. :)
"That question was less stupid; though you asked it in a profoundly stupid way."
I'm the brains behind Jackass! | Tutorials: Shorewall
Top
Bob P
Advocate
Advocate
User avatar
Posts: 3374
Joined: Wed Oct 20, 2004 9:15 pm
Location: USA

Post by Bob P » Mon Mar 28, 2005 10:59 pm

Sith_Happens wrote:I can't speak for Bob, but I too would recommend ReiserFS (3.6 not 4) as a fast and stable filesystem. However, if you want to use another filesystem, go ahead (again not speaking for Bob P). You shouldn't run into any problems, and you won't have to deviate from the guide enough to obviate at least my support if you run into any problems. :)
:x EVERYONE SHALL USE REISER FS 3.6 AND THEY SHALL LIKE IT! :x

just kidding. :lol: it doesn't matter which fs you choose to use, as long as you know what you are doing. just don't try reducing the size of the /boot partition if you user reiser, as you could get into trouble if you fail to take into account the size of the journal files. :idea:
Last edited by Bob P on Wed Mar 30, 2005 2:53 am, edited 1 time in total.
Top
kimchi_sg
Advocate
Advocate
Posts: 3039
Joined: Fri Nov 26, 2004 11:11 am

Post by kimchi_sg » Mon Mar 28, 2005 11:58 pm

Morning all...

I've just watched this thread grow by 1 page in the course of my sleep!

A warning to all n00bs who are reading this thread:

If you do not understand what exactly each of the steps in stage 1-on-3 do, stick with the Standard Gentoo Installation Handbook. DO NOT EVER LET US CATCH YOU TRYING TO BOOTSTRAP WITH THE STAGE 1-ON-3 TUTORIAL AND / OR SETTINGS.
Top
Sith_Happens
Veteran
Veteran
User avatar
Posts: 1807
Joined: Wed Dec 15, 2004 2:08 am
Location: The University of Maryland at College Park
Contact:
Contact Sith_Happens
Website

Post by Sith_Happens » Tue Mar 29, 2005 12:03 am

kimchi_sg wrote:If you do not understand what exactly each of the steps in stage 1-on-3 do, stick with the Standard Gentoo Installation Handbook. DO NOT EVER LET US CATCH YOU TRYING TO BOOTSTRAP WITH THE STAGE 1-ON-3 TUTORIAL AND / OR SETTINGS.
Well they can try, just don't ask me for help. :wink:
"That question was less stupid; though you asked it in a profoundly stupid way."
I'm the brains behind Jackass! | Tutorials: Shorewall
Top
kimchi_sg
Advocate
Advocate
Posts: 3039
Joined: Fri Nov 26, 2004 11:11 am

Post by kimchi_sg » Tue Mar 29, 2005 12:07 am

Sith_Happens wrote:
kimchi_sg wrote:If you do not understand what exactly each of the steps in stage 1-on-3 do, stick with the Standard Gentoo Installation Handbook. DO NOT EVER LET US CATCH YOU TRYING TO BOOTSTRAP WITH THE STAGE 1-ON-3 TUTORIAL AND / OR SETTINGS.
Well they can try, just don't ask me for help. :wink:
Please don't weaken the force of my warning.

2 n00bs breaking themselves on "stage 1-on-3" in 1 night is cause enough for concern.
Top
grx
Apprentice
Apprentice
Posts: 173
Joined: Wed Jan 19, 2005 2:01 am
Location: Maryland

Post by grx » Tue Mar 29, 2005 12:16 am

Just a little defense for the n00bs--

My main concern with this install is getting gcc 3.4.3, because I'm using a centrino laptop, and I'd like to have the pentium-m optimization. Doesn't mean I'm going to follow this particular guide and then complain bitterly if it breaks. Just trying to learn more, and this thread is related to what I'm trying to do. :)
Top
kimchi_sg
Advocate
Advocate
Posts: 3039
Joined: Fri Nov 26, 2004 11:11 am

Post by kimchi_sg » Tue Mar 29, 2005 12:24 am

grx wrote:My main concern with this install is getting gcc 3.4.3, because I'm using a centrino laptop, and I'd like to have the pentium-m optimization.
The optimisation in gcc for the pentium-m is minuscule, compared to optimising for pentium 3 using gcc 3.3.5. My opinion is that it is far too risky just for this change.

Remember that gcc 3.3.5 was cutting edge not too long ago. In other words, do not look down on gcc 3.3.x. :)

Far more optimisation can be obtained by configuring system correctly in other areas. For example, choosing kernel options wisely, and using as few USE flags as necessary.
Top
Bob P
Advocate
Advocate
User avatar
Posts: 3374
Joined: Wed Oct 20, 2004 9:15 pm
Location: USA

Post by Bob P » Tue Mar 29, 2005 12:40 am

grx wrote:My main concern with this install is getting gcc 3.4.3, because I'm using a centrino laptop, and I'd like to have the pentium-m optimization. Doesn't mean I'm going to follow this particular guide and then complain bitterly if it breaks. Just trying to learn more, and this thread is related to what I'm trying to do. :)
this pentium-m issue with gcc 3.3.4 is widely documented. everyone with a pentium-m should search and read the many, many threads that will come up. in fact, duplicate posts went up on this topic today because a n00b didn't bother to search. in reading them, it seems evident that the person who is making the most noise has absolutely no clue what he is doing.
Top
grx
Apprentice
Apprentice
Posts: 173
Joined: Wed Jan 19, 2005 2:01 am
Location: Maryland

Post by grx » Tue Mar 29, 2005 12:51 am

it seems evident that the person who is making the most noise has absolutely no clue what he is doing.
That's possible--but not everyone new to this distro is clueless. I've been doing my research and reading those threads too, as well as ones about using 3.3.x with pentium-m. I'm just researching and comparing this method to the installation manual, which seems nearly the same if you use a stage-3 install, but with some specific cflag/USE variable changes. I certainly wouldn't think of trying to bootstrap using this as a guide since it's not intended for that at all. But I do want to learn more about what I'm doing before I sit down and let the machine crank out my os. Long story short (and hopefully ended :wink: ) I'm glad for this thread so I can learn more about what I'm going to be doing to my computer.
Top
Bob P
Advocate
Advocate
User avatar
Posts: 3374
Joined: Wed Oct 20, 2004 9:15 pm
Location: USA

Post by Bob P » Tue Mar 29, 2005 1:06 am

well, this guide is pretty clear. use pentium for the first compile, and then when you have gcc 343 on your computer, edit your make.conf settings and recompile your toolkit in the final form. its a chipshot for you to put pentium-m in at that stage of the game. have fun!
Top
cheops05
n00b
n00b
User avatar
Posts: 62
Joined: Mon Jan 03, 2005 2:10 pm

Post by cheops05 » Tue Mar 29, 2005 6:40 am

I have used the 2004.3 guide so many times that I can practically do it in my sleep just because my post count is not touching the moon does not mean that I am clueless and dont know what I'm doing I have just never needed help, I thought the idea of this topic is to get the rough draft 100% fullproof for the new release of 2005.0, I am not moaning I am just telling you that glibc breaks, trying to get gcc 3.4.3 compiler onto my machine just because it doesn't break on your machines does not mean it doesn't break on someone elses.

Anyway I just to let you know I am trying again for the 4th time from scratch, changing my CFLAGS etc until I pinpoint the problem
Top
sn0wrider
n00b
n00b
Posts: 3
Joined: Mon Mar 28, 2005 6:45 pm

Copy-paste

Post by sn0wrider » Tue Mar 29, 2005 10:37 am

Hi!

Excellent piece of work Bob!

Just one thing though..when I compile gcc I get a couple of errors...problem is that I can't seem to find out how I'm supposed to copy-aspte the error messages in the terminal!

Could someone enlighten me in this small matter? :-)

///Sn0wie
Top
sn0wrider
n00b
n00b
Posts: 3
Joined: Mon Mar 28, 2005 6:45 pm

Post by sn0wrider » Tue Mar 29, 2005 10:50 am

kimchi_sg wrote:Morning all...

If you do not understand what exactly each of the steps in stage 1-on-3 do, stick with the Standard Gentoo Installation Handbook. DO NOT EVER LET US CATCH YOU TRYING TO BOOTSTRAP WITH THE STAGE 1-ON-3 TUTORIAL AND / OR SETTINGS.
Oh and one more thing:

My problem is that I do not understand each step in Bobs guide.. BUT it seems to me, however, that the old manual doesn't work...when I've followed it step by step and then tries to emerge gentoo-sources I get a message sayin: "portage can not find any ebuilds to satisfy your request"
And nothing happens..... exactly the same thing happened when I tried (out of curiosity) to emerge development-sources as well.

Then I tried the Bobs 2005.0 "manual" and got errors when compiling gcc ...(and the error messages for that I will have to get back to you about).

So me as a n00b is quite stuck here...what are my greates chances of success? Must I DL the entire LibveCD and make a networkless install? And then put my computer up for a few days of catching everything up? (upgrading)

Or is there other possibilities? I mean for me it seems "madness" to do a networkless install when I have a 10mbit connection to get everything up to date immediatteky...
:-)

///Sn0wie
Top
Gentoonie
Apprentice
Apprentice
User avatar
Posts: 205
Joined: Tue Apr 06, 2004 1:23 pm
Location: near Munich | Bavaria | Germany
Contact:
Contact Gentoonie
Website

Post by Gentoonie » Tue Mar 29, 2005 11:34 am

Bob P wrote:now how's this for an idea -- instead of forcing every user that wants to install GCC 3.4.3 to rebuild the entire toolkit, why don't we just make an unauthorized live CD and stageballs that feature an ~x86 toolkit?

it would save an awful lot of time to do the heavy lifting once, and burn the results to an alternative Live CD. who's in?
This is a real excellent idea. Building toolkits and especially this F**ing glibc takes ages even on my Pentium 4 2.8 GHz.

An already prepared live CD would save so many time to the users :)
Do you know the secret hand shake - you best use it.

GCC 4, Kernel 2.6.14-ck7, NPTL
Top
LucaSpiller
Apprentice
Apprentice
Posts: 188
Joined: Fri Sep 10, 2004 9:41 pm
Location: Censorship Land (aka England)

Re: Copy-paste

Post by LucaSpiller » Tue Mar 29, 2005 11:44 am

sn0wrider wrote:Just one thing though..when I compile gcc I get a couple of errors...problem is that I can't seem to find out how I'm supposed to copy-aspte the error messages in the terminal!

Could someone enlighten me in this small matter? :-)
No problem. If you are in a chrooted enviroment, hopefully you ran screen. If so just detatch it, and then open it in a terminal under X. If not then just type:

Code: Select all

gpm -m /dev/mouse -t ExplorerPS/2
-m is where you mouse is, and -t is the protocol; both of which are in the X config file (well X.org at least).

I did a bit of reasearch and found that enabling sandbox mode can sometimes cause errors when compiling glibc, so I disabled it (removing sandbox and usersandbox from /etc/make.conf FEATURES="...") and I didn't get the above error any more. :D Unfortunately I got another one, but sort of removed the screen instead of detaching it - so I will post the results later. :wink:
:: Luca :: Mac Fag :: Original Macbook, 2g RAM :: Closet Linux user (seasoned with salt and pepper) :: C2D E4400 @ 2ghz, 4g RAM (only 3.2g detected under 64bit...), Nvidia 9600GSO ::
Top
sn0wrider
n00b
n00b
Posts: 3
Joined: Mon Mar 28, 2005 6:45 pm

Re: Copy-paste

Post by sn0wrider » Tue Mar 29, 2005 11:55 am

LucaSpiller wrote:
sn0wrider wrote:Just one thing though..when I compile gcc I get a couple of errors...problem is that I can't seem to find out how I'm supposed to copy-aspte the error messages in the terminal!

Could someone enlighten me in this small matter? :-)
No problem. If you are in a chrooted enviroment, hopefully you ran screen. If so just detatch it, and then open it in a terminal under X. If not then just type:

Code: Select all

gpm -m /dev/mouse -t ExplorerPS/2
-m is where you mouse is, and -t is the protocol; both of which are in the X config file (well X.org at least).

I did a bit of reasearch and found that enabling sandbox mode can sometimes cause errors when compiling glibc, so I disabled it (removing sandbox and usersandbox from /etc/make.conf FEATURES="...") and I didn't get the above error any more. :D Unfortunately I got another one, but sort of removed the screen instead of detaching it - so I will post the results later. :wink:
Problem is that I have not come so far as to emerging xorg yet ... I'm trying to do a stage 3 install using genkernel (as of now..I tried maunally configuring the .conf file at first..it turned out to be some things I couldn't get right though) ...and following Bobs guide I must recompile gcc to get it working... and thats where I get my errors.
Top
vipernicus
Veteran
Veteran
User avatar
Posts: 1462
Joined: Mon Jan 17, 2005 10:35 pm
Location: Your College IT Dept.
Contact:
Contact vipernicus
Website

maketest

Post by vipernicus » Tue Mar 29, 2005 1:56 pm

glibc fails maketest everytime for me, and I'm using your default settings, when i remove maketest, it works.
Top
kimchi_sg
Advocate
Advocate
Posts: 3039
Joined: Fri Nov 26, 2004 11:11 am

Re: maketest

Post by kimchi_sg » Tue Mar 29, 2005 2:01 pm

To anyone who adds to / changes settings when following this tutorial:

You are free to add to or amend the settings we have listed in the tutorial proper. However, do keep in mind that by doing this, we are also free not to help you.
Last edited by kimchi_sg on Tue Mar 29, 2005 3:31 pm, edited 3 times in total.
Top
Locked

585 posts
  • Page 2 of 24
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 24
  • Next

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy