

I'm still searching for more info on that issue. Until now, noone could confirm, that it's not possible to compile KDE3.4.0_rc1 with gcc-3.4.3-20050110, so I am still unsure, if it is my compile-flags-selection, or simply gcc-3.4.3-20050110 itself.nightmorph wrote:That's what I've heard; that gcc 3.4.3.x itself simply does not work on KDE 3.4; it's too broken just yet. Might want to give it a week or so and see what develops.
Take a look at your /etc/fstab: I'm willing to bet that if you followed this guide exactly, you copied Bob P's fstab, and have set /boot to not be mounted automatically. If you want to be able to freely browse /boot, remove "noauto" from its options; instead, just have it set to "notail", the way / is supposed to be configured.corefile wrote:Strange thing is, I don't have a /boot/grub directory when I reboot, but during the boot process there is a grub screen and everthing works fine. I went to take a look at something and cd /boot and there is no grub directory. what gives
Why don't you be the first to try?Infra wrote:Hi,
Anyone tried if this install method works for the AMD64-platform? Of course there has to be few changes to be done but mostly it should work right?
I will, when i get my next server.kimchi_sg wrote:Why don't you be the first to try?Infra wrote:Hi,
Anyone tried if this install method works for the AMD64-platform? Of course there has to be few changes to be done but mostly it should work right?
fwiw, i use a more "sane" set of cflags when I compile kde or any of its components. i revert to the CFLAGS that are in the first post; that is to say, i don't use kimchi-sg's recommended flags when compiling kde, i use no entry for cxxflags, and i use no ldflags. taking that approach, i've had no problems whatsoever with kde 3.3.x with gcc 3.4.3.20050110.Master One wrote:So I used Bob P's brilliant "Stage1 on a Stage3 Tarball" installation menthod, and I used the full set of the mentioned "bleeding edge" CFLAGS+CXXFLAGS+LDFLAGS.
Everything compiled just fine on that machine, except ~ 18 packages of KDE3.4.0_rc1, which simply do not want to compile.
fwiw, i have decided to stay away from KDE in the testing branch. i've reverted to stable branch kde 3.3.x on all of my boxen, because the kde ebuilds are just too damned big to keep recompiling every time that one little component gets changed. as much as i like the kde interface, compiling kde is a major league PITA -- i hate it.The question is now, how I should proceed, if I want to try it with more "sane" flags on those packages again.
Is it possible, that the toolkit itself got damaged by my flags-selection, when compiling the toolkit in the first place? This would be the only explaination, why the error stayed the same with those ~ 18 KDE3.4.0_rc1 packages, independently of the flag-selections, I tried on those packages. If this should really be possible, it looks like the only way to fix it, would be to recompile the whole toolkit with "saner" flags, right?

The problem seems to be, that just reverting to a minimal and very safe set of flags just does not help in that case, I got it down to "-O2 -pipe" without additional CXXFLAGS & LDFLAGS, but it led to the exact same error on those packages, which led me to the conclusion, that it has to be a gcc-3.4.3-20050110 vs KDE3.4.0_rc1 issue, since it can't be my gcc / toolkit to be broken (otherwise I surely would have discovered much more problems with other packages as well, I assume).Bob P wrote:fwiw, i use a more "sane" set of cflags when I compile kde or any of its components. i revert to the CFLAGS that are in the first post; that is to say, i don't use kimchi-sg's recommended flags when compiling kde, i use no entry for cxxflags, and i use no ldflags. taking that approach, i've had no problems whatsoever with kde 3.3.x with gcc 3.4.3.20050110.
I think, it is the same version as you have installed, they surely would not have changed anything with letting the version number the same (and there is only one gcc-3.4.3-20050110).Bob P wrote:of course, i have no idea whether my 20050110 is the same 20050110 that is in portage right now, as i locked down my toolkit prior to all of that masking/unmasking business with 3.4.3-r1 and 20050110. its entirely possible that something is different in the version of 20050110 that's now in the portage tree, and that my results just can't be reproduced because the compiler has been somehow changed.
I think I also stop playing arround with KDE3.4.0_rc1, I need a working environment, so I am going to install 3.3.2-r1 for now, and wait for the upgrade to 3.4.0, until it has entered the stable branch.Bob P wrote:fwiw, i have decided to stay away from KDE in the testing branch. i've reverted to stable branch kde 3.3.x on all of my boxen, because the kde ebuilds are just too damned big to keep recompiling every time that one little component gets changed. as much as i like the kde interface, compiling kde is a major league PITA -- i hate it.
An interesting idea, to try out gcc-4.0.0_alpha20050213. Do you think it is enough, just to emerge this gcc-version, and to switch using gcc-config?Bob P wrote:by any chance, have you thought about blazing the trail, and trying to build a system based on gcc 4.0? it would be interesting to try the kde betas with that. my impression is that you'll be more successful with 4.0 than 3.3.4.
specifying -march=cpu-type implies -mtune=cpu-type
Im hacking my way through converting my desktop to use nptl with 3.4.3 from a "gcc3.3.5 + non-nptl" state.Master One wrote: An interesting idea, to try out gcc-4.0.0_alpha20050213. Do you think it is enough, just to emerge this gcc-version, and to switch using gcc-config?
I am still confused about the need, to recompile the whole toolkit after one part of it has changed, since the rest stays the same and is already compiled correctly, using your advanced install method.
You need to read things like this, and then pages 11, 12, and 13 of the install guide to get an idea of why both are specified. One of the reasons for using -march is because gcc 3.3.x doesn't support -mtune, but gcc 3.4.3.x does. And, as some ebuilds don't use -march, then using -mtune gets in a few processor-specific optimizations. -mtune isn't as good as -march, but one can actually use -mtune and -march to describe two different processor functions.JensRex wrote:Why have both -march and -mtune in the CFLAGS? To quote from the GCC documentation:
specifying -march=cpu-type implies -mtune=cpu-type
of course, i have no idea whether my 20050110 is the same 20050110 that is in portage right now, as i locked down my toolkit prior to all of that masking/unmasking business with 3.4.3-r1 and 20050110. its entirely possible that something is different in the version of 20050110 that's now in the portage tree, and that my results just can't be reproduced because the compiler has been somehow changed.
Thank you for the explanation. I appreciate it, and I will take it into consideration.nightmorph wrote:[valid reasons for using -march and -mtune]
although it might seem counter-intuitive, the devs update ebuilds without changing their version numbers all of the time. throughout all of the masking/unmasking of the GCC 3.4.3 compilers, the actual ebuillds went through a number of revisions although their version numbers never changed.Master One wrote:I think, it is the same version as you have installed, they surely would not have changed anything with letting the version number the same (and there is only one gcc-3.4.3-20050110).
we talked about locking down the toolkit in the other thread. rather than retyping things, i'll just direct you there.corefile wrote:Bob what do you mean you locked down your toolkit? Is there anytheng we need to do after we get everything working to lock it down? Or are you just using that as a frame of speech to say that you got your stuff working so you don't mess with it? By the way thanks for guide.

