Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CFLAGS Central (Part 1)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, ... 35, 36, 37  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Houdini
Apprentice
Apprentice


Joined: 14 Jun 2002
Posts: 224
Location: New Mexico Tech, Socorro, NM

PostPosted: Fri Jun 21, 2002 4:32 pm    Post subject: Reply with quote

Ahem, from the gcc Man page:

(made to look a little more neat than the man page)

Code:

       -O

       -O1    Optimize.  Optimizing compilation takes somewhat more time, and a lot more memory for a large function.

              Without `-O', the compiler's goal is to reduce the cost of compilation and to  make  debugging  produce the  expected  results.   Statements are independent: if you stop the program with a breakpoint between statements, you can then assign a new value to any variable or change the program counter to any other statement in the function and get exactly the results you would expect from the source code.

              Without `-O', only variables declared register are allocated in registers.  The resulting compiled code is a little worse than produced by PCC without `-O'.

              With `-O', the compiler tries to reduce code size and execution time.

              When you specify `-O', the two options `-fthread-jumps' and `-fdefer-pop' are turned on.   On  machines that have delay slots, the `-fdelayed-branch' option is turned on.  For those machines that can support debugging even without a frame pointer, the `-fomit-frame-pointer' option is turned on.   On  some  machines other flags may also be turned on.

       -O2    Optimize  even more.  Nearly all supported optimizations that do not involve a space-speed tradeoff are performed.  Loop unrolling and function inlining are not done, for example.  As compared  to  -O,  this option increases both compilation time and the performance of the generated code.

       -O3    Optimize yet more. This turns on everything -O2 does, along with also turning on -finline-functions.


So, if you're doing -O*, it should be doing -fomit-frame-pointer already.

Just so you don't have to waste 24 hours :)
_________________
^]:wq
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Fri Jun 21, 2002 4:50 pm    Post subject: Reply with quote

Nice post, will save pacman and others alot of time.
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
DArtagnan
l33t
l33t


Joined: 30 Apr 2002
Posts: 942
Location: Israel, Jerusalem

PostPosted: Fri Jun 21, 2002 4:53 pm    Post subject: 03 Reply with quote

AutoBot wrote:
Nice post, will save pacman and others alot of time.

Hei :-)
I already started the proccess :-)
Can i edit the make.conf with out stoping the emerge?
Wateva, O3 is the best or i did not get the idea?
_________________
All for one and one for All
--

MACPRO machine...
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


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

PostPosted: Fri Jun 21, 2002 4:56 pm    Post subject: Reply with quote

