[Asterisk-Users] Build on Itanium fails

Jonas Arndt jonas_arndt at comcast.net
Tue Aug 9 10:00:22 MST 2005


Thanks Guys,

I should have mentioned that I have already tried to remove the flag. 
What happens then is that I run into other issues.

=========================================================================
gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations
 -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6   
-DZAPTEL_OPTIMIZAT
IONS          -fomit-frame-pointer  -fPIC     -c 
-DNeedFunctionPrototypes=1 -fun
roll-loops -fPIC -O6  -DSASR -DNDEBUG    -DWAV49   -I./inc src/table.c
as   -o src/k6opt.o src/k6opt.s
src/k6opt.s: Assembler messages:
src/k6opt.s:9: Error: unknown pseudo-op: `.value'
src/k6opt.s:10: Error: unknown pseudo-op: `.value'
src/k6opt.s:11: Error: unknown pseudo-op: `.value'
src/k6opt.s:12: Error: unknown pseudo-op: `.value'
src/k6opt.s:13: Error: unknown pseudo-op: `.value'
src/k6opt.s:14: Error: unknown pseudo-op: `.value'
src/k6opt.s:15: Error: unknown pseudo-op: `.value'
src/k6opt.s:16: Error: unknown pseudo-op: `.value'
src/k6opt.s:17: Error: unknown pseudo-op: `.value'
src/k6opt.s:18: Error: unknown pseudo-op: `.value'
src/k6opt.s:19: Error: unknown pseudo-op: `.value'
src/k6opt.s:20: Error: unknown pseudo-op: `.value'
src/k6opt.s:27: Error: Unknown opcode `pushl %ebp'
src/k6opt.s:28: Error: bad expression
src/k6opt.s:28: Error: Illegal operand separator `e'
src/k6opt.s:29: Error: Unknown opcode `pushl %edi'
src/k6opt.s:30: Error: Unknown opcode `pushl %esi'
src/k6opt.s:31: Error: Unknown opcode `pushl %ebx'
src/k6opt.s:32: Error: Illegal operand separator `('
src/k6opt.s:33: Error: Illegal operand separator `('
src/k6opt.s:34: Error: bad expression
src/k6opt.s:34: Error: Illegal operand separator `e'
src/k6opt.s:35: Error: Unknown opcode `emms'
src/k6opt.s:36: Error: bad expression
src/k6opt.s:36: Error: Illegal operand separator `e'
src/k6opt.s:36: Error: Unknown opcode `movd %eax,%mm5'
src/k6opt.s:37: Error: Unknown opcode `movq coefs,%mm1'
src/k6opt.s:38: Error: Unknown opcode `movq coefs+8,%mm2'
src/k6opt.s:39: Error: Unknown opcode `movq coefs+16,%mm3'
src/k6opt.s:40: Error: Unknown opcode `xorl %esi,%esi'
src/k6opt.s:43: Error: Unknown opcode `movq (%ebx,%esi,2),%mm0'
src/k6opt.s:44: Error: Unknown opcode `pmaddwd %mm1,%mm0'
src/k6opt.s:46: Error: Unknown opcode `movq 8(%ebx,%esi,2),%mm4'
src/k6opt.s:47: Error: Unknown opcode `pmaddwd %mm2,%mm4'
src/k6opt.s:48: Error: Unknown opcode `paddd %mm4,%mm0'
src/k6opt.s:50: Error: Unknown opcode `movq 16(%ebx,%esi,2),%mm4'
src/k6opt.s:51: Error: Unknown opcode `pmaddwd %mm3,%mm4'
src/k6opt.s:52: Error: Unknown opcode `paddd %mm4,%mm0'
=========================================================================

Thanks,

// Jonas

Kevin P. Fleming wrote:

> Jonas Arndt wrote:
>
>> The problem I am currently facing seem to be in the codecs/gsm 
>> directory. I am getting the error:
>> ===============================================================
>> make[2]: Entering directory `/usr/src/asterisk/codecs/gsm'
>> if [ ! -d ./lib ] ; then mkdir ./lib ; fi
>> gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes 
>> -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT 
>> -D_GNU_SOURCE  -O6   -DZAPTEL_OPTIMIZATIONS          
>> -fomit-frame-pointer  -fPIC     -c -DNeedFunctionPrototypes=1 
>> -funroll-loops -fPIC -O6 -march=ia64 -DSASR -DNDEBUG    -DWAV49   
>> -I./inc src/add.c
>> cc1: error: invalid option `arch=ia64'
>> ===============================================================
>
>
> The GSM Makefile is somewhat stupid in this regard; it also fails on 
> x86-64 machines. I'd suggest just editing codecs/gsm/Makefile to 
> remove the 'arch' flag, since it really won't make a big difference, 
> especially if you aren't doing GSM transcoding.
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users





More information about the asterisk-users mailing list