Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Packages that do not get optimized
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
konstk
Tux's lil' helper
Tux's lil' helper


Joined: 13 Aug 2002
Posts: 75

PostPosted: Tue Sep 17, 2002 11:08 pm    Post subject: Packages that do not get optimized Reply with quote

I have noticed that our CFLAGS do not get thorugh to all packages.
I've had to edit the ebuilds by hand.

Here are some of them:
some parts of KDE
qt
the kernel
XFree86

and a few others which I've forgotten.

Does anyoen knwo of any others?
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Sep 17, 2002 11:24 pm    Post subject: Reply with quote

You're on your own here - ebuilds that disable certain CFLAGS do so for good reason: often because people have reported bugs with certain compiler flags set. I know this is true for parts of xfree with -march=pentium4, so the ebuild drops it to -march=pentium3. I don't use KDE, so I can't comment on KDE or qt. The kernel compilation process is completely separate from the Portage compilation, so CFLAGS don't apply at all. I personally think it's dangerous to change kernel compilation flags, but if you really want to do it, you can see this post for a way to change compiler flags for kernel compilation without editing any files.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
konstk
Tux's lil' helper
Tux's lil' helper


Joined: 13 Aug 2002
Posts: 75

PostPosted: Wed Sep 18, 2002 12:09 am    Post subject: Reply with quote

rac wrote:
You're on your own here - ebuilds that disable certain CFLAGS do so for good reason: often because people have reported bugs with certain compiler flags set. I know this is true for parts of xfree with -march=pentium4, so the ebuild drops it to -march=pentium3. I don't use KDE, so I can't comment on KDE or qt. The kernel compilation process is completely separate from the Portage compilation, so CFLAGS don't apply at all. I personally think it's dangerous to change kernel compilation flags, but if you really want to do it, you can see this post for a way to change compiler flags for kernel compilation without editing any files.


i've already changed the flags for all the packages that didn't get optimized. no problems so far with anything.
Back to top
View user's profile Send private message
puddpunk
l33t
l33t


Joined: 20 Jul 2002
Posts: 681
Location: New Zealand

PostPosted: Wed Sep 18, 2002 5:18 am    Post subject: Reply with quote

ok, well your lucky then.

winex wouldnt build for me with optimising flags (i edited the ebuild).

It's alot easier for the devs to turn the problem makers off and have the ellite few hack the ebuilds than be flooded by bug reports.
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