Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#49795 closed defect (fixed)

libcxx @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: libcxx

Description

While upgrading libcxx from 3.6.0_0 to 3.7.0_0 I get the following trouble:

:info:build + /opt/local/bin/clang++-mp-3.4 -c -g -Os -arch x86_64 -nostdinc++ -std=c++11 -U__STRICT_ANSI__ -I../include ../src/exception.cpp
:info:build In file included from ../src/exception.cpp:20:
:info:build /usr/include/cxxabi.h:21:10: fatal error: '__cxxabi_config.h' file not found
:info:build #include <__cxxabi_config.h>
:info:build          ^
:info:build 1 error generated.
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_libcxx/libcxx/work/libcxx-3.7.0.src/lib" && ./buildit all
:info:build Exit code: 1

A brief search inside /opt/local/var/macports/build confirmed that indeed __cxxabi_config.h is missing. The question remains where this file is being found on more modern platforms.

Attachments (1)

main.log.gz (2.1 KB) - added by udbraumann 8 years ago.

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by udbraumann

Attachment: main.log.gz added

comment:1 Changed 8 years ago by gnw3

On OS X Mavericks, /usr/include/cxxabi.h does not have the #include <__cxxabi_config.h>. On 10.6.8, the /usr/include/cxxabi.h that references __cxxabi_config.h seems to come from libcxxabi. See http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/include/__cxxabi_config.h?revision=228363&view=markup which says "(note: we will have to ship this header).". A workaround is to copy the file from llvm.org to /usr/include.

comment:2 Changed 8 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed

I fixed this at some point. Please update and try again.

comment:3 in reply to:  2 Changed 8 years ago by udbraumann

Thanks, builds fine now.

Note: See TracTickets for help on using tickets.