[MacPorts] #31734: VirtualBox 4.1.4 doesn't work with Lion and Xcode 4.2

MacPorts noreply at macports.org
Wed Oct 26 18:40:39 PDT 2011


#31734: VirtualBox 4.1.4 doesn't work with Lion and Xcode 4.2
---------------------------+------------------------------------------------
  Reporter:  jk@…          |       Owner:  royliu@…           
      Type:  defect        |      Status:  reopened           
  Priority:  Normal        |   Milestone:                     
 Component:  ports         |     Version:  2.0.3              
Resolution:                |    Keywords:                     
      Port:  virtualbox    |  
---------------------------+------------------------------------------------

Comment(by royliu@…):

 jk,

 Have you tried syncing with the MacPorts tree and rebuilding?  I believe
 everything will compile and everything will go fine ... until you actually
 try running a VM, in which case the VirtualBox will die horribly.

 Ryan,

 The reason for the compiler patches is that in Config.kmk, VirtualBox is
 setting its own compiler to be a non-LLVM GCC.  We'll have to override
 that.  I tried compiling with GCC 4.6, but there seems to be a problem
 with pragmas.  Thinking about patching GCC itself ... I'm wondering if I
 should revert my recent changes so that VirtualBox builds for all non
 Xcode 4.2 users.  It will stay broken for those on the edge.  What do you
 think?

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


More information about the macports-tickets mailing list