Build on ARM of the 1.2.x branch fails

Bug #889203 reported by Didier Barvaux
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rohc
Status tracked in Rohc-main
1.2.x
Fix Released
Medium
Didier Barvaux
1.3.x
Invalid
Undecided
Didier Barvaux
Rohc-main
Invalid
Undecided
Didier Barvaux

Bug Description

On ARM systems, building the 1.2.x branch fails.

Steps to reproduce:
  1. ./autogen.sh
  2. make clean all

Output:

Making all in decomp
make[3]: Entering directory `/rohc-library-1_2_x-arm/build/src/decomp'
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/common -I../../src/comp -g -Wall -Wstrict-prototypes -Werror -g -O2 -MT rohc_decomp.lo -MD -MP -MF .deps/rohc_decomp.Tpo -c -o rohc_decomp.lo rohc_decomp.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/common -I../../src/comp -g -Wall -Wstrict-prototypes -Werror -g -O2 -MT rohc_decomp.lo -MD -MP -MF .deps/rohc_decomp.Tpo -c rohc_decomp.c -fPIC -DPIC -o .libs/rohc_decomp.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/common -I../../src/comp -g -Wall -Wstrict-prototypes -Werror -g -O2 -MT rohc_decomp.lo -MD -MP -MF .deps/rohc_decomp.Tpo -c rohc_decomp.c -o rohc_decomp.o >/dev/null 2>&1
mv -f .deps/rohc_decomp.Tpo .deps/rohc_decomp.Plo
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/common -I../../src/comp -g -Wall -Wstrict-prototypes -Werror -g -O2 -MT feedback.lo -MD -MP -MF .deps/feedback.Tpo -c -o feedback.lo feedback.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/common -I../../src/comp -g -Wall -Wstrict-prototypes -Werror -g -O2 -MT feedback.lo -MD -MP -MF .deps/feedback.Tpo -c feedback.c -fPIC -DPIC -o .libs/feedback.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/common -I../../src/comp -g -Wall -Wstrict-prototypes -Werror -g -O2 -MT feedback.lo -MD -MP -MF .deps/feedback.Tpo -c feedback.c -o feedback.o >/dev/null 2>&1
mv -f .deps/feedback.Tpo .deps/feedback.Plo
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/common -I../../src/comp -g -Wall -Wstrict-prototypes -Werror -g -O2 -MT d_uncompressed.lo -MD -MP -MF .deps/d_uncompressed.Tpo -c -o d_uncompressed.lo d_uncompressed.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/common -I../../src/comp -g -Wall -Wstrict-prototypes -Werror -g -O2 -MT d_uncompressed.lo -MD -MP -MF .deps/d_uncompressed.Tpo -c d_uncompressed.c -fPIC -DPIC -o .libs/d_uncompressed.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/common -I../../src/comp -g -Wall -Wstrict-prototypes -Werror -g -O2 -MT d_uncompressed.lo -MD -MP -MF .deps/d_uncompressed.Tpo -c d_uncompressed.c -o d_uncompressed.o >/dev/null 2>&1
mv -f .deps/d_uncompressed.Tpo .deps/d_uncompressed.Plo
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/common -I../../src/comp -g -Wall -Wstrict-prototypes -Werror -g -O2 -MT d_generic.lo -MD -MP -MF .deps/d_generic.Tpo -c -o d_generic.lo d_generic.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/common -I../../src/comp -g -Wall -Wstrict-prototypes -Werror -g -O2 -MT d_generic.lo -MD -MP -MF .deps/d_generic.Tpo -c d_generic.c -fPIC -DPIC -o .libs/d_generic.o
d_generic.c: In function 'build_uncompressed_ip4':
../../src/common/rohc.h:681:2: error: invalid 'asm': invalid operand for code 'w'
../../src/common/rohc.h:681:2: error: invalid 'asm': invalid operand for code 'w'
make[3]: Leaving directory `/rohc-library-1_2_x-arm/build/src/decomp'
make[3]: *** [d_generic.lo] Error 1
make[2]: Leaving directory `/rohc-library-1_2_x-arm/build/src'
make[1]: Leaving directory `/rohc-library-1_2_x-arm/build'
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Tags: library arm build
Revision history for this message
Didier Barvaux (didier-barvaux) wrote :

Branch 1.3.x is not affected.

Revision history for this message
Didier Barvaux (didier-barvaux) wrote :

Confirmed on the 1.2.x branch.

Revision history for this message
Didier Barvaux (didier-barvaux) wrote :

On the 1.2.x branch, add an arch-independent implementation of the IP checksum.
See http://bazaar.launchpad.net/~didier-barvaux/rohc/1.2.x/revision/131

Revision history for this message
Didier Barvaux (didier-barvaux) wrote :

Trunk is not affected.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.