[ 
https://issues.apache.org/jira/browse/KUDU-3490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17745131#comment-17745131
 ] 

Marton Greber edited comment on KUDU-3490 at 7/20/23 3:27 PM:
--------------------------------------------------------------

Applied the patches. The "SetAlternateSignalStack" error went away, but there 
is still something:


{code:bash}
configure:4094: /home/mgreber/kudu/thirdparty/clang-toolchain/bin/clang -o 
conftest -g -fsanitize=thread -fno-omit-frame-pointer     conftest.c  >&5
configure:4098: $? = 0
configure:4105: ./conftest
/home/mgreber/kudu/thirdparty/src/libunwind-1.6.2/configure: line 4107: 3711064 
Segmentation fault      (core dumped) ./conftest$ac_cv_exeext
configure:4109: $? = 139
configure:4116: error: in 
`/home/mgreber/kudu/thirdparty/build/libunwind-1.6.2.tsan':
configure:4118: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
{code}

https://github.com/apache/kudu/compare/master...martongreber:kudu:llvm_glibc_patch


was (Author: JIRAUSER290256):
Applied the patches. The "SetAlternateSignalStack" error went away, but there 
is still something:


{code:bash}
configure:4094: /home/mgreber/kudu/thirdparty/clang-toolchain/bin/clang -o 
conftest -g -fsanitize=thread -fno-omit-frame-pointer     conftest.c  >&5
configure:4098: $? = 0
configure:4105: ./conftest
/home/mgreber/kudu/thirdparty/src/libunwind-1.6.2/configure: line 4107: 3711064 
Segmentation fault      (core dumped) ./conftest$ac_cv_exeext
configure:4109: $? = 139
configure:4116: error: in 
`/home/mgreber/kudu/thirdparty/build/libunwind-1.6.2.tsan':
configure:4118: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
{code}

> Instrumented libunwind fails to build on Ubuntu22
> -------------------------------------------------
>
>                 Key: KUDU-3490
>                 URL: https://issues.apache.org/jira/browse/KUDU-3490
>             Project: Kudu
>          Issue Type: Bug
>          Components: build
>            Reporter: Marton Greber
>            Assignee: Zoltan Martonka
>            Priority: Minor
>
> Repro cmd:
> $KUDU_HOME/thirdparty/build-thirdparty.sh libunwind
> after some googling i've found these hints:
> [https://github.com/llvm/llvm-project/issues/55785]
> possible fixes:
> [https://github.com/llvm/llvm-project/commit/82150606fb11d28813ae6da1101f5bda638165fe]
> [https://github.com/llvm/llvm-project/commit/b93629dd335ffee2fc4b9b619bf86c3f9e6b0023]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to