Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
boostrap.sh semi-failure with 1.4 tarball
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Antity
n00b
n00b


Joined: 06 Sep 2002
Posts: 1
Location: France

PostPosted: Sat Sep 07, 2002 9:56 pm    Post subject: boostrap.sh semi-failure with 1.4 tarball Reply with quote

Sorry if this isn't the correct forum to post this.
Please point me to the right one ^^

Here is the problem, i and a friend tried installing the 1.4 beta from the tarballs on 2 almost identical machines : Compaq presario 7xx.
The only diff between our 2 machines is CPU speed (mine is a duron 1.2Ghz his a duron 1.0Ghz )

pci detection detected the exact same hardware etc ....

The script on the first machine (1ghz) was launched first then the secondone about 15 mins after.

While compiling gcc 3.2-r1 for the second time bootstrap.sh failed, giving us a :
xgcc: cannot specify -o with -c or -S and multiple compilations
error.

We decided to wait until the second machine crashed to rerun the script with changed options (we thought our optimisation settings were at fault then) and tada! on the second machine bootstrap.sh completed wthout errors
We checked the configurations and found that the only difference was that i enabled java in my USE while he didn't.

Here is my configuration :
Code:

USE="sse acpi xv qtmt -gnome tcltk aalib imlib gif jpg png tiff gd alsa mikmod ggi encode -ipv6 pam ssl crypt imap ldap tcpd xface mozilla mozirc mozxmlterm spell xml xml2 pdflib plotutils tetex ruby java libwww libg++ postgres gdbm samba nls doc gpm"

CHOST="i686-pc-linux-gnu"

CFLAGS="-march=athlon -O3 -pipe -msse -mfpmath=sse -m3dnow -mmmx -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4"

CXXFLAGS="${CFLAGS}"

We used the exact same CFLAGS and CXXFLAGS and apart from java we have the exact same Use

Anyone has an idea as to what went wrong ?
Should this be reported to the programmers/maintainers ?
If yes how ? I am still new to gentoo though i am not new to linux and do not know what to do in such cases

*edit old*
(PS : We saw while rechecking our configurations that gcc3.2 allowed duron as -march , we compiled with -march=athlon and it seems to work, i might be rerunning the compilation with the -march=duron but it seems to work fine with the athlon arch ...)
*/edit old*
*edit new*
I just tried to run bootstrap.sh using -march=duron and it said that duron was not a valid type either for arch or for cpu contrary to what i could read in my make.conf :
Quote:

# -mcpu=<cpu-type> means optimize code for the particular type of CPU without
# breaking compatibility with other CPUs.
#
# -march=<cpu-type> means to take full advantage of the ABI and instructions
# for the particular CPU; this will break compatibility with older CPUs (for
# example, -march=athlon-xp code will not run on a regular Athlon, and
# -march=i686 code will not run on a Pentium Classic.
#
# CPU types supported in gcc-3.2 and higher: athlon-xp, athlon-mp, athlon-4,
# athlon-tbird, athlon, duron, k6, k6-2, k6-3, i386, i486, i586 (Pentium), i686
# (Pentium Pro), pentium, pentium-mmx, pentiumpro, pentium2, pentium3, and
# pentium4. Note that Gentoo Linux 1.4 and higher include at least gcc-3.2.

I will remain with my -march=athlon then ^^
*/edit new*
(PPS: sorry for any english mistakes I might have made, english is not my native language)
_________________
Don't blame the machine, blame yourself.
Back to top
View user's profile Send private message
squanto
Guru
Guru


Joined: 20 Apr 2002
Posts: 524
Location: Rochester, NY, USA

PostPosted: Sun Sep 08, 2002 5:14 am    Post subject: Reply with quote

I think that you may want to try the 1.4 tarball rather than the beta, the 1.4 tarball has real gcc 3.2 in it, as I have been lead to believe.
Also as for recent updates to portage, check this out:
https://forums.gentoo.org/viewtopic.php?t=14436

Andrew
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
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