Quote:
For those machines that can support debugging even without a frame pointer, the `-fomit-frame-pointer' option is turned on.


Are we sure x86 can do that?
Back to top
View user's profile Send private message
slik
n00b
n00b


Joined: 18 Apr 2002
Posts: 48
Location: Alberta, Canada

PostPosted: Fri Jun 21, 2002 6:19 pm    Post subject: Reply with quote

-fomit-frame-pointer is not turned on when I pass an -O option to my duron 1200, I doubt it is for early pentiums either.

See this thread for some more optimizing discussion (I touch on -fomit-frame-pointer more there)
Back to top
View user's profile Send private message
Houdini
Apprentice
Apprentice


Joined: 14 Jun 2002
Posts: 224
Location: New Mexico Tech, Socorro, NM

PostPosted: Fri Jun 21, 2002 8:32 pm    Post subject: Reply with quote

No, X86 cannot. -O3 won't turn it on because it horribly, horribly breaks debugging. It is recommended that you don't do that. Meh.

Has anyone checked to see what sort of speed increase it gives?
_________________
^]:wq
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


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

PostPosted: Fri Jun 21, 2002 8:36 pm    Post subject: Reply with quote

Well, it does free up a register, which is a very limited resource. I've found my system becomes more responsive with -fomit-frame-pointer than without. I don't have numbers, but it really does "feel" faster.
Back to top
View user's profile Send private message
DArtagnan
l33t
l33t


Joined: 30 Apr 2002
Posts: 942
Location: Israel, Jerusalem

PostPosted: Fri Jun 21, 2002 8:43 pm    Post subject: x86 Reply with quote

Well, you said that x86 can not use these optimizations but i see that mine appends those flags and compiles fast...even it's very fast.
_________________
All for one and one for All
--

MACPRO machine...
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


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

PostPosted: Fri Jun 21, 2002 8:51 pm    Post subject: Reply with quote

No, he said that x86 can't debug when these optimizations are on. But, since you're not debugging, it doesn't much matter, does it?
Back to top
View user's profile Send private message
Sivar
Apprentice
Apprentice


Joined: 25 May 2002
Posts: 266
Location: USA

PostPosted: Sat Jun 22, 2002 2:16 am    Post subject: Reply with quote

I compile all my apps with:

CFLAGS="-s -march=i686 -O2 -pipe -fomit-frame-pointer -fexpensive-optimizations -frerun-cse-after-loop -frerun-loop-opt -malign-functions=4"

I do not use -O3 because the overhead of the 'pusha' and 'popa' instructions plus the overhead of the jump instruction isn't really that big of a deal for most software. The -O3 can potentially make software slower because the code size is larger. Really, what takes the longest to load a program?
- Limitation of a modern CPU at processing instructions
- Limitation of a modern hard drive physically moving the head to physically read data in all of the physical places which it is stored in.
I'll give you two guesses. :)
I find that the loading of software is the slowest part, at least on my computer, and that once it is running it generally works fine. There are a few specific things I build with -O3, such as QT, GCC, gzip, bzip2, GTK+, and a few others.

Note that any programmer worth their salt will manually inline small and important functions in their code using the "inline" keyword. -O3 makes no distinction between fast and slow code and may very well inline a function 20 times that is executed exactlyt 20 times, such as in init code. This will definitely make the program load more slowly, will use more memory, and will make it larger without any increase in speed. Note that functions inlined in the code are inlined by GCC if you use ANY optimization level otehr than -Os and -O0.
_________________
The greatest deeds are still undone, the greatest songs are still unsung...
Back to top
View user's profile Send private message
Dolio
l33t
l33t


Joined: 17 Jun 2002
Posts: 650

PostPosted: Sat Jun 22, 2002 6:30 am    Post subject: Uh oh. Reply with quote

I tried recompiling my system with Autobot's list of fun flags. Then after about 3 hours, the build failed at xscreensaver. I figured it was just the flags, so I unmerged it, and started the build over. Everything only took 6 hours (less than I was expecting :) ). However, after all was said and done, I tried taking out flags one by one, without much success. So I decided to change the flags to just "-march=i686 -O2 -pipe", and found out that it doesn't compile at all anymore under any kind of circumstances that I can make (I've tried rebooting, as well).

The errors it seems to fail with are all kinds of undefined references (to _XmStrings, XmCreateSeparatorGadget, ..., blurb, etc) mostly in demo-Xm-widgets.o, but also in prefs.o, remote.o, dpms.o, and exec.o.

Have you encountered this Autobot (or anyone for that matter)? Are these references to the stuff in XFree86, or somewhere else, does anyone know (so if possible I can avoid recompiling a whole bunch of stuff needlessly)? I guess if worse comes to worst I can just do emerge -e xscreensaver and just recompile the stuff it directly depends on (and hopefully avoid some of the 6 hours of rebuilding). Thanks for the help.
_________________
They don't have a good bathroom to do coke in.
Back to top
View user's profile Send private message
Sivar
Apprentice
Apprentice


Joined: 25 May 2002
Posts: 266
Location: USA

PostPosted: Sat Jun 22, 2002 6:38 am    Post subject: Reply with quote

Has anyone timed differences in execution time with and without the "frerun-cse-after-loop -frerun-loop-opt" flags?
_________________
The greatest deeds are still undone, the greatest songs are still unsung...
Back to top
View user's profile Send private message
Sivar
Apprentice
Apprentice


Joined: 25 May 2002
Posts: 266
Location: USA

PostPosted: Sat Jun 22, 2002 6:46 am    Post subject: Reply with quote

pacman wrote:

As you said i have no clue of those flags so it seems to be:
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=i686 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-mcpu=i686 -O3 -pipe -fomit-frame-pointer"

If you are interested in learning what they all do (which is what Gentoo and Linux are about, right?), you may wish to take a look at the gcc info page with "info gcc" and look under "invoking gcc."
_________________
The greatest deeds are still undone, the greatest songs are still unsung...
Back to top
View user's profile Send private message
Dolio
l33t
l33t


Joined: 17 Jun 2002
Posts: 650

PostPosted: Sat Jun 22, 2002 7:06 am    Post subject: Oops. Reply with quote

:oops: Very sorry, but I edited out a couple of my USE="-..." variables and now it compiles fine. My face is officially red. Apologies.
_________________
They don't have a good bathroom to do coke in.
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Sat Jun 22, 2002 9:04 am    Post subject: Reply with quote

I haven't had any problems with my flags, I don't have anything KDE related either 8O
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
Lovechild
Advocate
Advocate


Joined: 17 May 2002
Posts: 2858
Location: Århus, Denmark

PostPosted: Sat Jun 22, 2002 9:54 am    Post subject: Reply with quote

GCC 3.1-r6
CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer"
CXXFLAGS=$CFLAGS
Back to top
View user's profile Send private message
CoronaLover
Retired Dev
Retired Dev


Joined: 20 Jun 2002
Posts: 163
Location: Rosh-ha'ayin, Israel

PostPosted: Sat Jun 22, 2002 11:10 am    Post subject: Reply with quote

Lovechild wrote:
GCC 3.1-r6
CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer"
CXXFLAGS=$CFLAGS


the same flags that i use...not a single problem.
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Sat Jun 22, 2002 9:42 pm    Post subject: Reply with quote

Yeah I wouldn't get too (flag happy) with gcc3 yet, those look good to me also.
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
Zu`
l33t
l33t


