[aarch64-port-dev ] More build fixes
Andrew Haley
aph at redhat.com
Thu Aug 15 06:45:41 PDT 2013
Every time I turn away I discover that debuginfo stripping has
returned. It's like an endless game of Groundhog Day cum Whack-A-Mole
or the vampire that cannot be killed no matter how many times you
drive a stake through their heart.
It turns out that if you want to stop debuginfo from being stripped
you not only have to set STRIP_POLICY=no_strip you also have to
set POST_STRIP_CMD="" or it strips your binaries anyway.
(Argh! Aieeee! How many hours have I wasted on this?!)
<aph jumps into the river, having finally been driven mad.>
Ahem. Normal service will now be resumed.
Andrew.
-------------- next part --------------
comparing with ssh://hg.openjdk.java.net/aarch64-port/jdk8/
searching for changes
remote: X11 forwarding request failed on channel 0
changeset: 703:69119b05aa8c
tag: tip
user: aph
date: Thu Aug 15 14:39:16 2013 +0100
summary: Build script fixes
diff -r a0d4da6811b0 -r 69119b05aa8c common/autoconf/generated-configure.sh
--- a/common/autoconf/generated-configure.sh Tue Aug 13 17:03:45 2013 +0100
+++ b/common/autoconf/generated-configure.sh Thu Aug 15 14:39:16 2013 +0100
@@ -3774,7 +3774,7 @@
#CUSTOM_AUTOCONF_INCLUDE
# Do not change or remove the following line, it is needed for consistency checks:
-DATE_WHEN_GENERATED=1372760061
+DATE_WHEN_GENERATED=1374148947
###############################################################################
#
@@ -29073,7 +29073,7 @@
#
case $COMPILER_NAME in
gcc )
- CCXXFLAGS_JDK="$CCXXFLAGS $CCXXFLAGS_JDK -W -Wall -Wno-unused -Wno-unused-parameter -Wno-parentheses \
+ CCXXFLAGS_JDK="$CCXXFLAGS $CCXXFLAGS_JDK -Wno-unused -Wno-unused-parameter -Wno-parentheses \
-pipe \
-D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE"
case $OPENJDK_TARGET_CPU_ARCH in
diff -r a0d4da6811b0 -r 69119b05aa8c common/autoconf/toolchain.m4
--- a/common/autoconf/toolchain.m4 Tue Aug 13 17:03:45 2013 +0100
+++ b/common/autoconf/toolchain.m4 Thu Aug 15 14:39:16 2013 +0100
@@ -808,7 +808,7 @@
#
case $COMPILER_NAME in
gcc )
- CCXXFLAGS_JDK="$CCXXFLAGS $CCXXFLAGS_JDK -W -Wall -Wno-unused -Wno-unused-parameter -Wno-parentheses \
+ CCXXFLAGS_JDK="$CCXXFLAGS $CCXXFLAGS_JDK -Wno-unused -Wno-unused-parameter -Wno-parentheses \
-pipe \
-D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE"
case $OPENJDK_TARGET_CPU_ARCH in
diff -r a0d4da6811b0 -r 69119b05aa8c cross_compile
--- a/cross_compile Tue Aug 13 17:03:45 2013 +0100
+++ b/cross_compile Thu Aug 15 14:39:16 2013 +0100
@@ -9,4 +9,4 @@
mkdir -p /tmp/oe_45434e/jenkins-setup/build/tmp-eglibc
ln -f -s $IWD/sysroots /tmp/oe_45434e/jenkins-setup/build/tmp-eglibc/
ALT_SDT_H=$IWD/sysroots/genericarmv8/usr/include/sys/sdt.h
-make images
+make STRIP_POLICY=no_strip POST_STRIP_CMD="" images
diff -r a0d4da6811b0 -r 69119b05aa8c cross_configure
--- a/cross_configure Tue Aug 13 17:03:45 2013 +0100
+++ b/cross_configure Thu Aug 15 14:39:16 2013 +0100
@@ -25,4 +25,4 @@
export AS="aarch64-oe-linux-as"
export AR="aarch64-oe-linux-ar"
export PATH="$IWD/sysroots/x86_64-linux/usr/bin/aarch64-oe-linux:$IWD/sysroots/genericarmv8/usr/bin/crossscripts:$IWD/sysroots/x86_64-linux/usr/sbin:$IWD/sysroots/x86_64-linux/usr/bin:$IWD/sysroots/x86_64-linux/sbin:$IWD/sysroots/x86_64-linux//bin:/usr/sbin:/usr/bin:/sbin:/bin"
-sh ./configure --with-debug-level=release --with-jvm-variants=client --with-sys-root=$IWD/sysroots/genericarmv8 --enable-unlimited-crypto --openjdk-target=aarch64-oe-linux --with-cacerts-file=$IWD/sysroots/x86_64-linux/usr/lib/jvm/icedtea7-native/jre/lib/security/cacerts --with-zlib=system --with-stdc++lib=dynamic --with-boot-jdk=$IWD/sysroots/x86_64-linux/usr/lib/jvm/icedtea7-native
+sh ./configure --with-debug-level=fastdebug --with-jvm-variants=client --with-sys-root=$IWD/sysroots/genericarmv8 --enable-unlimited-crypto --openjdk-target=aarch64-oe-linux --with-cacerts-file=$IWD/sysroots/x86_64-linux/usr/lib/jvm/icedtea7-native/jre/lib/security/cacerts --with-zlib=system --with-stdc++lib=dynamic --with-boot-jdk=$IWD/sysroots/x86_64-linux/usr/lib/jvm/icedtea7-native
diff -r a0d4da6811b0 -r 69119b05aa8c sim_compile
--- a/sim_compile Tue Aug 13 17:03:45 2013 +0100
+++ b/sim_compile Thu Aug 15 14:39:16 2013 +0100
@@ -10,7 +10,7 @@
(export BINUTILS=`cd .. ; pwd`/binutils ; cd hotspot/src/share/tools/hsdis ; make BUILD_AARCH64=true)
fi
-make STRIP_POLICY=no_strip LOG="debug" JOBS=4 BUILTIN_SIM=true images
+make STRIP_POLICY=no_strip POST_STRIP_CMD="" LOG="debug" BUILTIN_SIM=true images
# ensure hsdis lib is installed
if [ ! -f build/linux-aarch64-normal-client-slowdebug/images/j2sdk-image/jre/lib/aarch64/hsdis-aarch64.so ] ; then
More information about the aarch64-port-dev
mailing list