#58854 closed defect (invalid)
cmake @3.15.2 fails to configure on 10.6/libc++
Reported by: | jmroot (Joshua Root) | Owned by: | cjones051073 (Chris Jones) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.99 |
Keywords: | snowleopard | Cc: | michaelld (Michael Dickens), kencu (Ken) |
Port: | cmake legacy-support |
Description
Looks like it might be a problem introduced by legacy-support. See the attached logs.
Attachments (2)
Change History (6)
Changed 5 years ago by jmroot (Joshua Root)
Changed 5 years ago by jmroot (Joshua Root)
Attachment: | cmake_bootstrap.log added |
---|
comment:1 Changed 5 years ago by jmroot (Joshua Root)
comment:2 Changed 5 years ago by cjones051073 (Chris Jones)
I don’t really see what legacy-support has to do with the error here. It doesn't have any impact on the compiler or flags used.
comment:3 Changed 5 years ago by cjones051073 (Chris Jones)
Ah, now I see your bootstrap log.
The errors like
/opt/local/include/LegacySupport/math.h:82:13: error: use of undeclared identifier 'sinf' *__sinp = sinf(__x);
Tells me your ports are probably not up to date, as that is an error I recently fixed. Please make sure you have the latest version if legacy support. That version has the above inlined code removed from it, and moved to a library file.
changeset:c64c24c328d5fc6bfd82843d1982aad9a0512d2d/macports-legacy-support
That commit is in the latest release, 0.11.1.
comment:4 Changed 5 years ago by jmroot (Joshua Root)
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
Thanks, that was it. I was working on a branch for this 10.6 stuff and didn't have that update.
Note: See
TracTickets for help on using
tickets.
Although taking a second look, it doesn't seem to actually be trying
-std=c++11
. Maybe that's all that's needed.