[LLVMbugs] [Bug 22202] New: libunwind: build failure using libsdtd++ due to UNW_STEP_SUCCESS being undefined
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Jan 11 14:23:04 PST 2015
http://llvm.org/bugs/show_bug.cgi?id=22202
Bug ID: 22202
Summary: libunwind: build failure using libsdtd++ due to
UNW_STEP_SUCCESS being undefined
Product: libc++abi
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: unassignedbugs at nondot.org
Reporter: jeremyhu at apple.com
CC: llvmbugs at cs.uiuc.edu, mclow.lists at gmail.com
Classification: Unclassified
Originally reported as one of the sub-issues of a MacPorts user failing to
compile ld64 on Leopard/ppc with current libunwind from libcxxabi-3.5.0
https://trac.macports.org/ticket/46519
:info:build
/opt/local/Developer/SDKs/Darwin9.sdk/usr/include/libunwind/DwarfInstructions.hpp:
In static member function ‘static int libunwind::DwarfInstructions<A,
R>::stepWithDwarf(A&, typename A::pint_t, typename A::pint_t, R&)’:
:info:build
/opt/local/Developer/SDKs/Darwin9.sdk/usr/include/libunwind/DwarfInstructions.hpp:209:
error: ‘UNW_STEP_SUCCESS’ was not declared in this scope
I am able to reproduce this on newer systems by trying to build ld64 against
libstdc++:
/usr/bin/clang++ -Os -O0 -g3 -stdlib=libstdc++ -stdlib=libstdc++ -arch x86_64
-I/opt/local/libexec/llvm-3.5/include -DLTO_SUPPORT -Isrc/abstraction -Isrc/ld
-I/opt/local/include -I/opt/local/Developer/SDKs/Darwin14.sdk/usr/include -c
-o src/other/ObjectDump.o src/other/ObjectDump.cpp
/usr/bin/clang++ -Os -O0 -g3 -stdlib=libstdc++ -stdlib=libstdc++ -arch x86_64
-I/opt/local/libexec/llvm-3.5/include -DLTO_SUPPORT -Isrc/abstraction -Isrc/ld
-I/opt/local/include -I/opt/local/Developer/SDKs/Darwin14.sdk/usr/include -c
-o src/ld/ld.o src/ld/ld.cpp
In file included from src/other/ObjectDump.cpp:31:
In file included from src/ld/MachOReaderRelocatable.hpp:43:
/opt/local/Developer/SDKs/Darwin14.sdk/usr/include/libunwind/DwarfInstructions.hpp:209:14:
error: use of undeclared identifier 'UNW_STEP_SUCCESS'; did you mean
'UNW_ESUCCESS'?
return UNW_STEP_SUCCESS;
^~~~~~~~~~~~~~~~
UNW_ESUCCESS
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150111/c668a472/attachment.html>
More information about the llvm-bugs
mailing list