Code: Select all
CFLAGS="-O2 -march=pentium-m -pipe -fforce-addr -fomit-frame-pointer -fweb"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
LDFLAGS="-Wl,-O1"to reach a high degree of success on a wide variety of platforms, i think that its important to be selective about one's choice of cflags. fwiw, i'm still not using the insane set of cflags on my system. i'm still limiting myself to the conservative and performance-enhancing cflags that i've used in the Guide. although the use of some of those other flags (suggested by kimchi-sg) may be alluring, its important to remember that they can act as a double edged sword. some of them cause alot of problems -- more problems than they are worth.Master One wrote:Well, just an update for those, who care:
After taking some time to study the gcc onlinedocs, I reverted to the following save set of flags for my IBM ThinkPad T42p:The clue is, these few flags most likely will give a much better results, than the formerly used stacked "insane" flags.Code: Select all
CFLAGS="-O2 -march=pentium-m -pipe -fforce-addr -fomit-frame-pointer -fweb" CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden" LDFLAGS="-Wl,-O1"
I now see the sense of going -O2 instead of -O3, at least one of the "insane" flags had questionable results (-fprefetch-loop-arrays -> "These options may generate better or worse code"), and one definitely broke libs without error on compile (-fvisibility=hidden -> only to be used by developers, at least for now).
these cflags are conservative. they are extensivley tested and they are proven to be safe. in the Guide, i have specifically warned people about the need for troubleshooting that would result from using anything other than the recommended flags. kimchi_sg also made his warnings in bold faced red type. its really surprising to me that in spite of repeated warnings, people decide to use flags other than those that are recommended. its as if there's some overpowering vortex that is pulling everyone into the land of the Gentoo Ricer. not that there's anything wrong with that, of course, as long as the user is willing to accept the responsibility for troubleshooting their own system. unfortunately, that kind of trouble is going to follow for those that insist on adding to the cflags. the funny thing is that the problem is completely avoidable, but people just can't seem to resist the temptation to subject themselves to it.Stage 1/3 Guide wrote:7.2.1 Updating make.conf
Here are some settings for /etc/make.conf that may be worth considering. They are the actual CFLAGS that I used to build my systems and have proven reliable on multiple installations. They include extreme levels of code optimization (notice the -O3 flag), and some very safe and stable performance-enhancing CFLAGS. Depending upon your individual hardware, you may have to simplify some of the CFLAGS settings. Note that the referenced architecture in this example is Intel Pentium.
If you don't feel comfortable using such extreme levels of optimization, you can ease-up on the CFLAGS settings and fall back to a less-optimized system. This will save you some compile time, at the expense of some system performance. You'll still be getting most of the benefits of GCC 3.4.3, so this isn't a bad compromise. This may be a better approach for those who don't want to be on the bleeding edge or don't want to spend time troubleshooting.Code: Select all
CFLAGS="-O3 -march=pentium -mtune=pentium -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe" CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
Code: Select all
CFLAGS="-O2 -march=pentium -mtune=pentium -pipe" CXXFLAGS=${CFLAGS}
Code: Select all
Function econf, Line 485 exit code 0 Code: Select all
Error: Bad gcc version
Check "configure.log" if you do not understand why it failed.
!!! ERROR: media-video/mplayer-1.0_pre5-r5 failed.
!!! Function src_compile, Line 460, Exitcode 1
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.