[BUG pixman] f9c91ee2f27eaea68d8c3a130bf7d4bc0c860834 breaks compilation

Knut Petersen Knut_Petersen at t-online.de
Sun Jul 8 22:55:56 PDT 2012


On an openSuSE 12.1 system building of pixman fails since
commit f9c91ee2f27eaea68d8c3a130bf7d4bc0c860834:


GNU C (SUSE Linux) version 4.6.2 (i586-suse-linux)
         compiled by GNU C version 4.6.2, GMP version 5.0.2, MPFR version 3.0.1, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: c1c087d0815fa380e08eb5c7903e5951
pixman-mmx.c: In function 'expand_alpha':
pixman-mmx.c:318:5: warning: implicit declaration of function '__builtin_ia32_pshufw' [-Wimplicit-function-declaration]
pixman-mmx.c:318:5: error: can't convert between vector values of different size
pixman-mmx.c: In function 'expand_alpha_rev':
pixman-mmx.c:324:5: error: can't convert between vector values of different size
pixman-mmx.c: In function 'invert_colors':
pixman-mmx.c:330:5: error: can't convert between vector values of different size
pixman-mmx.c: In function 'pack_4xpacked565':
pixman-mmx.c:645:5: error: can't convert between vector values of different size
pixman-mmx.c: In function 'expand_alpha_rev':
pixman-mmx.c:325:1: warning: control reaches end of non-void function [-Wreturn-type]
pixman-mmx.c: In function 'expand_alpha':
pixman-mmx.c:319:1: warning: control reaches end of non-void function [-Wreturn-type]
pixman-mmx.c: In function 'pack_4xpacked565':
pixman-mmx.c:647:1: warning: control reaches end of non-void function [-Wreturn-type]
pixman-mmx.c: In function 'invert_colors':
pixman-mmx.c:331:1: warning: control reaches end of non-void function [-Wreturn-type]
make[3]: *** [libpixman_mmx_la-pixman-mmx.lo] Fehler 1


Søren, the bad commit was supposed to fix a gcc -O0 compile problem, but it breaks
gcc -O0 compilation here. Reverting f9c91ee2 fixes the problem for me.


Build script:
=========

wol -h 192.168.22.255 00:01:80:62:cf:b1

export MYROOT=/home/knut/git/X11-u
export PREFIX=$MYROOT/usr
export EPREFIX=$PREFIX
export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig
export PATH=$PREFIX/bin:$PATH
export ACLOCAL="aclocal -I $PREFIX/share/aclocal"
export LD_LIBRARY_PATH=$PREFIX/lib
export PYTHONPATH=$PREFIX/lib/python2.7/site-packages


export MAKEFLAGS="-j 15"
export GMAKEFLAGS="-j 15"
export CC=/opt/icecream/bin/gcc
export CXX=/opt/icecream/bin/g++

export CFLAGS="-g3 -O0 --verbose -D MULTITOUCH"
export CXXFLAGS="-g3 -O0 "

export LD_PRELOAD=

cd /home/knut/git

util/modular/build.sh $PREFIX --modfile modules_to_build -a -n --cmd "git reset --hard"
util/modular/build.sh $PREFIX --modfile modules_to_build -a -n --cmd "git clean -dfx"
rm -rf $MYROOT
mkdir -p $PREFIX/usr
util/modular/build.sh $PREFIX --modfile modules_to_build -a -n --cmd "git log -n 1 --pretty=oneline" &> $PREFIX/../versions

cd mtdev-1.1.2
./configure --prefix=$PREFIX
make
make install
cd ..

export LD_PRELOAD=$PREFIX/lib/libmtdev.so

util/modular/build.sh  -g $PREFIX \
    --autoresume built-modules.txt \
    --modfile modules_to_build \
    --confflags " \
    --enable-kdrive \
    --with-dri-drivers=i915 \
    --with-gallium-drivers=i915 \
    --disable-gallium \
    --disable-radeon \
    --enable-gles1 \
    --enable-gles2 \
    --disable-docs \
    --disable-devel-docs \
    --disable-specs \
    --localstatedir=$MYROOT/var \
      --enable-config-dbus \
      --with-serverconfig-path=$PREFIX/share/X11/xorg.conf.d \
    "


cu,
  Knut




More information about the xorg-devel mailing list