It appears that the new libvorbis-1.3.1 for sparc solaris now checks if gcc supports the -mv8 option. The ebuild is removing the -mv8 option, breaking the build now. libtool: compile: sparc-sun-solaris2.10-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/sys_tools/usr/include -I/sys_tools/usr/include -Wall -Wextra -ffast-math -D__NO_MATH_INLINES -fsigned-char -mv8 -O2 -pipe -DUSE_MEMORY_H -c mdct.c -fPIC -DPIC -o .libs/mdct.o cc1: error: unrecognized command line option "-mv8" make[3]: *** [mdct.lo] Error 1 Part of the ebuild: src_prepare() { sed -i \ -e '/CFLAGS/s:-O20::' \ -e '/CFLAGS/s:-mcpu=750::' \ -e '/CFLAGS/s:-mv8::' \ configure.ac || die AT_M4DIR="m4" eautoreconf } Removing the reference to -mv8 line fixes the problem and libvorbis builds correctly. I am not sure about other systems though. It appers the mv8 check is only done for sparc-cpu in the configure, so it should be safe for other platforms.
# emerge --info Portage 2.2.00.15842-prefix (prefix/sunos/solaris/5.10/sparc, gcc-4.4.1, unavailable, 5.10 sun4v) ================================================================= System uname: Solaris-2.10-sun4v-sparc-32bit-ELF Timestamp of tree: Wed, 07 Apr 2010 12:37:16 +0000 app-shells/bash: 4.0_p37 dev-lang/python: 2.6.5-r1 dev-util/cmake: 2.8.1 sys-devel/autoconf: 2.65 sys-devel/automake: 1.10.2-r00.1, 1.11.1 sys-devel/binutils: 2.20.51.0.4 sys-devel/gcc: 4.4.1 sys-devel/gcc-config: 1.4.1-r00.2 sys-devel/libtool: 2.2.6b ACCEPT_KEYWORDS="~sparc-solaris" ACCEPT_LICENSE="* -@EULA" CBUILD="sparc-sun-solaris2.10" CFLAGS="-O2 -pipe" CHOST="sparc-sun-solaris2.10" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CPPFLAGS="-I/sys_tools/usr/include" CXXFLAGS="-O2 -pipe" DISTDIR="/sys_tools/usr/portage/distfiles" FEATURES="assume-digests collision-protect distlocks fixpackages news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-L/sys_tools/usr/lib -R/sys_tools/usr/lib -L/sys_tools/lib -R/sys_tools/lib" PKGDIR="/sys_tools/usr/portage/packages" PORTAGE_CONFIGROOT="/sys_tools/" 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="/sys_tools/var/tmp" PORTDIR="/sys_tools/usr/portage" PORTDIR_OVERLAY="/sys_tools/usr/local/portage" SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" USE="cracklib cxx kerberos modules ncurses nls prefix readline sparc-solaris ssl unicode zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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 proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http auth_digest" ELIBC="SunOS" INPUT_DEVICES="keyboard mouse" KERNEL="SunOS" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
thanks, I removed it from the sed statement.