[MacPorts] #37678: MacPorts gcc gives malloc error on correct program using boost, Apple's gcc doesn't
MacPorts
noreply at macports.org
Fri Jan 18 08:41:17 PST 2013
#37678: MacPorts gcc gives malloc error on correct program using boost, Apple's gcc
doesn't
------------------------------+--------------------------------
Reporter: yusuhail@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: worksforme | Keywords:
Port: boost libstdcxx |
------------------------------+--------------------------------
Comment (by adfernandes@…):
Replying to [comment:17 yusuhail@…]:
> Does it work for anyone else? Is there any way to know why it works for
adfernandes but not for me?
Hard to tell. The type of error being produced makes me think that
somewhere, somehow, the wrong c++ standard library is being used.
Try force-reinstalling gcc46. Or, what might be better, is try comping and
running with gcc47.
It also depends what version of Mac OS you're running. I think boost tests
10.7 and 10.8, but 10.6 and earlier probably are buggy (not sure about the
exact versions supported, etc. though.)
--
Ticket URL: <https://trac.macports.org/ticket/37678#comment:19>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list