#38938: Update cadabra and modglue -------------------------------+----------------------- Reporter: kasper.peeters@… | Owner: gwright@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: cadabra modglue | -------------------------------+----------------------- Comment (by kasper.peeters@…):
I see no reason why `gcc-4.2` should compile your software differently than `apple-gcc-4.2`. They are more or less the same software.
I agree, they all probably produce the same code. The problem is linking to libstdc++. If one library used by cadabra links to a different libstdc++ than cadabra itself, malloc errors occur. It would have made sense if all gcc-4.2 versions lead to the same linking pattern, but as far as I remember that is not true. (It may still be that I did something wrong, but let's take this to the mailing list, there definitely is an issue).
The only versions of Apple’s GCC are 4.0 and 4.2; there are no newer ones, and there never will be. So I think the real question is, how do we (or you) fix your build process so that it does not link to multiple libstdc++ implementations?
Fair enough. I think this is an issue for [[MailingLists|macports-dev]], as it concerns other packages as well, and it isn't really something I want to spend a lot of time on anyway. For the time being, I would suggest using my Portfile as-is, because the version in the repos does not lead to a working binary at all, and it turns out I have quite a few more waiting users on OS X than I thought ;-) -- Ticket URL: <https://trac.macports.org/ticket/38938#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X