Bug 10835 - cairo directfb powerpc build fails - operand out of range in cairo-bentley-ottmann.c
Summary: cairo directfb powerpc build fails - operand out of range in cairo-bentley-ot...
Status: RESOLVED NOTOURBUG
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.4.6
Hardware: Other All
: medium normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-02 07:25 UTC by Dave Beckett
Modified: 2008-01-15 02:36 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.