Skip to content

Commit a3597a4

Browse files
quic-aregquic-seaswara
authored andcommitted
[zephyr] Copy nightly libc++/libc++abi into cpullvm/lib
ld.eld and libLW.so.4 are built against nightly's libc++, but the splice copies them into cpullvm/lib which has none. The loader falls through to ci-base's older system libc++ and link operations crash with "symbol lookup error: ... libLW.so.4: undefined symbol: ...". Copy nightly's libc++.so.1 and libc++abi.so.1 to fix CI errors due to libc++ mismatch introduced by upgrading the host compiler to clang 22. Signed-off-by: quic-areg <aregmi@qti.qualcomm.com>
1 parent ae679b2 commit a3597a4

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/zephyr-nightly.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,11 @@ jobs:
9696
cp inst/lib/libLW.so.4 ${CPULLVM_DIR}/lib/libLW.so.4
9797
ln -sf libLW.so.4 ${CPULLVM_DIR}/lib/libLW.so
9898
99+
# ld.eld and libLW.so.4 are linked against nightly's libc++; cpullvm/lib
100+
# has none, so copy the matching libc++/libc++abi alongside them.
101+
cp -P inst/lib/libc++.so.1* ${CPULLVM_DIR}/lib/
102+
cp -P inst/lib/libc++abi.so.1* ${CPULLVM_DIR}/lib/
103+
99104
echo "Nightly ELD version:"
100105
${CPULLVM_DIR}/bin/ld.eld --version
101106
echo "cpullvm clang version:"

0 commit comments

Comments
 (0)