Opened 11 years ago
Closed 6 years ago
#41383 closed defect (fixed)
llvm-gcc42 executables link with /usr/lib/libstdc++ when libc++ is used by MacPorts
Reported by: | michaelld (Michael Dickens) | Owned by: | erickt@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.99 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | llvm-gcc42 |
Description
For whatever reason, llvm-gcc42 was installed on my Mavericks boot disk. rev-upgrade returns a few warnings such as:
Warning: /opt/local/bin/i686-apple-darwin13-llvm-cpp-4.2 uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++.
The targets are of these warnings are:
/opt/local/bin/i686-apple-darwin13-llvm-cpp-4.2 /opt/local/bin/i686-apple-darwin13-llvm-g++-4.2 /opt/local/bin/i686-apple-darwin13-llvm-gcc-4.2 /opt/local/bin/llvm-gcov-4.2 /opt/local/libexec/llvm-gcc42/gcc/i686-apple-darwin13/4.2.1/cc1 /opt/local/libexec/llvm-gcc42/gcc/i686-apple-darwin13/4.2.1/cc1obj /opt/local/libexec/llvm-gcc42/gcc/i686-apple-darwin13/4.2.1/cc1objplus /opt/local/libexec/llvm-gcc42/gcc/i686-apple-darwin13/4.2.1/cc1plus /opt/local/libexec/llvm-gcc42/gcc/i686-apple-darwin13/4.2.1/collect2 /opt/local/libexec/llvm-gcc42/gcc/i686-apple-darwin13/4.2.1/libllvmgcc.dylib
I know these warnings are not critical; just reporting them.
Change History (8)
comment:1 Changed 11 years ago by cooljeanius (Eric Gallager)
comment:2 Changed 11 years ago by michaelld (Michael Dickens)
Maybe we need a whitelist for rev-upgrade for such files?
comment:3 follow-up: 5 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Yeah, I recall we discussed this on the mailing list a couple months ago. We can't annotate the Portfile about this, so unfortunately the whitelist will need to be in base
comment:4 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Summary: | llvm-gcc42 executables link with /usr/lib/libstdc++ on Mavericks → llvm-gcc42 executables link with /usr/lib/libstdc++ when libc++ is used by MacPorts |
---|
comment:5 follow-up: 6 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign added |
---|
Replying to jeremyhu:
We can't annotate the Portfile about this
Can't we? Isn't it as simple as:
configure.cxx_stdlib libstdc++
comment:6 Changed 6 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Replying to ryandesign:
Replying to jeremyhu:
We can't annotate the Portfile about this
Can't we? Isn't it as simple as:
configure.cxx_stdlib libstdc++
Yeah, I think now it is. I just need to spin up an old VM to give this a whirl.
comment:7 Changed 6 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Gah, I screwed up the commit message. Manually closing. This was fixed in [2fb3710d197fb0db83accb47d7bbe50d58044dae/macports-ports].
comment:8 Changed 6 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
It makes sense that it would do that, considering that libstdc++ is part of gcc.