[asterisk-bugs] [DAHDI-linux 0015167]: echo cancellers sec, kb1 and mg2 fail to build on x86_64 with CONFIG_DAHDI_MMX

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 20 12:52:08 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15167 
====================================================================== 
Reported By:                tzafrir
Assigned To:                
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   15167
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2009-05-20 12:52 CDT
Last Modified:              2009-05-20 12:52 CDT
====================================================================== 
Summary:                    echo cancellers sec, kb1 and mg2 fail to build on
x86_64 with CONFIG_DAHDI_MMX
Description: 
tzafrir at sweetmorn:~/Proj/Asterisk/Svn/dahdi-linux$ LANG=C make
make -C drivers/dahdi/firmware firmware-loaders
make[1]: Entering directory
`/home/tzafrir/Proj/Asterisk/Svn/dahdi-linux/drivers/dahdi/firmware'
make[1]: Leaving directory
`/home/tzafrir/Proj/Asterisk/Svn/dahdi-linux/drivers/dahdi/firmware'
make -C /lib/modules/2.6.26-2-amd64/build
SUBDIRS=/home/tzafrir/Proj/Asterisk/Svn/dahdi-linux/drivers/dahdi
DAHDI_INCLUDE=/home/tzafrir/Proj/Asterisk/Svn/dahdi-linux/include
DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: Entering directory `/usr/src/linux-headers-2.6.26-2-amd64'
  CC [M] 
/home/tzafrir/Proj/Asterisk/Svn/dahdi-linux/drivers/dahdi/dahdi_echocan_sec.o
{standard input}: Assembler messages:
{standard input}:41: Error: suffix or operands invalid for `mov'
{standard input}:42: Error: suffix or operands invalid for `mov'
make[2]: ***
[/home/tzafrir/Proj/Asterisk/Svn/dahdi-linux/drivers/dahdi/dahdi_echocan_sec.o]
Error 1
make[1]: ***
[_module_/home/tzafrir/Proj/Asterisk/Svn/dahdi-linux/drivers/dahdi] Error
2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-2-amd64'
make: *** [modules] Error 2


If I disable building dahdi_echocan_sec , I get the same error for kb1,
and later on for mg2.

The error is from drivers/dahdi/arith.h:CONVOVLE() . const int *coeffs is
a 64bits value whereas the assmebly code expects it to be a 32bit value.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-20 12:52 tzafrir        New Issue                                    
======================================================================




More information about the asterisk-bugs mailing list