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

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


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: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- -DLINUX -D_GNU_SOURCE -DAMD64 -DPRODUCT -I. 
-I/var/tmp/portage/dev-java/icedtea- -I../generated -DHOTSPOT_RELEASE_VERSION="\"20.0-b12\"" 
-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 
-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-
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.