Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
画布下的乐园
oceanbase
提交
d687c3f8
O
oceanbase
项目概览
画布下的乐园
/
oceanbase
与 Fork 源项目一致
Fork自
oceanbase / oceanbase
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
oceanbase
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d687c3f8
编写于
11月 01, 2022
作者:
O
obdev
提交者:
wangzelin.wzl
11月 01, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[CP】disable libunwind under aarch64
上级
3b3f41d3
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
14 addition
and
6 deletion
+14
-6
deps/init/oceanbase.el7.aarch64.deps
deps/init/oceanbase.el7.aarch64.deps
+0
-1
deps/init/oceanbase.el8.aarch64.deps
deps/init/oceanbase.el8.aarch64.deps
+0
-1
deps/oblib/src/CMakeLists.txt
deps/oblib/src/CMakeLists.txt
+4
-4
deps/oblib/src/lib/signal/ob_libunwind.c
deps/oblib/src/lib/signal/ob_libunwind.c
+2
-0
deps/oblib/src/lib/signal/ob_signal_handlers.cpp
deps/oblib/src/lib/signal/ob_signal_handlers.cpp
+2
-0
deps/oblib/src/lib/signal/ob_signal_processor.cpp
deps/oblib/src/lib/signal/ob_signal_processor.cpp
+2
-0
deps/oblib/src/lib/signal/ob_signal_utils.cpp
deps/oblib/src/lib/signal/ob_signal_utils.cpp
+2
-0
deps/oblib/src/lib/signal/ob_signal_worker.cpp
deps/oblib/src/lib/signal/ob_signal_worker.cpp
+2
-0
未找到文件。
deps/init/oceanbase.el7.aarch64.deps
浏览文件 @
d687c3f8
...
...
@@ -17,7 +17,6 @@ repo=http://yum.tbsite.net/taobao/7/aarch64/test/ob-deploy/
devdeps-gtest-1.8.0-132022101316.el7.aarch64.rpm
devdeps-isa-l-static-2.22.0-22022092915.el7.aarch64.rpm
devdeps-libcurl-static-7.29.0-32022093010.el7.aarch64.rpm
devdeps-libunwind-static-1.6.2-222022100410.el7.aarch64.rpm
devdeps-mariadb-connector-c-3.1.12-12022100422.el7.aarch64.rpm
devdeps-libaio-0.3.112-12022092915.el7.aarch64.rpm
devdeps-rapidjson-1.1.0-12022100410.el7.aarch64.rpm
...
...
deps/init/oceanbase.el8.aarch64.deps
浏览文件 @
d687c3f8
...
...
@@ -12,7 +12,6 @@ repo=http://mirrors.aliyun.com/oceanbase/community/stable/el/8/aarch64/
devdeps-gtest-1.8.0-132022101316.el8.aarch64.rpm
devdeps-isa-l-static-2.22.0-22022092915.el8.aarch64.rpm
devdeps-libcurl-static-7.29.0-32022093010.el8.aarch64.rpm
devdeps-libunwind-static-1.6.2-222022100410.el8.aarch64.rpm
devdeps-mariadb-connector-c-3.1.12-12022100422.el8.aarch64.rpm
devdeps-libaio-0.3.112-12022092915.el8.aarch64.rpm
devdeps-rapidjson-1.1.0-12022100410.el8.aarch64.rpm
...
...
deps/oblib/src/CMakeLists.txt
浏览文件 @
d687c3f8
...
...
@@ -72,9 +72,9 @@ else()
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_NO_EXCEPTION
-DOCI_LINK_RUNTIME
-Wall -Wextra -Wformat -Werror
-Wno-deprecated
-Wno-sign-compare
-Wno-psabi
-Wno-deprecated
-Wno-sign-compare
-Wno-psabi
-Wno-attributes
-Wno-nonnull-compare
-Wno-parentheses
...
...
@@ -121,7 +121,7 @@ target_link_libraries(oblib_base_base_base
${
DEP_DIR
}
/lib/libssl.a
${
DEP_DIR
}
/lib/libcrypto.a
${
LGPL_DEPS
}
$
{
DEP_DIR
}
/lib/libunwind.a
$
<$<STREQUAL:
"
${
ARCHITECTURE
}
"
,
"x86_64"
>:
${
DEP_DIR
}
/lib/libunwind.a>
${
DEP_DIR
}
/lib/libz.a
-L
${
DEP_DIR
}
/var/usr/lib64
-L
${
DEP_DIR
}
/var/usr/lib
...
...
deps/oblib/src/lib/signal/ob_libunwind.c
浏览文件 @
d687c3f8
...
...
@@ -10,6 +10,7 @@
* See the Mulan PubL v2 for more details.
*/
#ifdef __x86_64__
#include "lib/signal/ob_libunwind.h"
#include "lib/signal/safe_snprintf.h"
#define UNW_LOCAL_ONLY
...
...
@@ -106,3 +107,4 @@ int8_t get_frame_info(unw_cursor_t *cursor, uintptr_t *ip)
*
ip
=
uip
-
(
r
==
0
);
return
1
;
}
#endif
deps/oblib/src/lib/signal/ob_signal_handlers.cpp
浏览文件 @
d687c3f8
...
...
@@ -157,7 +157,9 @@ void coredump_cb(int sig, siginfo_t *si, void *context)
// backtrace
char
bt
[
256
];
int64_t
len
=
0
;
#ifdef __x86_64__
safe_backtrace
(
bt
,
sizeof
(
bt
)
-
1
,
&
len
);
#endif
bt
[
len
++
]
=
'\0'
;
// extra
const
ObFatalErrExtraInfoGuard
*
extra_info
=
nullptr
;
// TODO: May deadlock, ObFatalErrExtraInfoGuard::get_thd_local_val_ptr();
...
...
deps/oblib/src/lib/signal/ob_signal_processor.cpp
浏览文件 @
d687c3f8
...
...
@@ -65,7 +65,9 @@ int ObSigBTOnlyProcessor::prepare()
int64_t
count
=
0
;
count
=
safe_snprintf
(
buf_
+
pos_
,
len
-
pos_
,
"tid: %ld, tname: %s, lbt: "
,
tid
,
tname
);
pos_
+=
count
;
#ifdef __x86_64__
safe_backtrace
(
buf_
+
pos_
,
len
-
pos_
,
&
count
);
#endif
pos_
+=
count
;
buf_
[
pos_
++
]
=
'\n'
;
return
ret
;
...
...
deps/oblib/src/lib/signal/ob_signal_utils.cpp
浏览文件 @
d687c3f8
...
...
@@ -44,7 +44,9 @@ void crash_restore_handler(int sig, siginfo_t *s, void *p)
if
(
SIGSEGV
==
sig
||
SIGABRT
==
sig
||
SIGBUS
==
sig
||
SIGFPE
==
sig
)
{
int64_t
len
=
0
;
#ifdef __x86_64__
safe_backtrace
(
crash_restore_buffer
,
255
,
&
len
);
#endif
crash_restore_buffer
[
len
++
]
=
'\0'
;
siglongjmp
(
*
g_jmp
,
1
);
}
else
{
...
...
deps/oblib/src/lib/signal/ob_signal_worker.cpp
浏览文件 @
d687c3f8
...
...
@@ -33,6 +33,7 @@ bool g_inited = false;
int
send_request_and_wait
(
ObSigRequestCode
code
,
int
exclude_tid
)
{
int
ret
=
OB_SUCCESS
;
#ifdef __x86_64__
DTraceId
trace_id
=
DTraceId
::
gen_trace_id
();
DTraceIdGuard
trace_guard
(
trace_id
);
ObSigRequest
req
;
...
...
@@ -93,6 +94,7 @@ int send_request_and_wait(ObSigRequestCode code, int exclude_tid)
}
}
}
#endif
return
ret
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录