Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 203327 - media-libs/flac miscompiles on ppc
Summary: media-libs/flac miscompiles on ppc
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: Low normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-25 20:14 UTC by pochini
Modified: 2007-12-28 20:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pochini 2007-12-25 20:14:24 UTC
This is a weird one. Flac miscompiles on ppc (I don't know on other archs). It seems to work fine when it compresses a sound file, but the resulting .flac is always 268258818 bytes long (??) and of course "flac --test file.flac" fails.
I had to remove the following line from media-libs/flac/flac-1.2.1-r1.ebuild to make it compile correctly:

AT_M4DIR="m4" eautoreconf

My config:

sys-devel/m4-1.4.10
sys-devel/automake-1.10
sys-devel/libtool-1.5.24

$ emerge --info
Portage 2.1.3.19 (default-linux/ppc/2005.1/ppc, gcc-4.1.1, glibc-2.3.4.20041102-r1, 2.6.23.1 ppc)
=================================================================
System uname: 2.6.23.1 ppc 7455, altivec supported
Timestamp of tree: Tue, 25 Dec 2007 19:00:01 +0000
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="ppc"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=7450 -mtune=7450 -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=7450 -mtune=7450 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="it_IT"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa altivec berkdb bitmap-fonts cli cracklib crypt cups dri eds emboss fortran gif gnome gpm gstreamer gtk gtk2 iconv ipv6 isdnlog jpeg kde libwww midi motif mp3 mpeg mudflap ncurses nls ogg oggvorbis opengl openmp pam pcre perl png ppc pppd python qt3 qt4 readline reflection session spell spl ssl tcpd truetype truetype-fonts type1-fonts unicode vorbis xml2 xorg xv zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-12-25 20:18:58 UTC
Upgrade to a *supported* profile and upgrade your toolchain to latest stable versions before reporting similar issues. Current stable versions are:

binutils-2.18-r1
glibc-2.6.1
gcc-4.1.2

(On a side note, flac version is missing as well).
Comment 2 pochini 2007-12-28 20:10:27 UTC
I updated libc, gcc and binutils. Problem solved.