[MacPorts] #26209: orc 0.4.7 build fails due to use of 'posix_memalign' of 10.5

MacPorts noreply at macports.org
Sun Aug 22 18:16:55 PDT 2010


#26209: orc 0.4.7 build fails due to use of 'posix_memalign' of 10.5
------------------------------------+---------------------------------------
 Reporter:  michaelld@…             |       Owner:  macports-tickets@…                   
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:                                       
Component:  ports                   |     Version:  1.9.1                                
 Keywords:                          |        Port:  orc                                  
------------------------------------+---------------------------------------
 MacPorts 1.9.1.99, OSX 10.5.8 i386 only, XCode 3.1.3.

 Building in the 'orc-test' directory needs to be disabled.  OSX does not
 provide 'posix_memalign', nor IIRC a way of arbitrary alignment (just on a
 page boundary via 'valloc').  Ideally, the configure script would check
 for 'posix_memalign' function and then the code would use something else
 if it is not available.

 {{{
 Making all in orc-test
 [snip]
 libtool: link: /usr/bin/gcc-4.0 -dynamiclib  -o .libs/liborc-
 test-0.4.0.dylib  .libs/liborc_test_0.4_la-orctest.o .libs/liborc_test_0
 .4_la-orcarray.o .libs/liborc_test_0.4_la-orcrandom.o .libs/liborc_test_0
 .4_la-orcprofile.o   -L/opt/local/lib ../orc/.libs/liborc-0.4.dylib  -arch
 i386 -arch i386   -install_name  /opt/local/lib/liborc-test-0.4.0.dylib
 -compatibility_version 1 -current_version 1.0 -Wl,-single_module
 -Wl,-exported_symbols_list,.libs/liborc-test-0.4-symbols.expsym
 Undefined symbols:
   "_posix_memalign", referenced from:
       _orc_array_new in liborc_test_0.4_la-orcarray.o
 ld: symbol(s) not found
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/26209>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list