[open62541] Update to 1.3.15, fix android#42470
Conversation
|
The latest upstream version is 1.4.8, please update to the latest version. |
No, not in this PR. |
|
1.4.8 also doesn't work with qtocupa so.... |
|
Are these patches submitted upstream and/or can you explain how to check that they are correct? |
|
These patches are trivial. The PR is cherry-picked from #42080 where it fixes downstream linking ( There is no lib There is no need to generally enable sanitizers in clang debug builds. In static builds, sanitizers impose transitive usage requirements. |
|
All feature test passed with x64-android triplet. |
Sure, I wasn't trying to claim that they were not trivial. Just because they're trivial doesn't mean I'm not taking responsibility for them when merged though, so I still want some understanding of what they're doing.
OK, I'm happy that this is morally equivalent to https://github.com/open62541/open62541/blob/642cf4b59d9ac99675f3ccdc33ef1314c21b454a/CMakeLists.txt#L451
I looked at upstream before asking about this and I don't see it: https://github.com/search?q=repo%3Aopen62541%2Fopen62541+UA_ENABLE_SANITIZER&type=code
Yes, I see open62541/open62541@a820093 , but that's functionally always on in upstream, not off. Though looking now it looks like that stuff should come from the triplet. Unfortunately, patches don't contain all that context :( |
ports/open62541/clang-sanitizer.diff
Outdated
|
|
||
| # Debug | ||
| if(BUILD_TYPE_LOWER_CASE STREQUAL "debug" AND UNIX AND NOT UA_BUILD_OSS_FUZZ AND | ||
| + UA_ENABLE_SANTITIZER AND |
There was a problem hiding this comment.
| + UA_ENABLE_SANTITIZER AND | |
| + UA_ENABLE_SANITIZER AND |
?
There was a problem hiding this comment.
Alternately just apply upstream's patch directly to remove any concern?
https://github.com/open62541/open62541/commit/a820093aa97d08334147ecb85d8602f917d4f511.patch?full_index=1
There was a problem hiding this comment.
(To be clear I would have just merged this if not for this spelling oops but since a revision is necessary anyway may as well match upstream's name?)
There was a problem hiding this comment.
"patch does not apply"
|
Thanks for the update and for fixing Android! |
For #42080.