Bug#667658: mpg123 FTBFS on armhf

peter green plugwash at p10link.net
Thu Apr 5 15:59:10 UTC 2012


Package: mpg123
Version: 1.13.7-6
Severity: important
Tags: patch
User: debian-arm at lists.debian.org
Usertags: armhf

mpg123 FTBFS on armhf with the following errors.

/bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../src/libmpg123  -DOPT_ARM -DREAL_IS_FIXED -D_FORTIFY_SOURCE=2  -O2 -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -c -o layer3.lo layer3.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../src/libmpg123 -DOPT_ARM -DREAL_IS_FIXED -D_FORTIFY_SOURCE=2 -O2 -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -c layer3.c  -fPIC -DPIC -o .libs/layer3.o
/tmp/ccUolZ9g.s: Assembler messages:
/tmp/ccUolZ9g.s:4188: Error: shift must be constant -- `orr r6,r6,r7,lsl ip'
/tmp/ccUolZ9g.s:4233: Error: shift must be constant -- `orr r7,r7,ip,lsl r8'
/tmp/ccUolZ9g.s:4490: Error: shift must be constant -- `orr r6,r6,r7,lsl ip'
/tmp/ccUolZ9g.s:4733: Error: shift must be constant -- `orr fp,fp,r7,lsl ip'
/tmp/ccUolZ9g.s:4763: Error: shift must be constant -- `orr fp,fp,r7,lsl ip'
/tmp/ccUolZ9g.s:4797: Error: shift must be constant -- `orr r6,r6,r7,lsl ip'
/tmp/ccUolZ9g.s:4831: Error: shift must be constant -- `orr r8,r8,r1,lsl r0'
/tmp/ccUolZ9g.s:4866: Error: shift must be constant -- `orr sl,sl,r1,lsl r6'
/tmp/ccUolZ9g.s:7004: Error: shift must be constant -- `orr r7,r7,ip,lsl r8'
/tmp/ccUolZ9g.s:7057: Error: shift must be constant -- `orr r7,r7,ip,lsl r8'
/tmp/ccUolZ9g.s:7328: Error: shift must be constant -- `orr r8,r8,r7,lsl ip'
/tmp/ccUolZ9g.s:7612: Error: shift must be constant -- `orr r8,r8,r6,lsl r7'
/tmp/ccUolZ9g.s:7688: Error: shift must be constant -- `orr r8,r8,r6,lsl r7'
/tmp/ccUolZ9g.s:7726: Error: shift must be constant -- `orr sl,sl,r7,lsl ip'
/tmp/ccUolZ9g.s:7846: Error: shift must be constant -- `orr r8,r8,r1,lsl r0'
/tmp/ccUolZ9g.s:7886: Error: shift must be constant -- `orr r8,r8,r1,lsl r6'
make[4]: *** [layer3.lo] Error 1


The cause seems to be some thumb2 incompatible inline assembler. The 
attatched patch adds -marm to the CFLAGs to get arround this.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpg123.diff
Type: text/x-diff
Size: 428 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20120405/e3e1c7e5/attachment.diff>


More information about the pkg-multimedia-maintainers mailing list