Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 455420 - dev-java/icedtea:8 does not respect CC
Summary: dev-java/icedtea:8 does not respect CC
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrew John Hughes
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2013-02-04 11:48 UTC by Agostino Sarubbo
Modified: 2017-11-12 08:34 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2013-02-04 11:48:38 UTC
You receive this bug because this package does not respect my system's CC ( x86_64-pc-linux-gnu-gcc - /usr/bin/x86_64-pc-linux-gnu-gcc ) and calls directly gcc -/usr/bin/gcc
The possible solutions to fix this issue are:
1)Fix the buildsystem, if you can
2)inherit toolchain-funcs and use tc-export CC
3)inherit toolchain-funcs and use emake CC="$(tc-getCC)"


/home/ago/log/build/dev-java/icedtea-6.1.12.0:20130204-094152.log:/usr/bin/gcc  -O3    -fno-strict-aliasing -fPIC -W -Wall  -Wno-unused -Wno-parentheses -pipe 
-fno-omit-frame-pointer -D_LITTLE_ENDIAN -g   -DNDEBUG -DARCH='"amd64"' -Damd64 -DLINUX -DRELEASE='"1.6.0_27"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -D_LP64=1 
-I. -I/var/tmp/portage/dev-java/icedtea-6.1.12.0/work/icedtea6-1.12.0/openjdk.build/tmp/sun/hprof_jvmti/CClassHeaders -I../../../src/solaris/javavm/export 
-I../../../src/share/javavm/export -I../../../src/share/javavm/include -I../../../src/solaris/javavm/include -I../../../src/share/demo/jvmti/hprof -I../../../src/share/npt 
-I../../../src/solaris/npt -I../../../src/share/demo/jvmti/java_crw_demo    -c -o 
/var/tmp/portage/dev-java/icedtea-6.1.12.0/work/icedtea6-1.12.0/openjdk.build/tmp/sun/hprof_jvmti/obj64/hprof_check.o  ../../../src/share/demo/jvmti/hprof/hprof_check.c
Comment 1 James Le Cuirot gentoo-dev 2017-11-08 21:42:23 UTC
I've been asked whether this is still an issue. I haven't looked closely but despite icedtea being practically rewritten for version 3, I can still see /usr/bin/gcc in the build log. I suspect the other related icedtea bugs are also still an issue.