[MacPorts] #37678: MacPorts gcc gives malloc error on correct program, Apple's gcc doesn't

MacPorts noreply at macports.org
Thu Jan 17 11:17:20 PST 2013


#37678: MacPorts gcc gives malloc error on correct program, Apple's gcc doesn't
-------------------------+--------------------------------
  Reporter:  yusuhail@…  |      Owner:  macports-tickets@…
      Type:  defect      |     Status:  new
  Priority:  High        |  Milestone:
 Component:  ports       |    Version:  2.1.2
Resolution:              |   Keywords:
      Port:  gcc46       |
-------------------------+--------------------------------

Comment (by sean@…):

 Replying to [comment:4 bgrupe@…]:
 > Replying to [comment:3 sean@…]:
 >
 > > Currently, it's not easy to change the compiler for boost. I have some
 patches in my side project that adds all the gcc variants but won't have
 much time this week to work on submitting them :-(
 >
 > Have you looked into the possibility to add a "boost-gcc" subport? It
 would be ideal to have both gcc-compiled boost (e.g. for mkvtoolnix) and
 clang-compiled boost active at the same time (plus a subport could easily
 be used as a dependency).

 I have thought about it but am not sure about it yet. It would throw a
 wrench into any dependent port of boost that looks in ${prefix}/include
 (or lib) which seems (to me at least) to run against the macports design.
 Perhaps, the design could be changed but that would be quite a challenge.
 Basically, you'd need the ability to ask for a port's dependent libraries
 and headers.

 Therefore, in keeping with the motto "try not to rock the boat," I added
 the extra compilers as variants. This definitely has its own problems.

 > I know that this would add even more work though :-(

 Actually, since I wrote them as a port group, it'd initially be easy (at
 least for generating the subports) but would be subtle to fix the
 dependencies for reasons stated above

-- 
Ticket URL: <https://trac.macports.org/ticket/37678#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list