Skip to content

libs/libxx: libcxxabi script updates#17846

Merged
xiaoxiang781216 merged 4 commits intoapache:masterfrom
v-zhangxiaomeng5:libcxxabi_script_updates
Jan 14, 2026
Merged

libs/libxx: libcxxabi script updates#17846
xiaoxiang781216 merged 4 commits intoapache:masterfrom
v-zhangxiaomeng5:libcxxabi_script_updates

Conversation

@v-zhangxiaomeng5
Copy link
Contributor

Note: Please adhere to Contributing Guidelines.

Summary

This relation chain contains below libcxxabi scripts updates:

  1. remove duplicate definition for _URC_FAILURE
  2. remove gcc's libsupcxx because it's impossible to apply libsupcxx in libcxxabi
  3. port libcxxabi with Infineon TASKING compiler
  4. always enable LIBCXXABI_BAREMETAL for libcxxabi

Impact

Null.

Testing

CI test.

@github-actions github-actions bot added Area: OS Components OS Components issues Size: S The size of the change in this PR is small labels Jan 12, 2026
@xiaoxiang781216
Copy link
Contributor

@v-zhangxiaomeng5 please fix:

40c067217e libxxabi: Avoid redefinition when clang compile
../nuttx/tools/checkpatch.sh -c -u -m -g 51bcec53c4f166d9fd07b0241[84](https://github.com/apache/nuttx/actions/runs/20925876761/job/60128460047?pr=17846#step:3:85)91355b9463e1d..HEAD
❌ Commit subject too long > 80
❌ Commit subject missing colon (e.g. 'subsystem: msg')
❌ Commit subject too long > 80
❌ Missing git commit message

@v-zhangxiaomeng5 v-zhangxiaomeng5 force-pushed the libcxxabi_script_updates branch from 53c7847 to 50a57de Compare January 13, 2026 02:04
W-M-R and others added 4 commits January 13, 2026 14:22
The clang unwind.h file already defines these macros:
_URC_FATAL_PHASE2_ERROR = _URC_FAILURE
_URC_FATAL_PHASE1_ERROR = _URC_FAILURE

Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
Both libcxxabi and libsupc++ implementat Itanium C++ ABI layer, just pick one.

Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
This commit contains:
1) excluding c++ exception relevant cpp files
2) excluding compile options tasking doesn't support

Signed-off-by: v-zhangxiaomeng5 <v-zhangxiaomeng5@xiaomi.com>
This fix forces libcxxabi to parse typeinfo ptr in absolute relocation instead of GOT-REL.

Signed-off-by: v-zhangxiaomeng5 <v-zhangxiaomeng5@xiaomi.com>
@v-zhangxiaomeng5 v-zhangxiaomeng5 force-pushed the libcxxabi_script_updates branch from 50a57de to e0637a3 Compare January 13, 2026 06:26
@jerpelea jerpelea changed the title Libcxxabi script updates libs/libxx: libcxxabi script updates Jan 14, 2026
@xiaoxiang781216 xiaoxiang781216 merged commit 1327ce5 into apache:master Jan 14, 2026
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: OS Components OS Components issues Size: S The size of the change in this PR is small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants