Compiling glib on AIX



Hello,

I'm trying to compile irssi on an AIX machine and it depends on glib. Glib passes the configure checks just fine, but fails pretty spectacularly when I go to 'make' it. Below is a snippet of the failure:

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -g -O2 -Wall -c garray.c -Wp,-MD,.deps/garray.TPlo  -DPIC -o .libs/garray.o


source='gasyncqueue.c' object='gasyncqueue.lo' libtool=yes depfile='.deps/gasyncqueue.Plo' tmpdepfile='.deps/gasyncqueue.TPlo' depmode=gcc /bin/sh ../depcomp /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 -g -O2 -Wall -c -o
gasyncqueue.lo `test -f 'gasyncqueue.c' || echo './'`gasyncqueue.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -g -O2 -Wall -c
gasyncqueue.c -Wp,-MD,.deps/gasyncqueue.TPlo -DPIC -o .libs/gasyncqueue.o
source='gatomic.c' object='gatomic.lo' libtool=yes depfile='.deps/gatomic.Plo' tmpdepfile='.deps/gatomic.TPlo' depmode=gcc /bin/sh ../depcomp /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 -g -O2 -Wall -c -o
gatomic.lo `test -f 'gatomic.c' || echo './'`gatomic.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -g -O2 -Wall -c
gatomic.c -Wp,-MD,.deps/gatomic.TPlo -DPIC -o .libs/gatomic.o
Assembler:
/tmp/ccEj5IBM.s: line 287: Error In Syntax
/tmp/ccEj5IBM.s: line 287: Instruction lwarx is not implemented in the current assembly mode COM.

/tmp/ccEj5IBM.s: line 287: Error In Syntax
/tmp/ccEj5IBM.s: line 289: Instruction stwcx. is not implemented in the current assembly mode COM.
/tmp/ccEj5IBM.s: line 290: Error In Syntax
/tmp/ccEj5IBM.s: line 323: Error In Syntax

/tmp/ccEj5IBM.s: line 323: Instruction lwarx is not implemented in the current assembly mode COM.
/tmp/ccEj5IBM.s: line 323: Error In Syntax
/tmp/ccEj5IBM.s: line 325: Instruction stwcx. is not implemented in the current assembly mode COM.

/tmp/ccEj5IBM.s: line 326: Error In Syntax
/tmp/ccEj5IBM.s: line 358: Error In Syntax
/tmp/ccEj5IBM.s: line 358: Instruction lwarx is not implemented in the current assembly mode COM.
/tmp/ccEj5IBM.s: line 358: Error In Syntax

/tmp/ccEj5IBM.s: line 359: Instruction subf. is not implemented in the current assembly mode COM.
/tmp/ccEj5IBM.s: line 360: Error In Syntax
/tmp/ccEj5IBM.s: line 361: Instruction stwcx. is not implemented in the current assembly mode COM.

/tmp/ccEj5IBM.s: line 362: Error In Syntax
/tmp/ccEj5IBM.s: line 363: Error In Syntax
/tmp/ccEj5IBM.s: line 399: Error In Syntax
/tmp/ccEj5IBM.s: line 399: Instruction lwarx is not implemented in the current assembly mode COM.

/tmp/ccEj5IBM.s: line 399: Error In Syntax
/tmp/ccEj5IBM.s: line 400: Instruction subf. is not implemented in the current assembly mode COM.
/tmp/ccEj5IBM.s: line 401: Error In Syntax
/tmp/ccEj5IBM.s: line 402: Instruction stwcx. is not implemented in the current assembly mode COM.

/tmp/ccEj5IBM.s: line 403: Error In Syntax
/tmp/ccEj5IBM.s: line 404: Error In Syntax
make: The error code from the last command is 1.


Stop.
make: The error code from the last command is 1.


Stop.
make: The error code from the last command is 2.


Stop.
make: The error code from the last command is 1.


Stop.
make: The error code from the last command is 2.


Stop.
This is glib-2.8.6 - I am unable to compile the latest version either for the same reasons. This is an error that I've never encountered before and I'm not sure where to turn.

My ultimate goal would be to get irssi compiled on AIX, so if anyone has any shortcuts that would allow me to sidestep this problem, that would be great.

Thanks.


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