Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159597 - media-plugins/audacious-plugins - problem in wma source code: fft.c
Summary: media-plugins/audacious-plugins - problem in wma source code: fft.c
Status: RESOLVED DUPLICATE of bug 141789
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Tony Vroon (RETIRED)
URL: http://bugs-meta.atheme.org/view.php?...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-31 14:01 UTC by tfuk
Modified: 2007-01-01 06:57 UTC (History)
1 user (show)

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 tfuk 2006-12-31 14:01:16 UTC
(posted on gentoo-bugreport and audacious-bugreport)

Something is wrong in the file fft.c, wich is compilled when the USE flag "wma" is used.

I tried two versions of audacious-plugins: 1.2.2-r1 (stable) and 1.2.5 (~ppc).

Must be some ppc-specific problem or gcc4 related, because the line of the error is an ASM routine, and the package is marked as "stable".

<------ BUILD ERROR ------>

        CC     fft.c                            
fft.c: In function 'has_altivec':
fft.c:108: error: 'asm' undeclared (first use in this function)
fft.c:108: error: (Each undeclared identifier is reported only once
fft.c:108: error: for each function it appears in.)
fft.c:108: error: expected ';' before 'volatile'
make[4]: *** [fft.o] Error 1

</------ BUILD ERROR ------>

<----- emerge --info ------->
Portage 2.1-r2 (default-linux/ppc/ppc32/2006.1/G4, gcc-4.1.1, glibc-2.4-r3, 2.6.19.1G1 ppc)
=================================================================
System uname: 2.6.19.1G1 ppc 7447A, altivec supported
Gentoo Base System version 1.12.1
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -fomit-frame-pointer"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="ppc X aiglx alsa altivec apache2 berkdb bitmap-fonts bonobo cdr cli cracklib crypt divx dlloader dri dvd eds emboss encode firefox fluxbox for
tran gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml iconv imlib isdnlog java jpeg latex ldap libg++ libwww mad mikmod mozilla mp3 mpeg mplayer musep
ack ncurses nls nptl nptlonly nsplugin ogg opengl pcre pdf perl png pppd python quicktime readline reflection ruby sdl session spell spl ssl tcpd t
heora truetype truetype-fonts type1-fonts udev unicode vorbis xml xorg xv xvid zlib alsa_cards_aoa alsa_cards_aoa-fabric-layout alsa_cards_aoa-onyx
 alsa_cards_aoa-soundbus alsa_cards_aoa-soundbus-i2s alsa_cards_aoa-tas alsa_cards_aoa-toonie alsa_cards_powermac alsa_cards_usb-audio alsa_cards_v
ia82xx alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_
pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_pl
ugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins
_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pc
m_plugins_softvol elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

</----- emerge --info ----->
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2007-01-01 06:54:44 UTC
The upstream bugtracker was the right place to file. Do not waste time (yours and mine) by filing duplicates on downstream bugtrackers. Your CFLAGS do not make sense to make, remove -fomit-frame-pointer as it is an X86/AMD64 optimization. PPC is not a register-starved architecture. It is likely that you can also remove -fno-strict-aliasing, as I don't need that on my PowerBook or on my dual G5. Also, on both those machines the WMA-plugin compiles just beautifully.
If the problem continues, file on the *upstream* bugtracker, show your updated CFLAGS and include config.log and the full build output (emerge audacious-plugins &> audacious-plugins.buildlog)
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2007-01-01 06:57:19 UTC
This a duplicate in more ways then one.
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2007-01-01 06:57:37 UTC

*** This bug has been marked as a duplicate of 141789 ***