I can't really tell what the problem is, but GCC chokes horribly in the process. 765K of build log output to follow... I can say I never had this with GCC 3.3.6 building the very same version of qcad.
Created attachment 74003 [details] 6174-qcad-2.0.4.0-r1.log
Created attachment 74004 [details] emerge info
Something crashed so hard, in fact, that the top process (being emerge) or any child process never got around to printing a newline, so the last line of the first attachment displayed
(In reply to comment #3) > first attachment displayed ... the shell prompt attached to the end of the output in attachment #74003 [details].
Same happens with the unstable version sci-misc/qcad-2.0.4.0-r2: dl_dxf.cpp:(.text+0x13f19): undefined reference to `std::basic_string<char, std ::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' dl_dxf.cpp:(.text+0x14005): undefined reference to `std::basic_string<char, std ::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' ../../dxflib/lib/libdxf.a(dl_dxf.o):dl_dxf.cpp:(.text+0x14018): more undefined references to `std::basic_string<char, std::char_traits<char>, std::allocator< char> >::_Rep::_S_empty_rep_storage' follow ../../dxflib/lib/libdxf.a(dl_dxf.o): In function `DL_Dxf::addLayer(DL_ CreationInterface*)': dl_dxf.cpp:(.text+0x14epia ~ # Looks like GCC crashes while printer error messages.
not really see Bug 104705
emerges fine for me on 3.4.4 maybe you need to rebuild your system against gcc-3.4.4 first
(In reply to comment #7) > maybe you need to rebuild your system against gcc-3.4.4 first That's what I did two weeks ago.
Created attachment 74030 [details] qcad-gcc-merge.log I tried an additional build of -r2 just now. That failed as well, so I will try to use CFLAGS="-march=i686" to see if this has to do with the (relatively new) optimisations for VIA C3-2 (Nehemiah and so on). Side note: The build from Tue Nov 15 21:53:42 2005 does segfault when I try to insert a part from qcad-parts. :-\
(In reply to comment #9) > I tried an additional build of -r2 just now. That failed as well, so I will try > to use CFLAGS="-march=i686" to see if this has to do with the (relatively new) > optimisations for VIA C3-2 (Nehemiah and so on). Same problem.
Merged fine here as well. Its strange that its having a linking issue with libstdc++. Is /usr/lib/libstdc++.so present? Maybe try switching to another gcc profile and switching back? Could be a gcc-config bug.
I'd recommend the following: reinstall gcc-3.4.4, gcc-config {3.4.4 version} && source /etc/profile && ldconfig && emerge -e system && emerge -e world. If anything fails in the emerge -e world, just emerge --resume --skipfirst past it and come back to it later. Then try reproducing the issue here. If its still a problem, reopen the bug.