Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 341771 - sys-devel/kgcc64-4.3.3 - libgomp is built which fails
Summary: sys-devel/kgcc64-4.3.3 - libgomp is built which fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: Sparc64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-19 13:21 UTC by Alex Buell
Modified: 2010-11-21 21:25 UTC (History)
0 users

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


Attachments
build output log (build.log,643.92 KB, text/plain)
2010-10-19 13:24 UTC, Alex Buell
Details
emerge --info =sys-devel/kgcc64-4.3.3 (log1,4.44 KB, text/plain)
2010-10-19 13:24 UTC, Alex Buell
Details
emerge -pqv =sys-devel/kgcc64-4.3.3 (log2,69 bytes, text/plain)
2010-10-19 13:26 UTC, Alex Buell
Details
/var/tmp/portage/sys-devel/kgcc64-4.3.3/temp/environment (environment,186.36 KB, text/plain)
2010-10-19 13:27 UTC, Alex Buell
Details
config.log (config.log,37.36 KB, text/plain)
2010-10-20 16:06 UTC, Alex Buell
Details
/var/tmp/portage/sys-devel/kgcc64-4.3.3/work/build/sparc64-unknown-linux-gnu/libgomp/config.log (libgomp.log,12.71 KB, text/plain)
2010-11-07 10:06 UTC, Alex Buell
Details
toolchain-kgcc-no-libgomp.patch (toolchain-kgcc-no-libgomp.patch,1.30 KB, patch)
2010-11-19 07:07 UTC, SpanKY
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Buell 2010-10-19 13:21:13 UTC
sys-devel/kgcc64 fails to compile with an error:

Checking for a 64-bit type... unsigned long
checking for pid_t... no
checking for library containing strerror... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
make[1]: *** [configure-target-libiberty] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-devel/kgcc64-4.3.3/work/build'
make: *** [all] Error 2
Comment 1 Alex Buell 2010-10-19 13:24:02 UTC
Created attachment 251247 [details]
build output log
Comment 2 Alex Buell 2010-10-19 13:24:56 UTC
Created attachment 251249 [details]
emerge --info =sys-devel/kgcc64-4.3.3
Comment 3 Alex Buell 2010-10-19 13:26:23 UTC
Created attachment 251251 [details]
emerge -pqv =sys-devel/kgcc64-4.3.3
Comment 4 Alex Buell 2010-10-19 13:27:31 UTC
Created attachment 251253 [details]
/var/tmp/portage/sys-devel/kgcc64-4.3.3/temp/environment
Comment 5 Alex Buell 2010-10-19 13:28:29 UTC
I cannot rebuild my kgcc64 on sparc64 at all :-(
Comment 6 Alex Buell 2010-10-19 21:43:11 UTC
Note that however, it can still build linux kernels reliably.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2010-10-20 15:10:26 UTC
Please attach the config.log in question too.
Comment 8 Alex Buell 2010-10-20 16:06:32 UTC
Created attachment 251345 [details]
config.log
Comment 9 Wormo (RETIRED) gentoo-dev 2010-11-07 01:00:30 UTC
checking for /var/tmp/portage/sys-devel/kgcc64-4.3.3/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/kgcc64-4.3.3/work/build/./gcc/ -B/usr/sparc64-unknown-linux-gnu/bin/ -B/usr/sparc64-unknown-linux-gnu/lib/ -isystem /usr/sparc64-unknown-linux-gnu/include -isystem /usr/sparc64-unknown-linux-gnu/sys-include option to accept ANSI C... configure: error: C compiler cannot create executables
See `config.log' for more details.
make[1]: *** [configure-target-libgomp] Error 1

Could you attach the config.log from libgomp subdir? I don't think that's the one currently posted...
Comment 10 Alex Buell 2010-11-07 10:06:40 UTC
Created attachment 253487 [details]
/var/tmp/portage/sys-devel/kgcc64-4.3.3/work/build/sparc64-unknown-linux-gnu/libgomp/config.log

Is this the one you're after? Looks like it couldn't find a file it needed.
Comment 11 Wormo (RETIRED) gentoo-dev 2010-11-09 05:55:07 UTC
Right, that's the one. Assigning to maintainers now.
Comment 12 SpanKY gentoo-dev 2010-11-19 06:57:17 UTC
kgcc64 shouldnt be attempting to build any target library including, but not limited to, libgomp
Comment 13 SpanKY gentoo-dev 2010-11-19 07:07:01 UTC
Created attachment 254789 [details, diff]
toolchain-kgcc-no-libgomp.patch

please try this patch and see if it fixes things for you
Comment 14 Alex Buell 2010-11-20 22:07:06 UTC
Great news; patch fixes the kgcc64 compile problem on SPARC architectures, thanks.
I tested patched, build just fine, put back the unpatched versin, build failed. 
 
Now if I could get i686 crosscompilers sorted on SPARC, I'd be set, but that's a separate bug report. 
Comment 15 SpanKY gentoo-dev 2010-11-21 21:25:31 UTC
committed then ... thanks for testing

http://sources.gentoo.org/eclass/toolchain.eclass?r1=1.441&r2=1.442