Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8
提交
81e82b58
D
dragonwell8
项目概览
openanolis
/
dragonwell8
通知
5
Star
3
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
81e82b58
编写于
10月 22, 2013
作者:
A
amurillo
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
0440a725
88694333
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
133 addition
and
61 deletion
+133
-61
common/autoconf/basics.m4
common/autoconf/basics.m4
+1
-0
common/autoconf/generated-configure.sh
common/autoconf/generated-configure.sh
+64
-5
common/autoconf/hotspot-spec.gmk.in
common/autoconf/hotspot-spec.gmk.in
+2
-3
common/autoconf/jdk-options.m4
common/autoconf/jdk-options.m4
+5
-5
common/autoconf/spec.gmk.in
common/autoconf/spec.gmk.in
+1
-0
common/makefiles/NativeCompilation.gmk
common/makefiles/NativeCompilation.gmk
+60
-48
未找到文件。
common/autoconf/basics.m4
浏览文件 @
81e82b58
...
@@ -644,6 +644,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
...
@@ -644,6 +644,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
fi
fi
if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
BASIC_REQUIRE_PROG(DSYMUTIL, dsymutil)
BASIC_REQUIRE_PROG(XATTR, xattr)
BASIC_REQUIRE_PROG(XATTR, xattr)
AC_PATH_PROG(CODESIGN, codesign)
AC_PATH_PROG(CODESIGN, codesign)
if test "x$CODESIGN" != "x"; then
if test "x$CODESIGN" != "x"; then
...
...
common/autoconf/generated-configure.sh
浏览文件 @
81e82b58
...
@@ -824,6 +824,7 @@ OS_VERSION_MINOR
...
@@ -824,6 +824,7 @@ OS_VERSION_MINOR
OS_VERSION_MAJOR
OS_VERSION_MAJOR
PKG_CONFIG
PKG_CONFIG
CODESIGN
CODESIGN
DSYMUTIL
XATTR
XATTR
IS_GNU_TIME
IS_GNU_TIME
TIME
TIME
...
@@ -10592,6 +10593,64 @@ $as_echo "no" >&6; }
...
@@ -10592,6 +10593,64 @@ $as_echo "no" >&6; }
$as_echo "yes" >&6; }
$as_echo "yes" >&6; }
fi
fi
fi
fi
for ac_prog in dsymutil
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path_DSYMUTIL+:} false; then :
$as_echo_n "(cached) " >&6
else
case $DSYMUTIL in
[\\/]* | ?:[\\/]*)
ac_cv_path_DSYMUTIL="$DSYMUTIL" # Let the user override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_DSYMUTIL="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
DSYMUTIL=$ac_cv_path_DSYMUTIL
if test -n "$DSYMUTIL"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
$as_echo "$DSYMUTIL" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
test -n "$DSYMUTIL" && break
done
if test "x$DSYMUTIL" = x; then
if test "xdsymutil" = x; then
PROG_NAME=dsymutil
else
PROG_NAME=dsymutil
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
$as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
as_fn_error $? "Cannot continue" "$LINENO" 5
fi
fi
fi
...
@@ -29539,11 +29598,11 @@ $as_echo_n "checking if we should generate debug symbols... " >&6; }
...
@@ -29539,11 +29598,11 @@ $as_echo_n "checking if we should generate debug symbols... " >&6; }
elif test "x$enable_debug_symbols" = "xno"; then
elif test "x$enable_debug_symbols" = "xno"; then
ENABLE_DEBUG_SYMBOLS=false
ENABLE_DEBUG_SYMBOLS=false
else
else
# default on macosx is false
# Default is on if objcopy is found
if test "x$OPENJDK_TARGET_OS" = xmacos
x; then
if test "x$OBJCOPY" !=
x; then
ENABLE_DEBUG_SYMBOLS=fals
e
ENABLE_DEBUG_SYMBOLS=tru
e
# Default is on if objcopy is found, otherwise off
# MacOS X and Windows don't use objcopy but default is on for those OSes
elif test "x$OBJCOPY" !=
x || test "x$OPENJDK_TARGET_OS" = xwindows; then
elif test "x$OPENJDK_TARGET_OS" = xmacos
x || test "x$OPENJDK_TARGET_OS" = xwindows; then
ENABLE_DEBUG_SYMBOLS=true
ENABLE_DEBUG_SYMBOLS=true
else
else
ENABLE_DEBUG_SYMBOLS=false
ENABLE_DEBUG_SYMBOLS=false
common/autoconf/hotspot-spec.gmk.in
浏览文件 @
81e82b58
#
#
# Copyright (c) 2011, 201
2
, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 201
3
, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
#
# This code is free software; you can redistribute it and/or modify it
# This code is free software; you can redistribute it and/or modify it
...
@@ -123,8 +123,7 @@ endif
...
@@ -123,8 +123,7 @@ endif
# Hotspot expects the variable ZIP_DEBUGINFO_FILES=1/0 and not true/false.
# Hotspot expects the variable ZIP_DEBUGINFO_FILES=1/0 and not true/false.
ifeq ($(ZIP_DEBUGINFO_FILES)$(ENABLE_DEBUG_SYMBOLS), truetrue)
ifeq ($(ZIP_DEBUGINFO_FILES)$(ENABLE_DEBUG_SYMBOLS), truetrue)
ZIP_DEBUGINFO_FILES:=1
ZIP_DEBUGINFO_FILES:=1
endif
else
ifeq ($(ZIP_DEBUGINFO_FILES), false)
ZIP_DEBUGINFO_FILES:=0
ZIP_DEBUGINFO_FILES:=0
endif
endif
...
...
common/autoconf/jdk-options.m4
浏览文件 @
81e82b58
...
@@ -516,11 +516,11 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_SYMBOLS],
...
@@ -516,11 +516,11 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_SYMBOLS],
elif test "x$enable_debug_symbols" = "xno"; then
elif test "x$enable_debug_symbols" = "xno"; then
ENABLE_DEBUG_SYMBOLS=false
ENABLE_DEBUG_SYMBOLS=false
else
else
# default on macosx is false
# Default is on if objcopy is found
if test "x$OPENJDK_TARGET_OS" = xmacos
x; then
if test "x$OBJCOPY" !=
x; then
ENABLE_DEBUG_SYMBOLS=fals
e
ENABLE_DEBUG_SYMBOLS=tru
e
# Default is on if objcopy is found, otherwise off
# MacOS X and Windows don't use objcopy but default is on for those OSes
elif test "x$OBJCOPY" !=
x || test "x$OPENJDK_TARGET_OS" = xwindows; then
elif test "x$OPENJDK_TARGET_OS" = xmacos
x || test "x$OPENJDK_TARGET_OS" = xwindows; then
ENABLE_DEBUG_SYMBOLS=true
ENABLE_DEBUG_SYMBOLS=true
else
else
ENABLE_DEBUG_SYMBOLS=false
ENABLE_DEBUG_SYMBOLS=false
...
...
common/autoconf/spec.gmk.in
浏览文件 @
81e82b58
...
@@ -485,6 +485,7 @@ CUT:=@CUT@
...
@@ -485,6 +485,7 @@ CUT:=@CUT@
DATE:=@DATE@
DATE:=@DATE@
DIFF:=@DIFF@
DIFF:=@DIFF@
DIRNAME:=@DIRNAME@
DIRNAME:=@DIRNAME@
DSYMUTIL:=@DSYMUTIL@
FIND:=@FIND@
FIND:=@FIND@
FIND_DELETE:=@FIND_DELETE@
FIND_DELETE:=@FIND_DELETE@
ECHO:=@ECHO@
ECHO:=@ECHO@
...
...
common/makefiles/NativeCompilation.gmk
浏览文件 @
81e82b58
#
#
# Copyright (c) 2011, 201
2
, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 201
3
, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
#
# This code is free software; you can redistribute it and/or modify it
# This code is free software; you can redistribute it and/or modify it
...
@@ -435,6 +435,8 @@ define SetupNativeCompilation
...
@@ -435,6 +435,8 @@ define SetupNativeCompilation
$(CP) $$< $$@
$(CP) $$< $$@
endif
endif
ifneq ($(OPENJDK_TARGET_OS), macosx) # OBJCOPY is not used on MacOS X
ifneq ($(OPENJDK_TARGET_OS), windows) # nor on Windows
ifeq ($(OPENJDK_TARGET_OS), solaris)
ifeq ($(OPENJDK_TARGET_OS), solaris)
# gobjcopy crashes on "empty" section headers with the SHF_ALLOC flag set.
# gobjcopy crashes on "empty" section headers with the SHF_ALLOC flag set.
# Use $(FIX_EMPTY_SEC_HDR_FLAGS) to clear the SHF_ALLOC flag (if set) from
# Use $(FIX_EMPTY_SEC_HDR_FLAGS) to clear the SHF_ALLOC flag (if set) from
...
@@ -458,8 +460,11 @@ define SetupNativeCompilation
...
@@ -458,8 +460,11 @@ define SetupNativeCompilation
$(CD) $$(@D) && $(OBJCOPY) --add-gnu-debuglink=$$(@F) $$<
$(CD) $$(@D) && $(OBJCOPY) --add-gnu-debuglink=$$(@F) $$<
endif # Touch to not retrigger rule on rebuild
endif # Touch to not retrigger rule on rebuild
$(TOUCH) $$@
$(TOUCH) $$@
endif # !windows
endif # !macosx
ifeq ($(ZIP_DEBUGINFO_FILES), true)
ifeq ($(ZIP_DEBUGINFO_FILES), true)
ifneq ($(OPENJDK_TARGET_OS), macosx) # no MacOS X support yet
$1 += $$($1_OUTPUT_DIR)/$$(LIBRARY_PREFIX)$$($1_LIBRARY).diz
$1 += $$($1_OUTPUT_DIR)/$$(LIBRARY_PREFIX)$$($1_LIBRARY).diz
ifeq ($(OPENJDK_TARGET_OS), windows)
ifeq ($(OPENJDK_TARGET_OS), windows)
...
@@ -472,11 +477,12 @@ define SetupNativeCompilation
...
@@ -472,11 +477,12 @@ define SetupNativeCompilation
$(CD) $$($1_OBJECT_DIR) \
$(CD) $$($1_OBJECT_DIR) \
&& $(ZIP) -q $$@ $$(LIBRARY_PREFIX)$$($1_LIBRARY).debuginfo
&& $(ZIP) -q $$@ $$(LIBRARY_PREFIX)$$($1_LIBRARY).debuginfo
endif
endif
endif # no MacOS X support yet
else
else
ifeq ($(OPENJDK_TARGET_OS), windows)
ifeq ($(OPENJDK_TARGET_OS), windows)
$1 += $$($1_OUTPUT_DIR)/$$($1_LIBRARY).map \
$1 += $$($1_OUTPUT_DIR)/$$($1_LIBRARY).map \
$$($1_OUTPUT_DIR)/$$($1_LIBRARY).pdb
$$($1_OUTPUT_DIR)/$$($1_LIBRARY).pdb
else
else ifneq ($(OPENJDK_TARGET_OS), macosx) # MacOS X does not use .debuginfo files
$1 += $$($1_OUTPUT_DIR)/$$(LIBRARY_PREFIX)$$($1_LIBRARY).debuginfo
$1 += $$($1_OUTPUT_DIR)/$$(LIBRARY_PREFIX)$$($1_LIBRARY).debuginfo
endif
endif
endif
endif
...
@@ -513,6 +519,8 @@ define SetupNativeCompilation
...
@@ -513,6 +519,8 @@ define SetupNativeCompilation
$(CP) $$< $$@
$(CP) $$< $$@
endif
endif
ifneq ($(OPENJDK_TARGET_OS), macosx) # OBJCOPY is not used on MacOS X
ifneq ($(OPENJDK_TARGET_OS), windows) # nor on Windows
ifeq ($(OPENJDK_TARGET_OS), solaris)
ifeq ($(OPENJDK_TARGET_OS), solaris)
# gobjcopy crashes on "empty" section headers with the SHF_ALLOC flag set.
# gobjcopy crashes on "empty" section headers with the SHF_ALLOC flag set.
# Use $(FIX_EMPTY_SEC_HDR_FLAGS) to clear the SHF_ALLOC flag (if set) from
# Use $(FIX_EMPTY_SEC_HDR_FLAGS) to clear the SHF_ALLOC flag (if set) from
...
@@ -536,8 +544,11 @@ define SetupNativeCompilation
...
@@ -536,8 +544,11 @@ define SetupNativeCompilation
$(CD) $$(@D) && $(OBJCOPY) --add-gnu-debuglink=$$(@F) $$<
$(CD) $$(@D) && $(OBJCOPY) --add-gnu-debuglink=$$(@F) $$<
endif
endif
$(TOUCH) $$@
$(TOUCH) $$@
endif # !windows
endif # !macosx
ifeq ($(ZIP_DEBUGINFO_FILES), true)
ifeq ($(ZIP_DEBUGINFO_FILES), true)
ifneq ($(OPENJDK_TARGET_OS), macosx) # no MacOS X support yet
$1 += $$($1_OUTPUT_DIR)/$$($1_PROGRAM).diz
$1 += $$($1_OUTPUT_DIR)/$$($1_PROGRAM).diz
ifeq ($(OPENJDK_TARGET_OS), windows)
ifeq ($(OPENJDK_TARGET_OS), windows)
...
@@ -550,11 +561,12 @@ define SetupNativeCompilation
...
@@ -550,11 +561,12 @@ define SetupNativeCompilation
$(CD) $$($1_OBJECT_DIR) \
$(CD) $$($1_OBJECT_DIR) \
&& $(ZIP) -q $$@ $$($1_PROGRAM).debuginfo
&& $(ZIP) -q $$@ $$($1_PROGRAM).debuginfo
endif
endif
endif # no MacOS X support yet
else
else
ifeq ($(OPENJDK_TARGET_OS), windows)
ifeq ($(OPENJDK_TARGET_OS), windows)
$1 += $$($1_OUTPUT_DIR)/$$($1_PROGRAM).map \
$1 += $$($1_OUTPUT_DIR)/$$($1_PROGRAM).map \
$$($1_OUTPUT_DIR)/$$($1_PROGRAM).pdb
$$($1_OUTPUT_DIR)/$$($1_PROGRAM).pdb
else
else ifneq ($(OPENJDK_TARGET_OS), macosx) # MacOS X does not use .debuginfo files
$1 += $$($1_OUTPUT_DIR)/$$($1_PROGRAM).debuginfo
$1 += $$($1_OUTPUT_DIR)/$$($1_PROGRAM).debuginfo
endif
endif
endif
endif
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录