Joined: 26 May 2002
Posts: 716
Location: BE

PostPosted: Sat Jun 22, 2002 10:35 pm    Post subject: Reply with quote

AutoBot wrote:
Ah it would appear with the new portage that emerge -e world does indeed work correctly now, so disreguard and use it instead.


From what version on? Is that in the Changelog or confirmed somehow? Sorry can't check now, I'm not at home.

Greets
Back to top
View user's profile Send private message
Zu`
l33t
l33t


Joined: 26 May 2002
Posts: 716
Location: BE

PostPosted: Sat Jun 22, 2002 10:36 pm    Post subject: Reply with quote

AutoBot wrote:
This is correct pacman:

Code:

CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=i686 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-mcpu=i686 -O3 -pipe -fomit-frame-pointer"




Also, according to the comments in /etc/make.conf wouldn't it be better to use -march instead of -mcpu ?

Greets
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Sat Jun 22, 2002 11:13 pm    Post subject: Reply with quote

Zu` wrote:
AutoBot wrote:
Ah it would appear with the new portage that emerge -e world does indeed work correctly now, so disreguard and use it instead.


From what version on? Is that in the Changelog or confirmed somehow? Sorry can't check now, I'm not at home.

Greets


Not sure when it actually started working again, I'm using portage 2.0.4 and this is the output from emerge -ep world:
Code:

OptimusPrime home # emerge -ep world

These are the packages that I would merge, in order.

