[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [platform-testers] groff 1.23.0.rc3 on AIX
From: |
Bruno Haible |
Subject: |
Re: [platform-testers] groff 1.23.0.rc3 on AIX |
Date: |
Mon, 06 Mar 2023 01:32:17 +0100 |
On AIX 7.2, for a 64-bit build, the environment variable AR needs to be set
to 'ar -X 64', see
https://gitlab.com/ghwiki/gnow-how/-/wikis/Platforms/Configuration .
This is what I have done, and nevertheless the groff build fails:
$ make
...
GEN src/utils/lookbib/lookbib.1
make all-am
AR libdriver.a
ar: 0707-126 src/libs/libdriver/input.o is not valid with the current object
file mode.
Use the -X option to specify the desired object mode.
ar: 0707-126 src/libs/libdriver/printer.o is not valid with the current object
file mode.
Use the -X option to specify the desired object mode.
make: 1254-004 The error code from the last command is 2.
Passing V=1 to see the details:
$ make V=1
make all-am
rm -f libdriver.a
ar cr libdriver.a src/libs/libdriver/input.o
src/libs/libdriver/printer.o
ar: 0707-126 src/libs/libdriver/input.o is not valid with the current object
file mode.
Use the -X option to specify the desired object mode.
ar: 0707-126 src/libs/libdriver/printer.o is not valid with the current object
file mode.
Use the -X option to specify the desired object mode.
make: 1254-004 The error code from the last command is 2.
This is caused by the line in Makefile.am:
AR=ar
config.status contains the correct value:
S["AR"]="ar -X 64"
The attached patch will fix it.
0001-build-Fix-build-failure-on-AIX-in-64-bit-mode.patch
Description: Text Data
- Re: [platform-testers] groff 1.23.0.rc3 on AIX,
Bruno Haible <=