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

ASF subversion and git services commented on IMPALA-5031:
---------------------------------------------------------

Commit 03bf2d25663dfa09133c466709a485e03c544236 in impala's branch 
refs/heads/master from Jim Apple
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=03bf2d2 ]

IMPALA-5031: link fesupport so FE tests run with UBSAN

This commit enables the frontend and JDBC tests to run under
UBSAN. Before this comit, they fail with an error message about
finding the UBSAN support functions like
__ubsan_handle_load_invalid_value. Linking those functions into
libfesupport.so requires using the linker flag --whole-archive so that
these symbols, which are not directly referenced by the source code
used to build libfesupport.so, are included.

This patch also enables the custom cluster tests to run under UBSAN;
they recently gained frontend tests in commit
d72f3330c1edc9086ba120e6d3469a75c0aea083.

Change-Id: I42049fb3e2de83aee0d0e00e2703788afde739e2
Reviewed-on: http://gerrit.cloudera.org:8080/13710
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> UBSAN clean and method for testing UBSAN cleanliness
> ----------------------------------------------------
>
>                 Key: IMPALA-5031
>                 URL: https://issues.apache.org/jira/browse/IMPALA-5031
>             Project: IMPALA
>          Issue Type: Task
>          Components: Backend, Infrastructure
>    Affects Versions: Impala 2.9.0
>            Reporter: Jim Apple
>            Assignee: Jim Apple
>            Priority: Minor
>
> http://releases.llvm.org/3.8.0/tools/clang/docs/UndefinedBehaviorSanitizer.html
>  builds are supported after https://gerrit.cloudera.org/#/c/6186/, but 
> Impala's test suite triggers many errors under UBSAN. Those errors should be 
> fixed and then there should be a way to run the test suite under UBSAN and 
> fail if there were any errors detected.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to