Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo 1.3b
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
d-range
n00b
n00b


Joined: 02 Jul 2002
Posts: 2

PostPosted: Tue Jul 02, 2002 12:05 pm    Post subject: glibc compile flags Reply with quote

Just bootstrapped with

-march=i686 -O3 -malign-double -falign-functions=4 -fschedule-insns2 -pipe

without a hitch (using the stage-1.3b-r1 tarball). The same flags however broke python in stage 2 (some kind of access violation with pod/pod2html, if anybody knows which flag causes this please let me know).

-mwide-multiply gives me the "value too large for designated data type" error compiling glibc.

Is there a safe way to remerge glibc after I have a working stage3 system, so I can try -march=athlon -mmmx -m3dnow -funroll-loops as well?
Back to top
View user's profile Send private message
verwilst
n00b
n00b


Joined: 16 Apr 2002
Posts: 30
Location: Belgium, Gent

PostPosted: Tue Jul 02, 2002 12:07 pm    Post subject: Re: 1.3a/1.3b problem Reply with quote

dook43 wrote:
i can't source /etc/profile...there's an error when I do this.


Could you please show me the actual error?
_________________
Bart Verwilst
Gentoo Linux Developer
Gent, Belgium
Back to top
View user's profile Send private message
RiotRick
n00b
n00b


Joined: 22 Jun 2002
Posts: 2
Location: The Netherlands

PostPosted: Tue Jul 02, 2002 2:50 pm    Post subject: Reply with quote

verwilst wrote:
Yeah, that'll work.. -fomit-frame-pointer b0rks up glibc quite good, so that's already filtered.. But there might be more... :)


last weekend i installed a new gentoo system from the 1.3b tarball. I used

-march=i686 -mcpu=i686 -fomit-frame-pointer -O3 -pipe

everything compiled fine, i have working gentoo 1.3b including kde 3.0.1-cvsblabla now.
_________________
Insert nifty comment here
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Tue Jul 02, 2002 2:54 pm    Post subject: Reply with quote

RiotRick wrote:
verwilst wrote:
Yeah, that'll work.. -fomit-frame-pointer b0rks up glibc quite good, so that's already filtered.. But there might be more... :)


last weekend i installed a new gentoo system from the 1.3b tarball. I used

-march=i686 -mcpu=i686 -fomit-frame-pointer -O3 -pipe

everything compiled fine, i have working gentoo 1.3b including kde 3.0.1-cvsblabla now.


Right, that's because -fomit-frame-pointer is stripped from the CFLAGS before compiling glibc. :D
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
dook43
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2002
Posts: 116
Location: Baton Rouge, LA

PostPosted: Tue Jul 02, 2002 8:19 pm    Post subject: Re: 1.3a/1.3b problem Reply with quote

verwilst wrote:

Could you please show me the actual error?


yeah lemme get back to you on that. sorry it's taken me so long...i have family that demands the use of windows on my box so i don't get to use linux much of the time :/
_________________
"We who are about to die salute you!"
Back to top
View user's profile Send private message
[myrddin]
n00b
n00b


Joined: 14 Jun 2002
Posts: 71
Location: Karlsruhe / Germany

PostPosted: Wed Jul 03, 2002 9:52 am    Post subject: Reply with quote

Hi,

