Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 483298 - sys-devel/gcc-4.1.2[d]: version `GCC_4.2.0' not found
Summary: sys-devel/gcc-4.1.2[d]: version `GCC_4.2.0' not found
Status: RESOLVED DUPLICATE of bug 434738
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-01 19:14 UTC by Martin von Gagern
Modified: 2014-01-02 16:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (sys-devel:gcc-4.1.2.emerge--info,7.29 KB, text/plain)
2013-09-01 19:14 UTC, Martin von Gagern
Details
libphobos/config.log (config.log,27.81 KB, text/plain)
2013-09-01 19:14 UTC, Martin von Gagern
Details
gcc-build-logs.tar.bz2 (gcc-build-logs.tar.bz2,152.60 KB, application/x-tar)
2014-01-02 15:27 UTC, Justin Lecher (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2013-09-01 19:14:07 UTC
Created attachment 357590 [details]
emerge --info

The build appears to be running two configure processes in parallel, so I'll try to extract the relevant console messages manually:

checking If /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/gdc -B/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include can compile D sources... /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/cc1d: /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libstdc++.so.6)
no
configure: error: can't compile D sources!
make[2]: *** [configure-target-libphobos] Error 1

I have the following versions of sys-devel/gcc installed: 3.4.6-r2, 4.1.2, 4.5.4, 4.6.4, 4.7.3. I've just now enabled the d USE flag. The 3.4.6-r2 rebuild apparently suffered the same problem, but I'll stick to 4.1.2 for this report.

The relevant part from the libphobos/config.log:

configure:3494: checking If /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/gdc -B/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include can compile D sources
configure:3504: result: no
configure:3506: error: can't compile D sources!

Judging from bug #178896 comment #13, chances of getting this fixed might be small, but I wanted to report this nevertheless. If you decide not to address this, you might consider masking the d USE flag instead.
Comment 1 Martin von Gagern 2013-09-01 19:14:34 UTC
Created attachment 357592 [details]
libphobos/config.log
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2014-01-02 15:26:45 UTC
Same without USE=d
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2014-01-02 15:27:43 UTC
Created attachment 366778 [details]
gcc-build-logs.tar.bz2

logs
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2014-01-02 15:29:06 UTC
msgfmt -o de.mo /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libstdc++-v3/po/de.po
msgfmt: /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/libstdc++.so.6)
Makefile:422: recipe for target 'de.mo' failed
make[5]: *** [de.mo] Error 1
Comment 5 SpanKY gentoo-dev 2014-01-02 16:09:15 UTC

*** This bug has been marked as a duplicate of bug 434738 ***
Comment 6 SpanKY gentoo-dev 2014-01-02 16:19:25 UTC
and you re-opened this bug because ... ?
Comment 7 Justin Lecher (RETIRED) gentoo-dev 2014-01-02 16:34:44 UTC
(In reply to SpanKY from comment #6)
> and you re-opened this bug because ... ?

accidentally.

*** This bug has been marked as a duplicate of bug 434738 ***