#63869 closed defect (fixed)
legacysupport: current support for 'macports-libcxx' broken
Reported by: | mascguy (Christopher Nielsen) | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | macports-libcxx | Cc: | kencu (Ken), catap (Kirill A. Korinsky), cjones051073 (Chris Jones) |
Port: | legacysupport |
Description (last modified by mascguy (Christopher Nielsen))
Reviewing the two ports that currently utilize macports-libcxx
- cherrytree
and retdec-devel
- the following is necessary to enable use of it:
depends_lib-append \ port:macports-libcxx configure.cxxflags-append \ -nostdinc++ \ -I${prefix}/include/libcxx/v1 configure.ldflags-append \ -L${prefix}/lib/libcxx
While the legacysupport PG is correctly adding the lib dependency, along with the lib path, there are two issues:
- Compilation argument
-nostdinc++
isn't being added - The header path is missing the trailing
/v1
If these issues are fixed, then we may be able to simplify ports cherrytree
and retdec-devel
, via the legacysupport PG.
Change History (15)
comment:1 Changed 3 years ago by mascguy (Christopher Nielsen)
Description: | modified (diff) |
---|
comment:2 Changed 3 years ago by mascguy (Christopher Nielsen)
Cc: | catap added |
---|
comment:3 Changed 3 years ago by catap (Kirill A. Korinsky)
comment:4 Changed 3 years ago by mascguy (Christopher Nielsen)
@cjones, this would be easy enough to fix, in principle. Particularly relative to fixing the header path.
But are there any gotchas I need to be aware of, when adding -nostdinc++
to the compilation arguments? I'm thinking in terms of quoting, word-splitting [when the argument is passed down the line], etc?
comment:5 follow-up: 6 Changed 3 years ago by cjones051073 (Chris Jones)
Nothing much to bear in mind, just make the changes here
As that option is very infrequently used, it cannot much impact even if you do muck it up ;)
comment:6 Changed 3 years ago by mascguy (Christopher Nielsen)
Cc: | cjones051073 added |
---|---|
Owner: | changed from cjones051073 to mascguy |
Replying to cjones051073:
Nothing much to bear in mind, just make the changes here
As that option is very infrequently used, it cannot much impact even if you do muck it up ;)
Sounds good, I'll take this then!
comment:7 Changed 3 years ago by Christopher Nielsen <mascguy@…>
comment:8 Changed 3 years ago by cjones051073 (Chris Jones)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:9 Changed 3 years ago by Christopher Nielsen <mascguy@…>
comment:10 follow-up: 11 Changed 3 years ago by catap (Kirill A. Korinsky)
Christopher, have you tested your changes? Before it links agains macports-libcxx only, and now you have added legacy-support. For example it brokes build of retdec.
comment:11 Changed 3 years ago by mascguy (Christopher Nielsen)
Replying to catap:
Christopher, have you tested your changes? Before it links agains macports-libcxx only, and now you have added legacy-support. For example it brokes build of retdec.
Kirill, are you asking relative to cherrytree
, the legacysupport
portgroup, ...? (And yes, it's all been tested and validated locally, as well as via the buildbots).
comment:12 Changed 3 years ago by catap (Kirill A. Korinsky)
Christopher, yes, I mean the last changes. Good to know.
comment:13 Changed 3 years ago by Christopher Nielsen <mascguy@…>
comment:14 follow-up: 15 Changed 3 years ago by catap (Kirill A. Korinsky)
Christophe, if you can take care also for retdec-devel port I'll be appricieted. I haven't got access to anything too old which is required legacy support and I've fixed it blindly, mainly by passing azure pipeline.
comment:15 Changed 3 years ago by mascguy (Christopher Nielsen)
Replying to catap:
Christophe, if you can take care also for retdec-devel port I'll be appricieted. I haven't got access to anything too old which is required legacy support and I've fixed it blindly, mainly by passing azure pipeline.
Sure! I'll take care of this today or tomorrow, once the buildbots have caught up with their current backlog.
@mascguy because I'm updating retdec port, let me fix it also.