Anyone here using apache with phpsupport here? it compiles fine for me with gentoo 1.3b but when starting apache it cannot load the phpmod :-( (sorry, i cant write the errormessage because i have to use gcc2 because i want apache with php).
my second problem was that kde compiles fine, but noatun cant play anything. you can add things to the playlist but nothing plays :-( . Normal kdesounds work without probs.

cya

tobias
Back to top
View user's profile Send private message
bazik
Retired Dev
Retired Dev


Joined: 22 Jul 2002
Posts: 277
Location: Behind you.

PostPosted: Thu Aug 01, 2002 11:30 pm    Post subject: Reply with quote

Hi!
My installation fails while "emerge system" at the Python package.
If I emerge the newest Python without "-r*" (IITC 2.2.1), it installs
fine, but emerge is fscked up afterwards :(

Any way to fix Python now?

If helpfull, here are my flags for a 800mhz athlon:
Code:

-mcpu=athlon -march=athlon -O3 -pipe -fomit-frame-pointer -malign-double -mmmx -m3dnow -mno-sse -mno-sse2

_________________
Gentoo Linux/Sparc Developer
http://dev.gentoo.org/~bazik/
Back to top
View user's profile Send private message
rodgerdb
n00b
n00b


Joined: 28 Jul 2002
Posts: 8
Location: Portland, OR

PostPosted: Sat Aug 03, 2002 8:13 am    Post subject: Reply with quote

It just MIGHT be the -malign-double. I JUST now ran into the same issue, and I built the system fine with the flags I had before:

-march=pentium3 -mcpu=pentium3 -mfpmath=sse -mmmx -msse -O3 -pipe

When I added -malign-double... I bootstrap... that works.... stage 2... Python... !KABOOM! So I will remove the -malign-dobule and retry (which I am sure will work again, as it did before)


bAZiK wrote:
Hi!
My installation fails while "emerge system" at the Python package.
If I emerge the newest Python without "-r*" (IITC 2.2.1), it installs
fine, but emerge is fscked up afterwards :(

Any way to fix Python now?

If helpfull, here are my flags for a 800mhz athlon:
Code:

-mcpu=athlon -march=athlon -O3 -pipe -fomit-frame-pointer -malign-double -mmmx -m3dnow -mno-sse -mno-sse2
Back to top
View user's profile Send private message
rodgerdb
n00b
n00b


Joined: 28 Jul 2002
Posts: 8
Location: Portland, OR

PostPosted: Sat Aug 03, 2002 8:14 am    Post subject: Python with -malign-double Reply with quote

It just MIGHT be the -malign-double. I JUST now ran into the same issue, and I built the system fine with the flags I had before:

-march=pentium3 -mcpu=pentium3 -mfpmath=sse -mmmx -msse -O3 -pipe

When I added -malign-double... I bootstrap... that works.... stage 2... Python... !KABOOM! So I will remove the -malign-dobule and retry (which I am sure will work again, as it did before)


bAZiK wrote:
Hi!
My installation fails while "emerge system" at the Python package.
If I emerge the newest Python without "-r*" (IITC 2.2.1), it installs
fine, but emerge is fscked up afterwards :(

Any way to fix Python now?

If helpfull, here are my flags for a 800mhz athlon:
Code:

-mcpu=athlon -march=athlon -O3 -pipe -fomit-frame-pointer -malign-double -mmmx -m3dnow -mno-sse -mno-sse2
Back to top
View user's profile Send private message
Accipiter
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2003
Posts: 87
Location: Buffalo, NY

PostPosted: Mon Jul 14, 2003 4:19 pm    Post subject: My $0.02 Reply with quote

When emerging net-mail/procmail-3.22-r6, the following line built properly on my dual athlon-mp system:
Code:
CFLAGS="-march=athlon-mp -O2 -pipe -fomit-frame-pointer -falign-jumps=5 -falign-loops=5 -falign-functions=64 -funroll-loops -mfpmath=sse" emerge procmail

The only way in which this deviates from my normal build configuration is that it omits -finline-functions. Looks like that's one to filter.

For verbosity, here is my "emerge info" output (these are my default settings, and WILL break procmail at strstr() benchmarking):
Code:
Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20-gaming-r3 i686 AMD Athlon(tm) Processor
GENTOO_MIRRORS="http://gentoo.linux.no/ ftp://ftp.ibiblio.org/pub/linux/distributions/gentoo ftp://ftp.g                                                                                   
tlib.cc.gatech.edu/pub/gentoo http://gentoo.oregonstate.edu ftp://ftp.oregonstate.edu/pub/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X                                                                                   
11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mad mikmod mmx mpeg ncurses nls pdflib png                                                                                     
quicktime spell truetype xml2 xmms xv zlib gdbm slang readline aalib svga ggi tcltk java guile mysql X s                                                                                   
dl gpm tcpd pam libwww ssl perl python imlib oggvorbis qt motif opengl mozilla cdr dga moznocompose samb                                                                                   
a sse usb xml -berkdb -arts -esd -gnome -gtk -kde"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-mp -O2 -pipe -fomit-frame-pointer -finline-functions -falign-jumps=5 -falign-loops                                                                                   
=5 -falign-functions=64 -funroll-loops -mfpmath=sse"
CXXFLAGS="-march=athlon-mp -O2 -pipe -fomit-frame-pointer -finline-functions -falign-jumps=5 -falign-loo                                                                                   
ps=5 -falign-functions=64 -funroll-loops -mfpmath=sse"
ACCEPT_KEYWORDS="x86"           
MAKEOPTS="-j3"                 
AUTOCLEAN="yes"                 
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
FEATURES="ccache sandbox userpriv usersandbox"
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
Goto page Previous  1, 2
Page 2 of 2

 
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