[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [platform-testers] groff 1.23.0.rc3 on AIX
From: |
G. Branden Robinson |
Subject: |
Re: [platform-testers] groff 1.23.0.rc3 on AIX |
Date: |
Mon, 6 Mar 2023 07:50:44 -0600 |
Hi Bruno,
First, thanks for your tremendous help with portability testing!
At 2023-03-06T01:32:17+0100, Bruno Haible wrote:
> 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.
[...]
Ah, I saw a possibly related problem on Solaris 10 myself. On the host
I was using (gcc210.fsffrance.org), I had to build with "AR=gar
PATH=/usr/xpg4/bin:$PATH". But maybe I wouldn't have needed the $AR
variable if your patch had already been applied.
> 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.
Thank you!
Regards,
Branden
signature.asc
Description: PGP signature