glibc 2.15 breaks build in icedtea2.0
Andreas Radke
a.radke at arcor.de
Fri Jan 6 10:17:16 PST 2012
g++ -DLINUX -D_GNU_SOURCE -DAMD64 -DPRODUCT -I. -I/build/src/icedtea-2.0/openjdk/hotspot/src/share/vm/prims -I/build/src/icedtea-2.0/openjdk/hotspot/src/share/vm -I/build/src/icedtea-2.0/openjdk/hotspot/src/cpu/x86/vm -I/build/src/icedtea-2.0/openjdk/hotspot/src/os_cpu/linux_x86/vm -I/build/src/icedtea-2.0/openjdk/hotspot/src/os/linux/vm -I/build/src/icedtea-2.0/openjdk/hotspot/src/os/posix/vm -I../generated -DHOTSPOT_RELEASE_VERSION="\"21.0-b17\"" -DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"nobody\"" -DHOTSPOT_LIB_ARCH=\"amd64\" -DJRE_RELEASE_VERSION="\"1.7.0_147-b147\"" -DHOTSPOT_VM_DISTRO="\"OpenJDK\"" -DDERIVATIVE_ID="\"IcedTea7 2.0\"" -DDISTRIBUTION_ID="\"Custom build (Fri Jan 6 18:01:40 UTC 2012)\"" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -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 -fvisibility=hidden -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 -fvisibility=hidden -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/precompiled.hpp.gch.d -x c++-header /build/src/icedtea-2.0/openjdk/hotspot/src/share/vm/precompiled.hpp -o precompiled.hpp.gch
In file included from /build/src/icedtea-2.0/openjdk/hotspot/src/share/vm/prims/methodHandles.hpp:32:0,
from /build/src/icedtea-2.0/openjdk/hotspot/src/share/vm/ci/ciMethod.hpp:33,
from /build/src/icedtea-2.0/openjdk/hotspot/src/share/vm/code/debugInfoRec.hpp:30,
from /build/src/icedtea-2.0/openjdk/hotspot/src/share/vm/ci/ciEnv.hpp:31,
from /build/src/icedtea-2.0/openjdk/hotspot/src/share/vm/ci/ciUtilities.hpp:28,
from /build/src/icedtea-2.0/openjdk/hotspot/src/share/vm/ci/ciNullObject.hpp:30,
from /build/src/icedtea-2.0/openjdk/hotspot/src/share/vm/ci/ciConstant.hpp:29,
from /build/src/icedtea-2.0/openjdk/hotspot/src/share/vm/precompiled.hpp:36:
/build/src/icedtea-2.0/openjdk/hotspot/src/share/vm/runtime/interfaceSupport.hpp:430:0: error: "__LEAF" redefined [-Werror]
/usr/include/sys/cdefs.h:44:0: note: this is the location of the previous definition
cc1plus: all warnings being treated as errors
make[7]: *** [precompiled.hpp.gch] Error 1
Any idea for a fix?
-Andy
More information about the distro-pkg-dev
mailing list