Bug 24388 - Assembler error building libffi
Summary: Assembler error building libffi
Status: RESOLVED WONTFIX
Alias: None
Product: gcc
Classification: Unclassified
Component: libffi (show other bugs)
Version: 4.0.2
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-15 19:44 UTC by The Written Word
Modified: 2005-10-16 20:21 UTC (History)
1 user (show)

See Also:
Host:
Target: powerpc-ibm-aix5.3.0.0
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description The Written Word 2005-10-15 19:44:04 UTC
$ oslevel -r
5300-02
$ /opt/TWWfsw/gcc343/bin/gcc -v
Reading specs from /opt/TWWfsw/gcc343/lib/gcc/powerpc-ibm-aix5.3.0.0/3.4.3/specs
Configured with: /opt/build/gcc-3.4.3/configure --enable-nls --with-included-gettext --enable-shared --enable-threads --prefix=/opt/TWWfsw/gcc343 --with-local-prefix=/opt/TWWfsw/gcc343
Thread model: aix
gcc version 3.4.3 (TWW)

$ cd /opt/build
$ gtar jxf /opt/src/devel/gcc-4.0.2/src/gcc-4.0.2.tar.bz2
$ mkdir gcc
$ cd gcc
$ CC=/opt/TWWfsw/gcc343/bin/gcc CONFIG_SHELL=/opt/fsw/bash30/bin/bash \
/opt/fsw/bash30/bin/bash /opt/build/gcc-4.0.2/configure --enable-nls \
--with-included-gettext --enable-libgcj --enable-shared --enable-threads \
--with-gmp=/opt/TWWfsw/libgmp41 --with-mpfr=/opt/TWWfsw/libmpfr22 \
--enable-languages="c,c++,f95,java"
$ CONFIG_SHELL=/opt/fsw/bash30/bin/bash gmake bootstrap
...
/opt/fsw/bash30/bin/bash ./libtool --mode=compile /opt/build/gcc/gcc/xgcc -B/opt/build/gcc/gcc/ -B/usr/local/powerpc-ibm-aix5.3.0.0/bin/ -B/usr/local/powerpc-ibm-aix5.3.0.0/lib/ -isystem /usr/local/powerpc-ibm-aix5.3.0.0/include -isystem /usr/local/powerpc-ibm-aix5.3.0.0/sys-include  -maix64 -I. -I/opt/build/gcc-4.0.2/libffi/include -Iinclude -I/opt/build/gcc-4.0.2/libffi/src -O2 -g -O2 -c -o src/powerpc/aix.lo /opt/build/gcc-4.0.2/libffi/src/powerpc/aix.S /opt/build/gcc/gcc/xgcc -B/opt/build/gcc/gcc/ -B/usr/local/powerpc-ibm-aix5.3.0.0/bin/ -B/usr/local/powerpc-ibm-aix5.3.0.0/lib/ -isystem /usr/local/powerpc-ibm-aix5.3.0.0/include -isystem /usr/local/powerpc-ibm-aix5.3.0.0/sys-include -maix64 -I. -I/opt/build/gcc-4.0.2/libffi/include -Iinclude -I/opt/build/gcc-4.0.2/libffi/src -O2 -g -O2 -c /opt/build/gcc-4.0.2/libffi/src/powerpc/aix.S   -DPIC -o src/powerpc/.libs/aix.o 
Assembler:
/tmp//ccHdtCyr.s: line 84: Only .llong should be used for relocatable expressions.
/tmp//ccHdtCyr.s: line 204: Only .llong should be used for relocatable expressions.
gmake[8]: *** [src/powerpc/aix.lo] Error 1
gmake[8]: Leaving directory `/opt/build/gcc/powerpc-ibm-aix5.3.0.0/ppc64/libffi
gmake[7]: *** [all-recursive] Error 1

This error also occurs on AIX 5.1 and 5.2.
Comment 1 David Edelsohn 2005-10-16 20:21:31 UTC
Java is not supported on AIX.  Don't do that.