Calculating world dependencies ...done!
[ebuild  N   ] sys-apps/cronbase-0.01 to /
[ebuild  N   ] sys-apps/groff-1.17.2-r1 to /
[ebuild  N   ] sys-apps/man-1.5i-r3 to /
[ebuild  N   ] sys-apps/man-pages-1.51 to /
[ebuild  N   ] sys-libs/zlib-1.1.4 to /
[ebuild  N   ] sys-devel/gettext-0.11.1 to /
[ebuild  N   ] sys-apps/grep-2.5-r1 to /
[ebuild  N   ] sys-apps/reiserfsprogs-3.1c to /
[ebuild  N   ] sys-apps/bzip2-1.0.2-r1 to /
[ebuild  N   ] app-arch/unzip-5.42-r1 to /
[ebuild  N   ] x11-base/opengl-update-1.3 to /
[ebuild  N   ] sys-libs/ncurses-5.2-r5 to /
[ebuild  N   ] sys-libs/db-1.85-r1 to /
[ebuild  N   ] sys-devel/libtool-1.4.1-r7 to /
[ebuild  N   ] sys-devel/m4-1.4p to /
[ebuild  N   ] sys-libs/db-3.2.3h-r4 to /
[ebuild  N   ] sys-libs/gdbm-1.8.0-r5 to /
[ebuild  N   ] sys-devel/perl-5.6.1-r4 to /
[ebuild  N   ] sys-devel/autoconf-2.53a to /
[ebuild  N   ] sys-libs/pwdb-0.61-r3 to /
[ebuild  N   ] dev-libs/glib-1.2.10-r4 to /
[ebuild  N   ] sys-devel/automake-1.6.1-r5 to /
[ebuild  N   ] sys-apps/miscfiles-1.2-r1 to /
[ebuild  N   ] sys-libs/cracklib-2.7-r5 to /
[ebuild  N   ] sys-libs/pam-0.75-r6 to /
[ebuild  N   ] sys-devel/flex-2.5.4a-r4 to /
[ebuild  N   ] x11-base/xfree-4.2.0-r12 to /
[ebuild  N   ] media-gfx/blender-2.23 to /
[ebuild  N   ] sys-apps/kbd-1.06-r1 to /
[ebuild  N   ] sys-apps/netkit-base-0.17-r6 to /
[ebuild  N   ] sys-devel/binutils-2.11.92.0.12.3-r2 to /
[ebuild  N   ] sys-apps/tar-1.13.25-r2 to /
[ebuild  N   ] sys-libs/lib-compat-1.0-r2 to /
[ebuild  N   ] sys-devel/ld.so-1.9.11-r2 to /
[ebuild  N   ] dev-libs/openssl-0.9.6d to /
[ebuild  N   ] net-misc/wget-1.8.2 to /
[ebuild  N   ] dev-util/ebuilder-0.4-r1 to /
[ebuild  N   ] sys-apps/iptables-1.2.6a-r1 to /
[ebuild  N   ] sys-apps/sed-3.02.80-r3 to /
[ebuild  N   ] sys-apps/grub-0.90-r7 to /
[ebuild  N   ] dev-libs/popt-1.6.3 to /
[ebuild  N   ] dev-util/intltool-0.22 to /
[ebuild  N   ] x11-libs/gtk+-1.2.10-r8 to /
[ebuild  N   ] x11-misc/fluxconf-0.6 to /
[ebuild  N   ] sys-apps/findutils-4.1.7-r1 to /
[ebuild  N   ] sys-libs/readline-4.1-r4 to /
[ebuild  N   ] x11-wm/fluxbox-0.1.9-r1 to /
[ebuild  N   ] x11-misc/bbrun-1.3 to /
[ebuild  N   ] sys-apps/file-3.37 to /
[ebuild  N   ] dev-python/python-fchksum-1.6.1 to /
[ebuild  N   ] sys-apps/bash-2.05a-r2 to /
[ebuild  N   ] dev-libs/expat-1.95.2 to /
[ebuild  N   ] dev-lang/python-2.2.1-r1 to /
[ebuild  N   ] sys-apps/debianutils-1.16 to /
[ebuild  N   ] sys-apps/fileutils-4.1.8-r2 to /
[ebuild  N   ] sys-apps/portage-2.0.4 to /
[ebuild  N   ] sys-apps/procps-2.0.7-r6 to /
[ebuild  N   ] x11-terms/root-tail-0.0.10 to /
[ebuild  N   ] dev-util/dialog-0.9_beta20020519 to /
[ebuild  N   ] app-admin/gentoolkit-0.1.11-r1 to /
[ebuild  N   ] media-sound/wmix-3.0-r1 to /
[ebuild  N   ] net-ftp/ftp-0.17-r1 to /
[ebuild  N   ] sys-devel/make-3.79.1-r3 to /
[ebuild  N   ] sys-apps/texinfo-4.2-r2 to /
[ebuild  N   ] sys-apps/sharutils-4.2.1-r5 to /
[ebuild  N   ] sys-apps/shadow-4.0.2-r5 to /
[ebuild  N   ] app-admin/superadduser-1.0-r1 to /
[ebuild  N   ] sys-apps/setserial-2.17-r2 to /
[ebuild  N   ] sys-apps/e2fsprogs-1.27 to /
[ebuild  N   ] app-cdr/cdrtools-1.11.24 to /
[ebuild  N   ] sys-apps/tcp-wrappers-7.6-r3 to /
[ebuild  N   ] net-misc/openssh-3.2.3_p1-r1 to /
[ebuild  N   ] sys-apps/modutils-2.4.16-r1 to /
[ebuild  N   ] sys-kernel/gentoo-sources-2.4.19-r7 to /
[ebuild  N   ] sys-apps/which-2.13 to /
[ebuild  N   ] net-im/gaim-0.58-r2 to /
[ebuild  N   ] sys-apps/diffutils-2.7.7 to /
[ebuild  N   ] sys-apps/ed-0.2-r3 to /
[ebuild  N   ] sys-apps/raidtools-0.90-r2 to /
[ebuild  N   ] app-shells/sash-3.4-r5 to /
[ebuild  N   ] sys-devel/gcc-2.95.3-r5 to /
[ebuild  N   ] sys-apps/pam-login-3.6-r2 to /
[ebuild  N   ] sys-apps/util-linux-2.11o-r3 to /
[ebuild  N   ] sys-devel/bin86-0.15.5 to /
[ebuild  N   ] sys-apps/net-tools-1.60-r4 to /
[ebuild  N   ] media-libs/libpng-1.2.3 to /
[ebuild  N   ] media-libs/audiofile-0.2.3-r1 to /
[ebuild  N   ] media-sound/esound-0.2.28 to /
[ebuild  N   ] gnome-base/ORBit-0.5.16 to /
[ebuild  N   ] media-libs/jpeg-6b-r2 to /
[ebuild  N   ] media-libs/giflib-4.1.0-r3 to /
[ebuild  N   ] media-libs/tiff-3.5.7-r1 to /
[ebuild  N   ] media-libs/imlib-1.9.14-r1 to /
[ebuild  N   ] gnome-base/gnome-libs-1.4.1.7 to /
[ebuild  N   ] media-libs/gdk-pixbuf-0.18.0 to /
[ebuild  N   ] dev-libs/libxml2-2.4.22 to /
[ebuild  N   ] app-misc/rox-1.2.0 to /
[ebuild  N   ] dev-lang/tcl-8.3.3-r2 to /
[ebuild  N   ] sys-kernel/linux-headers-2.4.18 to /
[ebuild  N   ] app-emulation/vmware-workstation-3.1.1.1790 to /
[ebuild  N   ] net-irc/irssi-0.8.4 to /
[ebuild  N   ] sys-apps/gawk-3.1.0-r1 to /
[ebuild  N   ] sys-apps/gzip-1.3.2 to /
[ebuild  N   ] media-video/nvclock-0.5 to /
[ebuild  N   ] app-text/dgs-0.5.10-r1 to /
[ebuild  N   ] media-libs/freetype-2.0.9 to /
[ebuild  N   ] media-gfx/imagemagick-5.4.5 to /
[ebuild  N   ] sys-devel/bc-1.06-r3 to /
[ebuild  N   ] media-libs/freetype-1.3.1-r3 to /
[ebuild  N   ] x11-misc/ttmkfdir-0.0-r1 to /
[ebuild  N   ] sys-devel/bison-1.34-r1 to /
[ebuild  N   ] sys-devel/patch-2.5.4-r4 to /
[ebuild  N   ] sys-apps/cpio-2.4.2-r4 to /
[ebuild  N   ] sys-apps/psmisc-19-r3 to /
[ebuild  N   ] net-misc/netkit-telnetd-0.17-r3 to /
[ebuild  N   ] net-misc/rsync-2.5.5 to /
[ebuild  N   ] dev-db/edb-1.0.3 to /
[ebuild  N   ] media-libs/imlib2-1.0.6-r1 to /
[ebuild  N   ] x11-libs/libast-0.4-r1 to /
[ebuild  N   ] x11-terms/eterm-0.9.1-r4 to /
[ebuild  N   ] media-libs/libmikmod-3.1.10 to /
[ebuild  N   ] media-video/nvidia-kernel-1.0.2960 to /
[ebuild  N   ] media-video/nvidia-glx-1.0.2960-r1 to /
[ebuild  N   ] media-libs/libogg-1.0_rc3-r1 to /
[ebuild  N   ] media-libs/libvorbis-1.0_rc3-r1 to /
[ebuild  N   ] media-libs/svgalib-1.4.3-r1 to /
[ebuild  N   ] dev-lang/nasm-0.98.31-r1 to /
[ebuild  N   ] media-libs/libsdl-1.2.4.20020601 to /
[ebuild  N   ] media-libs/win32codecs-0.60-r1 to /
[ebuild  N   ] media-libs/divx4linux-20020418 to /
[ebuild  N   ] media-video/avifile-0.7.4.20020426-r2 to /
[ebuild  N   ] media-sound/xmms-1.2.7-r8 to /
[ebuild  N   ] media-libs/mpeg-lib-1.3.1-r1 to /
[ebuild  N   ] media-gfx/gimp-1.2.3-r2 to /
[ebuild  N   ] net-misc/dhcpcd-1.3.20_p0-r1 to /
[ebuild  N   ] sys-apps/hdparm-5.2 to /
[ebuild  N   ] dev-java/java-config-0.2.4 to /
[ebuild  N   ] media-libs/lcms-1.08 to /
[ebuild  N   ] media-libs/libmng-1.0.3 to /
[ebuild  N   ] dev-util/pkgconfig-0.12.0 to /
[ebuild  N   ] dev-libs/glib-2.0.4 to /
[ebuild  N   ] x11-libs/pango-1.0.3 to /
[ebuild  N   ] dev-libs/atk-1.0.2 to /
[ebuild  N   ] x11-libs/gtk+-2.0.5 to /
[ebuild  N   ] app-arch/zip-2.3-r1 to /
[ebuild  N   ] dev-java/blackdown-jre-1.3.1-r7 to /
[ebuild  N   ] net-www/mozilla-1.0-r2 to /
[ebuild  N   ] sys-apps/textutils-2.0.19-r1 to /
[ebuild  N   ] sys-apps/baselayout-1.7.9-r1 to /
[ebuild  N   ] sys-libs/glibc-2.2.5-r4 to /
[ebuild  N   ] x11-misc/WMCPULoad-0.8.1 to /
[ebuild  N   ] sys-apps/sh-utils-2.0.11-r5 to /
[ebuild  N   ] sys-libs/slang-1.4.5-r2 to /
[ebuild  N   ] app-editors/nano-1.0.8-r1 to /
[ebuild  N   ] dev-libs/libpcre-3.9-r1 to /
[ebuild  N   ] app-admin/metalog-0.6-r9 to /
[ebuild  N   ] x11-misc/bbpager-0.3.0-r3 to /
[ebuild  N   ] sys-apps/devfsd-1.3.25 to /
[ebuild  N   ] sys-apps/less-371-r1 to /
[ebuild  N   ] sys-apps/fbset-2.1 to /
[ebuild  N   ] media-sound/lame-3.92 to /
[ebuild  N   ] media-libs/libdv-0.9.5-r1 to /
[ebuild  N   ] media-video/mplayer-0.90_pre5-r1 to /

