CalculiX is using libstdc++ (this installation is configured to use libc++)
Chris Jones
jonesc at hep.phy.cam.ac.uk
Wed Jul 27 08:49:19 UTC 2022
Please post a complete, clean, build log for the port in question.
In general GCC should not be used to build c++ (*) as doing so leads to
these c++ runtime mis-matches. You should use clang for c++ (and c as
well, although there is no runtime issues there).
cheers Chris
* The latest GCC versions now actually support building against libc++,
the clang runtime, which would make this possible in theory. It needs
support in base though
(https://github.com/macports/macports-base/pull/275) so cannot be used
until that is available.
On 27/07/2022 1:15 am, Mark Brethen wrote:
> Installing CalculiX with a clang variant is successful, however when
> selecting a gcc variant:
>
> ---> Scanning binaries for linking errors
> ---> No broken files found.
> CalculiX is using libstdc++ (this installation is configured to use libc++)
> ---> Found 1 broken port, determining rebuild order
> You can always run 'port rev-upgrade' again to fix errors.
> The following ports will be rebuilt: CalculiX @2.18+docs+examples+gcc12
> Continue? [Y/n]:
>
> Choosing ‘Y’ puts it into and endless re-install. Adding
> 'configure.cxx_stdlib macports-libstdc++’ seems to fix things.
>
> 1. What is causing this?
> 2. Should the compilers group be removed and stick with clang?
> 3. What changes to the portfile would need to made to permit either
> compiler variant?
>
>
>
> Thanks,
> Mark
>
>
More information about the macports-dev
mailing list