On 08 Sep 2011, at 19:55, Alexander Hansen wrote: > On 10.6/i386 I get x86_64 libraries: > > $ dpkg -L atlas-shlibs | grep dylib | xargs file > /sw32/lib/libatlas.dylib: Mach-O 64-bit dynamically linked shared > library > /sw32/lib/libcblas.dylib: Mach-O 64-bit dynamically linked shared > library > /sw32/lib/libf77blas.dylib: Mach-O 64-bit dynamically linked shared > library > /sw32/lib/liblapack.dylib: Mach-O 64-bit dynamically linked shared > library > > I've uploaded log files from builds (successful) on 10.5/i386, > 10.6/i386, and 10.6/x86_64 to > http://akh.users.finkproject.org/finklogs/logfiles/ATLAS/ > All were built on the same machine: > $ sysctl hw.model > hw.model: MacBook4,1
Your log shows : ld="ld -dynamic -dylib -single_module -dead_strip -x -all_load -L. -L/ sw32/lib/gcc4.4/lib -ldylib1.o -dylib_install_name" $ld /sw32/lib/libatlas.dylib libatlas.a -o libatlas.dylib -lSystem ld: warning: -arch not specified ld: warning: in libatlas.a, file was built for unsupported file format which is not the architecture being linked (x86_64) etc... So, apparently, in 10.6, one has to specify -arch i386 , even if all files being linked are for that arch .. Can you try the following diff ? diff -r1.19 atlas.info 94c94 < ld="ld -dynamic -dylib -single_module -dead_strip -x -all_load -L. -L %p/lib/gcc4.4/lib -ldylib1.o -dylib_install_name" --- > ld="ld -arch %m -dynamic -dylib -single_module -dead_strip -x - all_load -L. -L%p/lib/gcc4.4/lib -ldylib1.o -dylib_install_name" If it works, might have to be amended for powerpc machines, since there, according to docs, %m --> powerpc while -arch requires either ppc or ppc64 Don't know how to distinguish the latter 2 ... Else it is just a matter of using above, instead of %m , `sed -e 's,powerpc,ppc,' <<<'%m'` (And please commit if OK, I'll be away for 10 days). Best, Jean-Francois ------------------------------------------------------------------------------ Why Cloud-Based Security and Archiving Make Sense Osterman Research conducted this study that outlines how and why cloud computing security and archiving is rapidly being adopted across the IT space for its ease of implementation, lower cost, and increased reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/ _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel