#11 beecrypt-4.1.2 build on AIX 64bit fails on assembler code

open
nobody
None
5
2007-02-18
2007-02-18
Frank Fegert
No

beecrypt-4.1.2 build fails to build 64bit libs on AIX 5.x at assembler code blowfishopt.s and mpopt.s:

<path-to-bash> ./libtool --mode=compile --tag=CC gcc -maix64 -DHAVE_CONFIG_H -I. -I. -I. -I./.. -DOPTIMIZE_POWERPC -O2 -fsigned-char -D_LARGE_FILES -D_LARGE_FILES -fsigned-char -DNDEBUG -fomit-frame-pointer -c -o blowfishopt.lo `test -f blowfishopt.s || echo './'`blowfishopt.s
gcc -maix64 -DHAVE_CONFIG_H -I. -I. -I. -I./.. -DOPTIMIZE_POWERPC -O2 -fsigned-char -D_LARGE_FILES -D_LARGE_FILES -fsigned-char -DNDEBUG -fomit-frame-pointer -c blowfishopt.s -o blowfishopt.o
Assembler:
blowfishopt.s: line 103: Only .llong should be used for relocatable expressions.
blowfishopt.s: line 103: Only .llong should be used for relocatable expressions.
blowfishopt.s: line 402: Only .llong should be used for relocatable expressions.
blowfishopt.s: line 402: Only .llong should be used for relocatable expressions.

<path-to-bash> ./libtool --mode=compile --tag=CC gcc -maix64 -DHAVE_CONFIG_H -I. -I. -I. -I./.. -DOPTIMIZE_POWERPC -O2 -fsigned-char -fsigned-char -DNDEBUG -fomit-frame-pointer -c -o mpopt.lo `test -f mpopt.s || echo'./'`mpopt.s
gcc -maix64 -DHAVE_CONFIG_H -I. -I. -I. -I./.. -DOPTIMIZE_POWERPC -O2 -fsigned-char -fsigned-char -DNDEBUG -fomit-frame-pointer -c mpopt.s -o mpopt.o
Assembler:
mpopt.s: line 97: Only .llong should be used for relocatable expressions.
mpopt.s: line 97: Only .llong should be used for relocatable expressions.
mpopt.s: line 127: Only .llong should be used for relocatable expressions.
mpopt.s: line 127: Only .llong should be used for relocatable expressions.
mpopt.s: line 158: Only .llong should be used for relocatable expressions.
mpopt.s: line 158: Only .llong should be used for relocatable expressions.
mpopt.s: line 191: Only .llong should be used for relocatable expressions.
mpopt.s: line 191: Only .llong should be used for relocatable expressions.
mpopt.s: line 225: Only .llong should be used for relocatable expressions.
mpopt.s: line 225: Only .llong should be used for relocatable expressions.
mpopt.s: line 255: Only .llong should be used for relocatable expressions.
mpopt.s: line 255: Only .llong should be used for relocatable expressions.
mpopt.s: line 283: Only .llong should be used for relocatable expressions.
mpopt.s: line 283: Only .llong should be used for relocatable expressions.
mpopt.s: line 314: Only .llong should be used for relocatable expressions.
mpopt.s: line 314: Only .llong should be used for relocatable expressions.

This is with gcc-4.1.1, OBJECT_MODE=64 and AIX "as" NOT "gas". Is this related to the BUGS-file entry: "* PowerPC 64-bit assembler symbols aren't defined according to LSB 1.3."? And if so, is there a way to resolve this? Sorry, i'm no assembler wizard ;-)

Discussion