When I attempted to emerge arts-1.1.4 with gcc-3.2.3-r1 I receieved a compiler error. This is supposedly the new version of arts to which I am upgrading. Reproducible: Always Steps to Reproduce: 1.emerge rsync 2.emerge -U -D world 3.alternatively to the above: emerge arts Actual Results: g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../mcop -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -I../libltdl -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe -fno-exceptions -fno-check-new -ftemplate-depth-99 -O0 -c -o namespace.o `test -f 'namespace.cc' || echo './'`namespace.cc /bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe -fno-exceptions -fno-check-new -ftemplate-depth-99 -O0 -o mcopidl -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib mcopidl.o yacc.o scanner.o namespace.o ../mcop/libmcop.la /usr/local/lib/./libstdc++.so: undefined reference to `_Unwind_Resume_or_Rethrow@GCC_3.3' collect2: ld returned 1 exit status make[2]: *** [mcopidl] Error 1 make[2]: Leaving directory `/var/tmp/portage/arts-1.1.4/work/arts-1.1.4/mcopidl' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/arts-1.1.4/work/arts-1.1.4' make: *** [all] Error 2 !!! ERROR: kde-base/arts-1.1.4 failed. !!! Function kde_src_compile, Line 137, Exitcode 2 !!! died running emake, kde_src_compile:make Expected Results: arts-1.1.4, kdelibs-3.1.4, kdebase-3.1.4 would all compile to update my machine. I have worked around this problem with gcc-3.3 and g++-3.3, which I have on my machine as an alternate compiler to the default Gentoo compiler 3.2.3-r1. By calling "env CC=gcc-3.3 CXX=g++-3.3 CPP=cpp-3.3 CPPXX=cpp-3.3 emerge -U -D world" the process of updating arts was completed successfully. hellings@localhost rand $ emerge info Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r6) ================================================================= System uname: 2.4.20-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=i686 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg gnome libg++ libwww mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline arts svga java guile X sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla cdr"
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.