Emerging dev-libs/lzo-2.03 fails with: i686-apple-darwin9-gcc -O2 -pipe -march=nocona -o .libs/lzotest lzotest.o ../src/.libs/liblzo2.dylib Undefined symbols: "_lzo1y_decompress_asm", referenced from: _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o "_lzo1c_decompress_asm", referenced from: _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o "_lzo1c_decompress_asm_safe", referenced from: _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o "_lzo1x_decompress_asm", referenced from: _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o "_lzo1y_decompress_asm_fast", referenced from: _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o "_lzo1y_decompress_asm_safe", referenced from: _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o "_lzo1x_decompress_asm_fast", referenced from: _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o "_lzo1x_decompress_asm_safe", referenced from: _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o "_lzo1f_decompress_asm_fast_safe", referenced from: _compress_database in lzotest.o _compress_database in lzotest.o "_lzo1y_decompress_asm_fast_safe", referenced from: _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o "_lzo1f_decompress_asm_fast", referenced from: _compress_database in lzotest.o _compress_database in lzotest.o "_lzo1x_decompress_asm_fast_safe", referenced from: _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o _compress_database in lzotest.o ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [lzotest] Error 1 make[2]: Leaving directory `/Volumes/Gentoo/var/tmp/portage/dev-libs/lzo-2.03/work/lzo-2.03/lzotest' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/Volumes/Gentoo/var/tmp/portage/dev-libs/lzo-2.03/work/lzo-2.03' make: *** [all] Error 2 The system is Mac OS X 10.5.4. Result of emerge --info: Portage 2.2.00.11421-prefix (default-prefix/darwin/macos/10.5/x86, gcc-4.0.1, unavailable, 9.4.0 i386) ================================================================= System uname: Darwin-9.4.0-i386-32bit Timestamp of tree: Mon, 18 Aug 2008 16:34:22 +0000 distcc 2.18.5-Apple.1 powerpc-apple-darwin9.0 (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-lang/python: 2.5.2-r7 dev-util/ccache: 2.4-r7 sys-devel/autoconf: 2.61-r2 sys-devel/automake: 1.9.6-r2, 1.10.1-r1 sys-devel/gcc-config: 1.4.0-r04.5 sys-devel/libtool: 1.5.26 ACCEPT_KEYWORDS="~x86-macos" CBUILD="i686-apple-darwin9" CFLAGS="-O2 -pipe -march=nocona" CHOST="i686-apple-darwin9" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -pipe -march=nocona" DISTDIR="/Volumes/Gentoo/usr/portage/distfiles" EPREFIX="/Volumes/Gentoo" FEATURES="ccache collision-protect distlocks nostrip parallel-fetch preserve-libs sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="pl_PL.UTF-8" LDFLAGS="" PKGDIR="/Volumes/Gentoo/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/Volumes/Gentoo/var/tmp" PORTDIR="/Volumes/Gentoo/usr/portage" PORTDIR_OVERLAY="/Volumes/Gentoo/usr/local/portage" SYNC="svn://overlays.gentoo.org/proj/alt/trunk/prefix-overlay" USE="X aac aqua bash-completion bzip2 cddb coreaudio curl dvd ftp gif gmp graphviz iconv ipv6 jpeg jpeg2k lzo mad mmx mp2 mp3 ncurses neon objc objc++ ogg pcre perl png pnm prefix python quicktime readline speex spell sqlite sse ssl subversion tga theora tiff truetype unicode urandom vim-syntax vorbis webdav x264 x86-macos xml xvid zlib" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
cannot reproduce on PPC, darn, I hate x86 specific problems.
EXTRA_ECONF='--disable-asm' emerge -1 lzo works for me -- the flag should probably be added for x86 Darwin.
(In reply to comment #2) > EXTRA_ECONF='--disable-asm' emerge -1 lzo works for me -- the flag should > probably be added for x86 Darwin. > Fixed. Probably the same issue for 1.08-r1. Could you test that as well and report back?
1.08-r1 works - configure script appears to correctly detect that assembler doesn't work.