On Mar 14, 2006, at 8:13 PM, Daniel Johnson wrote:
On Mar 14, 2006, at 5:54 PM, Benjamin Reed wrote:Martin Costabel wrote:$ for GCC in gcc2 gcc3 gcc-3.3 gcc-3.3.3 gcc-3.4.1 gcc-4.0i686-apple-darwin8-gcc-4.0.1 ; do echo $GCC : `$GCC - dumpmachine` ;donegcc2 : ppc-darwin gcc3 : ppc-darwin gcc-3.3 : ppc-darwin gcc-3.3.3 : powerpc-apple-darwin7.4.0 gcc-3.4.1 : powerpc-apple-darwin7.4.0 gcc-4.0 : powerpc-apple-darwin8 i686-apple-darwin8-gcc-4.0.1 : i686-apple-darwin8 Nobody seems to have told debian about this.well, we're using a rather old version of dpkg...I've got updated dpkg and apt packages in my experimental that appear todo better on intel: ---(snip!)--- $ dpkg-architecture DEB_BUILD_ARCH=darwin-i386 DEB_BUILD_ARCH_OS=darwin DEB_BUILD_ARCH_CPU=i386 DEB_BUILD_GNU_CPU=i486 DEB_BUILD_GNU_SYSTEM=darwin DEB_BUILD_GNU_TYPE=i486-darwin DEB_HOST_ARCH=darwin-i386 DEB_HOST_ARCH_OS=darwin DEB_HOST_ARCH_CPU=i386 DEB_HOST_GNU_CPU=i486 DEB_HOST_GNU_SYSTEM=darwin DEB_HOST_GNU_TYPE=i486-darwin ---(snip!)---Not sure why they want to make it "i486" for the GNU stuff, but hey, itworks, at least. :)A lot of packages try to detect which ix86 processor a machine has so that they can tune gcc to match. Because of the proliferation of ix86 processors, such code quickly becomes outdated. :) Unfortunately, since the Core Duo is so new, most packages don't correctly identify it and often fall back to i386 or i486. Which can degrade performance since Apple's gcc is already properly tuned by default.I'd appreciate some testers, it would be nice to have a modern dpkg andapt in Fink again.I'll try it out.
OK, I built apt 0.6.43.3-1022 and dpkg 1.13.16-1022 from your experimental/10.4 and now apt-ftparchive crashes with:
dyld: Library not loaded: /sw/lib/libapt-inst.1.dylib Referenced from: /sw/bin/apt-ftparchive Reason: image not found Trace/BPT trap $ otool -L /sw/bin/apt-ftparchive /sw/bin/apt-ftparchive:/System/Library/Frameworks/CoreFoundation.framework/Versions/ A/CoreFoundation (compatibility version 150.0.0, current version 368.26.0) /sw/lib/libapt-pkg.3.dylib (compatibility version 3.0.0, current version 3.11.0) /sw/lib/libapt-inst.1.dylib (compatibility version 1.0.0, current version 1.1.0) /sw/lib/libintl.1.dylib (compatibility version 2.0.0, current version 2.1.0) /sw/lib/libftw.0.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.5)
$ otool -L /sw/lib/libapt-inst.1.dylibotool: can't open file: /sw/lib/libapt-inst.1.dylib (No such file or directory)
$ otool -L /sw/lib/libapt-inst.1.0.dylib /sw/lib/libapt-inst.1.0.dylib:/sw/lib/libapt-inst.1.0.dylib (compatibility version 1.0.0, current version 1.0.0) /sw/lib/libapt-pkg.3.2.dylib (compatibility version 3.2.0, current version 3.2.0) /System/Library/Frameworks/CoreFoundation.framework/Versions/ A/CoreFoundation (compatibility version 150.0.0, current version 368.26.0) /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.5)
and /sw/lib/libapt-inst* only exists in the apt 0.5.4 packages, not the 0.6.43.3 ones.
-- Daniel Johnson [EMAIL PROTECTED] PGP public key: http://homepage.mac.com/danielj7/publickey.txt
PGP.sig
Description: This is a digitally signed message part