Bug 10835

Summary: cairo directfb powerpc build fails - operand out of range in cairo-bentley-ottmann.c
Product: cairo Reporter: Dave Beckett <dave>
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED NOTOURBUG QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium CC: chris
Version: 1.4.6   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Dave Beckett 2007-05-02 07:25:20 UTC
Via a debian automated build of 1.4.6 with directfb enabled:

configure \
		CFLAGS="-g -Os" \
		 powerpc-linux-gnu \
		--prefix=/usr/lib/libcairo-directfb \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--enable-directfb --disable-xlib  --enable-pdf --enable-ps --disable-svg --disable-glitz --disable-xcb --enable-png --program-suffix=-directfb

...

if /bin/sh ../libtool --tag=CC --mode=compile powerpc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/build/buildd/libcairo-1.4.6/src -I.. -I/build/buildd/libcairo-1.4.6/src -I/build/buildd/libcairo-1.4.6/pixman/src -I/usr/include/freetype2     -D_REENTRANT -I/usr/include/directfb   -I/usr/include/libpng12     -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -fno-strict-aliasing    -g -Os -MT cairo-bentley-ottmann.lo -MD -MP -MF ".deps/cairo-bentley-ottmann.Tpo" -c -o cairo-bentley-ottmann.lo /build/buildd/libcairo-1.4.6/src/cairo-bentley-ottmann.c; \
	then mv -f ".deps/cairo-bentley-ottmann.Tpo" ".deps/cairo-bentley-ottmann.Plo"; else rm -f ".deps/cairo-bentley-ottmann.Tpo"; exit 1; fi
 powerpc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/build/buildd/libcairo-1.4.6/src -I.. -I/build/buildd/libcairo-1.4.6/src -I/build/buildd/libcairo-1.4.6/pixman/src -I/usr/include/freetype2 -D_REENTRANT -I/usr/include/directfb -I/usr/include/libpng12 -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -fno-strict-aliasing -g -Os -MT cairo-bentley-ottmann.lo -MD -MP -MF .deps/cairo-bentley-ottmann.Tpo -c /build/buildd/libcairo-1.4.6/src/cairo-bentley-ottmann.c  -fPIC -DPIC -o .libs/cairo-bentley-ottmann.o
/tmp/ccE4SDgd.s: Assembler messages:
/tmp/ccE4SDgd.s:2199: Error: operand out of range (0 is not between 1 and 32)
/tmp/ccE4SDgd.s:2200: Error: operand out of range (0 is not between 1 and 32)
make[3]: *** [cairo-bentley-ottmann.lo] Error 1


http://buildd.debian.org/fetch.cgi?pkg=libcairo;ver=1.4.6-1;arch=powerpc;stamp=1178091064

It succeeded on other archs:
http://buildd.debian.org/pkg.cgi?pkg=libcairo
Comment 1 Chris Wilson 2008-01-15 02:36:13 UTC
I've compile checked the various releases [1.4.4-10] on powerpc/sid and could not reproduce this issue. Since buildd also seems happy with the current package, I'm inclined to believe that this was an issue with the compiler toolchain that has since been resolved.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.