Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 593016 - dev-java/icedtea-3.1.0 fails to build with CC set to x86_64-pc-linux-gnu-gcc-<version>
Summary: dev-java/icedtea-3.1.0 fails to build with CC set to x86_64-pc-linux-gnu-gcc-...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Andrew John Hughes
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-06 22:39 UTC by Maciej Piechotka
Modified: 2016-09-22 06:55 UTC (History)
3 users (show)

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


Attachments
config.log (config.log,31.23 KB, text/plain)
2016-09-21 21:01 UTC, Maciej Piechotka
Details
dev-java:icedtea-3.1.0:20160921-205921.log (dev-java:icedtea-3.1.0:20160921-205921.log,82.81 KB, text/x-log)
2016-09-21 21:04 UTC, Maciej Piechotka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Piechotka 2016-09-06 22:39:12 UTC
hecking for jtreg... no
checking for x86_64-pc-linux-gnu-gcc-5.4.0... /usr/bin/x86_64-pc-linux-gnu-gcc-5.4.0
configure: Resolving CC (as /usr/bin/x86_64-pc-linux-gnu-gcc-5.4.0) failed, using /usr/bin/x86_64-pc-linux-gnu-gcc-5.4.0 directly.
checking resolved symbolic links for CC... /usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0/x86_64-pc-linux-gnu-gcc
configure: The C compiler (located as /usr/bin/x86_64-pc-linux-gnu-gcc-5.4.0) does not seem to be the recommended GCC compiler.
configure: The result from running with --version was: "x86_64-pc-linux-gnu-gcc-5.4.0 (Gentoo 5.4.0 p1.0, pie-0.6.5) 5.4.0"
configure: The C compiler (located as /usr/bin/x86_64-pc-linux-gnu-gcc-5.4.0) does not seem to be the Clang compiler either.
configure: The result from running with --version was: "x86_64-pc-linux-gnu-gcc-5.4.0 (Gentoo 5.4.0 p1.0, pie-0.6.5) 5.4.0"
configure: error: GCC or Clang compiler is required. Try setting --with-tools-dir.
configure exiting with result code 1
make: *** [Makefile:2472: stamps/icedtea-boot-configure.stamp] Error 1

I was recommended to set CC to x86_64-pc-linux-gnu-gcc-<version> by one of Gentoo devs to avoid distcc mismatch (the problem is triggered by CC variable, not distcc).
Comment 1 Mike Gilbert gentoo-dev 2016-09-17 13:42:06 UTC
Please attache the full build log, as well as config.log if that exists.
Comment 2 Maciej Piechotka 2016-09-21 21:01:32 UTC
Created attachment 447252 [details]
config.log
Comment 3 Maciej Piechotka 2016-09-21 21:04:02 UTC
Created attachment 447254 [details]
dev-java:icedtea-3.1.0:20160921-205921.log

Those are for distcc but the essential problem is the same (--version returns "x86_64-pc-linux-gnu-gcc-5.4.0 (Gentoo 5.4.0 p1.0, pie-0.6.5) 5.4.0" instead of "gcc (Gentoo 5.4.0 p1.0, pie-0.6.5) 5.4.0").