Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 455420

Summary: dev-java/icedtea:8 does not respect CC
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: New packagesAssignee: Andrew John Hughes <gnu_andrew>
Status: CONFIRMED ---    
Severity: normal CC: java, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    

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-  -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- -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-  ../../../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.