#49779 closed defect (fixed)
libunwind @3.7.0 fails building on 10.6.8
Reported by: | udbraumann | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | jeremyhu (Jeremy Huddleston Sequoia) | |
Port: | libunwind |
Description
While upgrading libunwind
from 3.6.0_0
to 3.7.0_0
I ran in the following error:
... :info:build /usr/bin/llvm-gcc-4.2 -arch x86_64 -force_cpusubtype_ALL -I../include -I/opt/local/include -DUSE_MACPORTS_LIBUNWIND -DNDEBUG -c -o UnwindRegistersRestore.o UnwindRegistersRestore.S :info:build /usr/bin/llvm-gcc-4.2 -arch x86_64 -force_cpusubtype_ALL -I../include -I/opt/local/include -DUSE_MACPORTS_LIBUNWIND -DNDEBUG -c -o UnwindRegistersSave.o UnwindRegistersSave.S :info:build libunwind.cpp:19:17: error: tuple: No such file or directory :info:build In file included from UnwindCursor.hpp:32, :info:build from libunwind.cpp:30: :info:build EHHeaderParser.hpp: In static member function ‘static bool libunwind::EHHeaderParser<A>::findFDE(A&, typename A::pint_t, typename A::pint_t, uint32_t, typename libunwind::CFI_Parser<A>::FDE_Info*, typename libunwind::CFI_Parser<A>::CIE_Info*)’: :info:build EHHeaderParser.hpp:103: error: expected `;' before ‘hdrInfo’ :info:build EHHeaderParser.hpp:104: error: ‘hdrInfo’ was not declared in this scope :info:build make: *** [libunwind.o] Error 1 ...
Any ideas why some include file tuple
is not being found? I experimented with macports-clang-3.*
but all face similar problems.
Attachments (1)
Change History (4)
Changed 9 years ago by udbraumann
Attachment: | main.log.gz added |
---|
comment:1 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)
comment:2 follow-up: 3 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 9 years ago by udbraumann
Thanks! Problem solved.
Please note, Xcode gcc-4.2 or llvm-gcc-4.2 (also the the variants from MacPorts) do not work on my 10.6.8 system, what works are macports-ggc-4.7 and higher as well as macports-clang-3.5 and higher as well as clang from Xcode 4.2 (it builds within seconds, so I could make a brief "survey" on compiler functionality), finally I took
$ sudo port -s upgrade libunwind configure.compiler=macports-gcc-5
Maybe you can blacklist some which do not work (as mentioned before).
BTW, just for completeness, here is the error which is issued when building failed (e.g. with llvm-gcc-4.2):
:info:build In file included from UnwindCursor.hpp:32, :info:build from libunwind.cpp:27: :info:build EHHeaderParser.hpp: In static member function ‘static bool libunwind::EHHeaderParser<A>::findFDE(A&, typename A::pint_t, typename A::pint_t, uint32_t, typename libunwind::CFI_Parser<A>::FDE_Info*, typename libunwind::CFI_Parser<A>::CIE_Info*)’: :info:build EHHeaderParser.hpp:103: error: expected `;' before ‘hdrInfo’ :info:build EHHeaderParser.hpp:104: error: ‘hdrInfo’ was not declared in this scope :info:build make: *** [libunwind.o] Error 1
It was added in: