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

Bug 455422

Summary: dev-java/icedtea:8 does not respect CXX
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   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    

Description Agostino Sarubbo gentoo-dev 2013-02-04 11:49:28 UTC
You receive this bug because this package does not respect my system's CXX ( x86_64-pc-linux-gnu-g++ - /usr/bin/x86_64-pc-linux-gnu-g++ ) and calls directly g++ -/usr/bin/g++
The possible solutions to fix this issue are:
1)Fix the buildsystem, if you can
2)inherit toolchain-funcs and use tc-export CXX
3)inherit toolchain-funcs and use emake CXX="$(tc-getCXX)"


/home/ago/log/build/dev-java/icedtea-6.1.12.0:20130204-094152.log:g++ -DLINUX -D_GNU_SOURCE -DAMD64 -DPRODUCT -I. 
-I/var/tmp/portage/dev-java/icedtea-6.1.12.0/work/icedtea6-1.12.0/openjdk/hotspot/src/share/vm 
-I/var/tmp/portage/dev-java/icedtea-6.1.12.0/work/icedtea6-1.12.0/openjdk/hotspot/src/share/vm/prims 
-I/var/tmp/portage/dev-java/icedtea-6.1.12.0/work/icedtea6-1.12.0/openjdk/hotspot/src/cpu/x86/vm 
-I/var/tmp/portage/dev-java/icedtea-6.1.12.0/work/icedtea6-1.12.0/openjdk/hotspot/src/os/linux/vm 
-I/var/tmp/portage/dev-java/icedtea-6.1.12.0/work/icedtea6-1.12.0/openjdk/hotspot/src/os_cpu/linux_x86/vm -I../generated -DHOTSPOT_RELEASE_VERSION="\"20.0-b12\"" 
-DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"root\"" -DHOTSPOT_LIB_ARCH=\"amd64\" -DJRE_RELEASE_VERSION="\"1.6.0_27-b27\"" -DHOTSPOT_VM_DISTRO="\"OpenJDK\"" 
-DDERIVATIVE_ID="\"IcedTea6 1.12.0\"" -DDISTRIBUTION_ID="\"Built on Gentoo Base System release 2.1 (Mon Feb  4 10:42:08 CET 2013)\"" -march=native -O2 -g0 -pipe 
-DTARGET_OS_FAMILY_linux -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_linux_x86 -DTARGET_OS_ARCH_MODEL_linux_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 
-DCOMPILER1  -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -m64 -pipe -g -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 
-DTARGET_OS_ARCH_linux_x86 -DTARGET_OS_ARCH_MODEL_linux_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 -fpic -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -m64 
-pipe -g -O3 -fno-strict-aliasing -DVM_LITTLE_ENDIAN -D_LP64=1 -fno-omit-frame-pointer -Werror -Wpointer-arith -Wsign-compare    -c -MMD -MP -MF 
../generated/dependencies/events.o.d -o events.o /var/tmp/portage/dev-java/icedtea-6.1.12.0/work/icedtea6-1.12.0/openjdk/hotspot/src/share/vm/utilities/events.cpp
Comment 1 James Le Cuirot gentoo-dev 2017-11-08 21:44:31 UTC
Like the bug regarding CC, I can still see /usr/bin/g++ in the build log.