Skip to contentSkip to conversation

: sparc, powerpc, hppa, alpha, ia64: "Please, recode mix_areas1() routine to your architecture..."

ALSA - lib 0000824 [email protected] 1 participant 1 message Mar 17, 2005

lore
Share & tools
lore
#0 lore raw

The following issue has been set as RELATED TO issue 0000926.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=824>
======================================================================
Reported By: jdthood
Assigned To:
======================================================================

Project:                    ALSA - lib
Issue ID:                   824
Category:                   pcm - digital audio
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             01-17-2005 08:58 CET
Last Modified:              03-17-2005 08:16 CET

======================================================================
Summary: sparc, powerpc, hppa, alpha, ia64: "Please, recode
mix_areas1() routine to your architecture..."
Description:
Making all in pcm
[...]
if /bin/sh ../../libtool --mode=compile powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D__ppc__ -g -Wall -O2 -MT pcm_dmix.lo -MD -MP -MF ".deps/pcm_dmix.Tpo" \
-c -o pcm_dmix.lo test -f 'pcm_dmix.c' || echo './'pcm_dmix.c; \
then mv -f ".deps/pcm_dmix.Tpo" ".deps/pcm_dmix.Plo"; \
else rm -f ".deps/pcm_dmix.Tpo"; exit 1; \
fi
powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
-D__ppc__ -g -Wall -O2 -MT pcm_dmix.lo -MD -MP -MF .deps/pcm_dmix.Tpo -c pcm_dmix.c -fPIC -DPIC -o .libs/pcm_dmix.o
pcm_dmix.c:221:2: warning: #warning Please, recode mix_areas1() routine to your architecture...
pcm_dmix.c: In function `mix_areas1':
pcm_dmix.c:247: warning: use of cast expressions as lvalues is deprecated pcm_dmix.c:248: warning: use of cast expressions as lvalues is deprecated pcm_dmix.c:249: warning: use of cast expressions as lvalues is deprecated pcm_dmix.c:253:2: warning: #warning Please, recode mix_areas2() routine to your architecture...
pcm_dmix.c: In function `mix_areas2':
pcm_dmix.c:279: warning: use of cast expressions as lvalues is deprecated pcm_dmix.c:280: warning: use of cast expressions as lvalues is deprecated pcm_dmix.c:281: warning: use of cast expressions as lvalues is deprecated
powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
-D__ppc__ -g -Wall -O2 -MT pcm_dmix.lo -MD -MP -MF .deps/pcm_dmix.Tpo -c pcm_dmix.c -o pcm_dmix.o >/dev/null 2>&1

======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0000926 There is no source code for the functio...
======================================================================

----------------------------------------------------------------------
jdthood - 01-17-05 09:06
----------------------------------------------------------------------
See
http://buildd.debian.org/fetch.php?&pkg=alsa-lib&ver=1.0.8-1&arch=sparc&stamp=1105912213&file=log&as=raw
for the full build log.

----------------------------------------------------------------------
jdthood - 01-17-05 11:21
----------------------------------------------------------------------
Also on s390. See
http://buildd.debian.org/fetch.php?&pkg=alsa-lib&ver=1.0.8-1&arch=s390&stamp=1105954179&file=log&as=raw
for the full build log on s390.

----------------------------------------------------------------------
jdthood - 01-18-05 16:48
----------------------------------------------------------------------
Also on mips. See
http://buildd.debian.org/fetch.php?&pkg=alsa-lib&ver=1.0.8-1&arch=mips&stamp=1106048896&file=log&as=raw
for the full build log.

----------------------------------------------------------------------
tiwai - 01-18-05 17:45
----------------------------------------------------------------------
Well, should we disable dmix & co for these architectures? Then you'll get no more warnings.

----------------------------------------------------------------------
jdthood - 01-18-05 17:59
----------------------------------------------------------------------

Quoted 1 line

Well, should we disable dmix & co for these architectures?

I don't know -- I haven't investigated the cause of this warning message. I just assume that it may be helpful if the ALSA team is informed of compiler warning messages thrown on non-i386 architectures.

----------------------------------------------------------------------
tiwai - 01-18-05 18:01
----------------------------------------------------------------------
The warning messages are intentional. On these platforms, dmix & co won't work properly because no atomic operations are implemented.

----------------------------------------------------------------------
jdthood - 01-20-05 12:37
----------------------------------------------------------------------
(For completeness...) also seen on arm and m68k

Arm build log:
http://buildd.debian.org/fetch.php?&pkg=alsa-lib&ver=1.0.8-1&arch=arm&stamp=1106178900&file=log&as=raw
m68k build log:
http://buildd.debian.org/fetch.php?&pkg=alsa-lib&ver=1.0.8-1&arch=m68k&stamp=1106208530&file=log&as=raw

----------------------------------------------------------------------
jdthood - 01-23-05 17:59
----------------------------------------------------------------------

Quoted 1 line

no atomic operations are implemented

What would it take to implement them?

----------------------------------------------------------------------
jdthood - 03-16-05 22:34
----------------------------------------------------------------------
See also bug https://bugtrack.alsa-project.org/alsa-bug/view.php?id=926.

Issue History
Date Modified Username Field Change
======================================================================

01-17-05 08:58 jdthood        New Issue                                    
01-17-05 09:06 jdthood        Note Added: 0003222                          
01-17-05 11:21 jdthood        Note Added: 0003230                          
01-18-05 16:48 jdthood        Note Added: 0003250                          
01-18-05 17:45 tiwai          Note Added: 0003253                          
01-18-05 17:59 jdthood        Note Added: 0003255                          
01-18-05 18:01 tiwai          Note Added: 0003256                          
01-20-05 12:37 jdthood        Note Added: 0003326                          
01-23-05 17:59 jdthood        Note Added: 0003388                          
03-16-05 22:34 jdthood        Note Added: 0003971                          
03-17-05 08:16 perex          Relationship added       related to 0000926  

======================================================================

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click