Summary: | arts-1.1.4 failed to compile against the default gcc-3.2.3-r1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Greg Hellings <jesusislord8> |
Component: | [OLD] GCC Porting | Assignee: | Please assign to toolchain <gcc-porting> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | dan, pappy |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 28802, 29558 | ||
Bug Blocks: |
Description
Greg Hellings
2003-09-27 08:07:20 UTC
Just worked fine for me with very nearly the same setup. I'm using -O3 in my CFLAGS, but I can't see that mattering much. What does gcc-config -l give you on your system? I bet there's something wonky with your gcc setup. Here's the output that you requested: localhost src # gcc-config -l [1] i686-pc-linux-gnu-3.2.3 You said you had gcc 3.3 on your machine but gcc-config doesn't know about it. That seems bad to me. Did you just install gcc 3.3 "by hand" or something? What does qpkg -i | grep gcc spit out? There is no qpkg on my machine. And yes, I did install gcc-3.3 "by hand" as you called it. I downloaded the source straight from gnu and compiled and installed it by myself. I told 3.3 to install with program-suffix=-3.3. It is the 3.3 that did work, and the portage-installed 3.2.3-r1 that failed in the compile. emerge gentoolkit to get qpkg. I recommend you install gentoolkit on all your Gentoo systems as it makes reporting bugs much easier. I believe your gcc 3.3 install has overwritten some of the files that your gcc 3.2.3 install is using. If you really want to have both gcc 3.2.3 and 3.3 installed on this machine you should merge both versions from portage. For the problem with arts - I think if you remerge gcc 3.2.3 it will probably work fine. This bug is very similar to Bug #28802 as far as the error message goe, and could technically be a duplicate. However, this bug has a bit more information, so I'll make it a dependency doe now. Also, my reading of Comment #4 implies that by naming the gcc 3.3 compiler executable as "gcc-3.3" apparently resolved the issue, so I'll add Bug #29558 as a dependency as well as it is relelvant to the situation. Greg: Have you tried remerging gcc-3.2.3 to see if it solves your issue? If you want gcc-3.3.x, I recommend using the one available in portage so they get all the paths right and remove any old 3.2.3 files. I have not tried yet. I compiled the portage gcc-3.3.1-r3 and that has been fine since then. I will return to you with the details of using gcc-2.3.2-r1 once it has been reinstalled on top of my machine instead of the gcc-3.3.1-r3. Expect word in a day or so. Sorry, same error with gcc-3.2.3-r1 reemerged. !!! ERROR: kde-base/arts-1.1.4 failed. !!! Function kde_src_compile, Line 137, Exitcode 2 !!! died running emake, kde_src_compile:make Have a look at Bug #28802, and see my latest comment for a link that looks to possibly describe the problem. See if this is the case and post back either here, or on Bug #28802 I read the comment you linked to on but 28802, but it was a little unclear as to exactly how to check for the problem. That individual message linked me to two others, and I tried the advice that they gave, then recompiled, and found that there was still an unsuccessful build, with the same error as before. If there is a more specific file or symlink I should look for and where I should look for it, I could do that. There was no file or symlink of the specified name, although there were ones with very similar names, differing in some of the numbers tacked onto the end. Let me know further. gcc-3.3.2 is in portage now, give that a shot. According to the GCC people, 3.2.3 is no longer actively maintained, so you might want to switch to 3.3. arts 1.1.5 also fails against 3.2.3-r3 gcc (my deafult gcc) g++: Internal error: Terminated (program cc1plus) Please submit a full bug report. See <URL:http://bugs.gentoo.org/> for instructions. make[3]: *** [gslschedule.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/arts-1.1.5/work/arts-1.1.5/flow' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/arts-1.1.5/work/arts-1.1.5/flow' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/arts-1.1.5/work/arts-1.1.5' make: *** [all] Error 2 !!! ERROR: kde-base/arts-1.1.5 failed. !!! Function kde_src_compile, Line 127, Exitcode 2 !!! died running emake, kde_src_compile:make can you find the libstdc++ library used and see if it is still the one from the 3.2.3 ebuilds? i am afraid that the 3.3 installed gcc put in a C++ library that may be not compatible to the lower gcc version. thanks for your help, Alex whats the status here, anybody of you still alive? TIA, Alex I'm still alive, but I'm now not using arts/kde and i have gcc-3.3.3-r6. Sorry. closing as invalid. |