[MacPorts] #24942: py26-numpy 1.4.1 undefined symbols in lapack_litemodule

MacPorts noreply at macports.org
Mon Sep 20 04:43:28 PDT 2010


#24942: py26-numpy 1.4.1 undefined symbols in lapack_litemodule
-------------------------------------+--------------------------------------
 Reporter:  and.damore@…             |       Owner:  mcalhoun@…           
     Type:  defect                   |      Status:  new                  
 Priority:  Normal                   |   Milestone:                       
Component:  ports                    |     Version:  1.9.99               
 Keywords:                           |        Port:  py26-numpy           
-------------------------------------+--------------------------------------

Comment(by michaelld@…):

 LDFLAGS contains the "-arch xxx" or "-mXX" arch specification; setting
 "python.add_archflags no" only changes this variable for the configure
 stage. Python ports using setup.py scripts require it to be set for the
 build stage, so changing this setting will at best allow for single
 architecture compilation; it will not solve the +universal install issues.

 Further: For non-universal installs using the default compile architecture
 (which is the default, I think, for most ports), not setting LDFLAGS
 should work just fine & this patch isn't necessary (but it also does no
 harm).  But, when compiling as +universal for the non-default architecture
 LDFLAGS must be set unless the arch flag is appended to the compiler info
 (e.g., CC=".../gcc-mp-4.4 -arch i386 -arch x86_64" if using Apple's GCC)
 -- and doing so has its own issue (try it and see for yourselves).

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


More information about the macports-tickets mailing list