Compile error glib2


I tried to compile glib2 for an i386 cpu on centos x86_64 system.

That does not work, because i get a compile error.

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -fno-strict-aliasing -MT gasyncqueue.lo -MD -MP -MF .deps/gasyncqueue.Tpo -c gasyncqueue.c -fPIC -DPIC -o .libs/gasyncqueue.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -fno-strict-aliasing -MT gasyncqueue.lo -MD -MP -MF .deps/gasyncqueue.Tpo -c gasyncqueue.c -o gasyncqueue.o >/dev/null 2>&1 if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -fno-strict-aliasing -MT gatomic.lo -MD -MP -MF ".deps/gatomic.Tpo" \
     -c -o gatomic.lo `test -f 'gatomic.c' || echo './'`gatomic.c; \
   then mv -f ".deps/gatomic.Tpo" ".deps/gatomic.Plo"; \
   else rm -f ".deps/gatomic.Tpo"; exit 1; \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -fno-strict-aliasing -MT gatomic.lo -MD -MP -MF .deps/gatomic.Tpo -c gatomic.c -fPIC -DPIC -o .libs/gatomic.o
{standard input}: Assembler messages:
{standard input}:119: Error: suffix or operands invalid for `cmpxchg'
make[4]: *** [gatomic.lo] Error 1
make[4]: Leaving directory `/root/buildhost/'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/buildhost/'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/buildhost/'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/buildhost/'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.46822 (%build)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]