[MacPorts] #33264: p5.12-xml-parser doesn't respect build_arch (was: p5.12-xml-parser claims to be i386 but is not)

MacPorts noreply at macports.org
Wed Feb 15 21:07:09 PST 2012


#33264: p5.12-xml-parser doesn't respect build_arch
--------------------------------+-------------------------------------------
 Reporter:  jhkoivis@…          |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  2.0.3                                
 Keywords:                      |        Port:  p5.12-xml-parser                     
--------------------------------+-------------------------------------------
Changes (by ryandesign@…):

  * keywords:  architechture build_arch i386 x86_64 snow_leopard migration
               =>


Comment:

 The main perl ports were recently fixed to no longer include `-arch` flags
 in their installed files. See #24779. I would guess this is responsible
 for p5.12-xml-parser and perhaps (all?) other p5 ports not using `-arch`
 flags. If this indeed affects many (all?) p5 ports then the perl5
 portgroup would be the right place to fix this. Probably adding
 `[get_canonical_archflags]` to CFLAGS/CPPFLAGS/LDFLAGS, or to CC/CXX,
 would be the fix.

 I do not however understand why you want to build for i386 on a machine
 that is fully capable of running 64-bit software. The only thing some
 early 64-bit Macs couldn't do was boot to the 64-bit kernel, however this
 has no bearing whatsoever on your ability to run 64-bit userspace
 software. Running 64-bit Intel software should be faster than running
 32-bit Intel software because 64-bit Intel software has access to more
 registers.

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


More information about the macports-tickets mailing list