Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87680 - alsa-lib 1.0.9_rc2 compile fails on alpha
Summary: alsa-lib 1.0.9_rc2 compile fails on alpha
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal
Assignee: Alpha Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-02 09:12 UTC by Tobias Klausmann (RETIRED)
Modified: 2005-11-12 03:14 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 Tobias Klausmann (RETIRED) gentoo-dev 2005-04-02 09:12:26 UTC
Probably not helpful build messages (due to >/dev/null 2>&1):

 alpha-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -mieee -O2 -mcpu=ev56 -pipe -MT control_shm.lo -MD -MP -MF .deps/control_shm.Tpo -c control_shm.c  -fPIC -DPIC -o .libs/control_shm.o
make[2]: *** [control.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
 alpha-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -mieee -O2 -mcpu=ev56 -pipe -MT control_shm.lo -MD -MP -MF .deps/control_shm.Tpo -c control_shm.c -o control_shm.o >/dev/null 2>&1
make[2]: Leaving directory `/var/tmp/portage/alsa-lib-1.0.9_rc2/work/alsa-lib-1.0.9rc2/src/control'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/alsa-lib-1.0.9_rc2/work/alsa-lib-1.0.9rc2/src'
make: *** [all-recursive] Error 1

Actual error:
alpha-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -mieee -O2 -mcpu=ev56 -pipe -MT control.lo -MD -MP -MF .deps/control.Tpo -c control.c -o control.o
{standard input}: Assembler messages:
{standard input}:6361: Warning: Tried to .set unrecognized mode `snd_ctl_elem_info_get_dimensions'
{standard input}:6361: Error: junk at end of line, first unrecognized character is `,'
{standard input}:6410: Warning: Tried to .set unrecognized mode `snd_ctl_elem_info_get_dimension'
{standard input}:6410: Error: junk at end of line, first unrecognized character is `,'

emerge info:

Portage 2.0.51.19 (default-linux/alpha/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.12-rc1 alpha)
=================================================================
System uname: 2.6.12-rc1 alpha EV56
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar 29 2005, 11:33:30)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.9.5, 1.8.5-r3, 1.5, 1.7.9-r1, 1.6.3, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="alpha ~alpha"
AUTOCLEAN="yes"
CFLAGS="-mieee -O2 -mcpu=ev56 -pipe"
CHOST="alpha-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mieee -O2 -mcpu=ev56 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox usersandbox"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.mirror.solnet.ch"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync5.de.gentoo.org/gentoo-portage"
USE="X aalib alpha audiofile avi bash-completion berkdb bitmap-fonts bmp bzlib cdparanoia crypt cups curl dga dlloader encode exif font-server foomaticdb fortran ftp gdbm gif gpm gtk gtk2 imlib jpeg kdeenablefinal libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl svg tcpd threads truetype truetype-fonts type1-fonts xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

Give the nature of the error (assembler stuff), I guess it's a portability issue.
Comment 1 Tobias Klausmann (RETIRED) gentoo-dev 2005-04-02 09:16:20 UTC
Corrected error msgs (non -j2):

 alpha-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -mieee -O2 -mcpu=ev56 -pipe -MT control.lo -MD -MP -MF .deps/control.Tpo -c control.c  -fPIC -DPIC -o .libs/control.o
 alpha-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -mieee -O2 -mcpu=ev56 -pipe -MT control.lo -MD -MP -MF .deps/control.Tpo -c control.c -o control.o >/dev/null 2>&1
make[2]: *** [control.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/alsa-lib-1.0.8/work/alsa-lib-1.0.8/src/control'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/alsa-lib-1.0.8/work/alsa-lib-1.0.8/src'
make: *** [all-recursive] Error 1
Comment 2 Sean Davidson 2005-06-12 16:27:08 UTC
The alsa-lib package will compiled with -fPIC -DPIC for both static and
shared libraries.

env CFLAGS="-O2 -mcpu=ev5 -fomit-frame-pointer -mieee -fPIC -DPIC -pipe" \
   emerge  alsa-lib

otherwise you will get the following assembly errors:

gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O2 -mcpu=ev5
-fomit-frame-pointer -mieee -pipe -MT control.lo -MD -MP -MF .deps/control.Tpo
-c control.c -o control.o
{standard input}: Assembler messages:
{standard input}:6398: Warning: Tried to .set unrecognized mode
`snd_ctl_elem_info_get_dimensions'
{standard input}:6398: Error: junk at end of line, first unrecognized character
is `,'
{standard input}:6449: Warning: Tried to .set unrecognized mode
`snd_ctl_elem_info_get_dimension'
{standard input}:6449: Error: junk at end of line, first unrecognized character
is `,'

This also could be due to the outdated gcc 3.3.2 package being used on alpha
while other archs have moved onto 3.3.5
Comment 3 Mike Hlavac 2005-11-11 19:54:55 UTC
alsa-lib-1.0.9 was just marked stable for Alpha.  Can you please confirm that
the error you reported in the bug still happens?  I was successfully able to
emerge it tonight without any issues.
Comment 4 Tobias Klausmann (RETIRED) gentoo-dev 2005-11-12 03:14:44 UTC
Yes, it compiles now. I'll have an eye on it regarding bugs, but as far as I'm
concerned, that would be a new bug, so I'm closing this one.