[MacPorts] #42112: clang-3.4 build failure with gcc-4.2 on OS X 10.6.8
MacPorts
noreply at macports.org
Mon Jan 13 16:29:35 PST 2014
#42112: clang-3.4 build failure with gcc-4.2 on OS X 10.6.8
--------------------------+-------------------------
Reporter: rjvbertin@… | Owner: jeremyhu@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords: snowleopard
Port: clang-3.4 |
--------------------------+-------------------------
Comment (by jeremyhu@…):
That's here:
{{{
#if defined (__APPLE__) && HAVE_CRASHREPORTERCLIENT_H
// If any clients of llvm try to link to libCrashReporterClient.a
themselves,
// only one crash info struct will be used.
extern "C" {
CRASH_REPORTER_CLIENT_HIDDEN
struct crashreporter_annotations_t gCRAnnotations <--------- 64
__attribute__((section("__DATA,"
CRASHREPORTER_ANNOTATIONS_SECTION)))
= { CRASHREPORTER_ANNOTATIONS_VERSION, 0, 0, 0, 0, 0, 0 };
}
#elif defined (__APPLE__) && HAVE_CRASHREPORTER_INFO
static const char *__crashreporter_info__ = 0;
asm(".desc ___crashreporter_info__, 0x10");
#endif
...
#ifdef HAVE_CRASHREPORTERCLIENT_H
// Cast to void to avoid warning.
(void)CRSetCrashLogMessage(std::string(TmpStr.str()).c_str());
<-------- 92
#elif HAVE_CRASHREPORTER_INFO
__crashreporter_info__ = strdup(std::string(TmpStr.str()).c_str());
#endif
}}}
Why do you have HAVE_CRASHREPORTERCLIENT_H defined?
--
Ticket URL: <https://trac.macports.org/ticket/42112#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list