_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
Malakin
Veteran
Veteran


Joined: 14 Apr 2002
Posts: 1692
Location: Victoria BC Canada

PostPosted: Sun Jun 23, 2002 7:05 am    Post subject: Reply with quote

kdemultimedia has crashing problems if you use "-fomit-frame-pointer", so you may want to emerge everything with it, then re-emerge that one ebuild without it.
Back to top
View user's profile Send private message
DArtagnan
l33t
l33t


Joined: 30 Apr 2002
Posts: 942
Location: Israel, Jerusalem

PostPosted: Sun Jun 23, 2002 7:08 am    Post subject: Reply with quote

Did u tried it by your self and saw the error?
Or just heared about it?
_________________
All for one and one for All
--

MACPRO machine...
Back to top
View user's profile Send private message
Lovechild
Advocate
Advocate


Joined: 17 May 2002
Posts: 2858
Location: Århus, Denmark

PostPosted: Sun Jun 23, 2002 7:31 am    Post subject: Reply with quote

Malakin wrote:
kdemultimedia has crashing problems if you use "-fomit-frame-pointer", so you may want to emerge everything with it, then re-emerge that one ebuild without it.


I just edited the ebuild to:

export CFLAGS="-march=athlon-tbird -O2 -pipe"
export CXXFLAGS=$CFLAGS

That way I don't have to compile it two times in a row.
Back to top
View user's profile Send private message
Lovechild
Advocate
Advocate


Joined: 17 May 2002
Posts: 2858
Location: Århus, Denmark

PostPosted: Sun Jun 23, 2002 8:15 am    Post subject: Reply with quote

Following Sivar' advice I'm now trying to rebuild the entire thing with

Code:

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -fexpensive-optimizations -falign-functions=4
CXXFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer  -frerun-cse-after-loop -frerun-loop-opt -fexpensive-optimizations -falign-functions=4


just for the hell of it. oh QT3 still being compiled with -O3
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2, 3, ... 35, 36, 37  Next
Page 2 of 37

 
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