Re: Build issues with gettext 0.20.2 and 0.21 on Solaris 10 i386 with 64 bit

2020-12-09 Thread Bruno Haible
Hi Dagobert, > > I have submitted a patch to improve the Autoconf documentation on this > > topic: > > . > > I vaguely remember that I had problems in the past by putting anything else > than the compiler executable path in CC when also libtool was invol

Re: Build issues with gettext 0.20.2 and 0.21 on Solaris 10 i386 with 64 bit

2020-12-09 Thread Dagobert Michelsen
Hi Bruno, Am 01.12.2020 um 23:13 schrieb Bruno Haible : >> Nope, neither —host nor —cache-file, but what differs is that I pass -m64 in >> CFLAGS >> and not as part of CC. > > I see. > > I have submitted a patch to improve the Autoconf documentation on this topic: >

Re: Build issues with gettext 0.20.2 and 0.21 on Solaris 10 i386 with 64 bit

2020-12-01 Thread Tim Rice
On Tue, 1 Dec 2020, Jeffrey Walton wrote: > On Tue, Dec 1, 2020 at 3:15 PM Dagobert Michelsen wrote: > > > > 'CC=/opt/csw/bin/gcc-5.5' 'CFLAGS=-O2 -pipe -fno-omit-frame-pointer -m64 > > -march=opteron' 'LDFLAGS=-m64 -march=opteron -L/opt/csw/lib/64' > > 'CPPFLAGS=-I/opt/csw/include' 'CXX=/opt/c

Re: Build issues with gettext 0.20.2 and 0.21 on Solaris 10 i386 with 64 bit

2020-12-01 Thread Jeffrey Walton
On Tue, Dec 1, 2020 at 3:15 PM Dagobert Michelsen wrote: > > Hi Bruno, > > Am 01.12.2020 um 20:46 schrieb Bruno Haible : > > But the $host_cpu value from the canonical triplet $host allows to do so. > > This is the triplet I get for my 64 bit build: > > checking build system type... i386-pc-solari

Re: Build issues with gettext 0.20.2 and 0.21 on Solaris 10 i386 with 64 bit

2020-12-01 Thread Bruno Haible
Hi Dagobert, > > And this code works fine. I verified this: > > - on a Solaris 10 machine: > > CC="cc -O", CC="gcc -O2" -> HOST_CPU="i386" > > CC="cc -xarch=generic64 -O", CC="gcc -m64 -O2" -> HOST_CPU="x86_64" > > - on a Solaris 11.4 machine: > > CC="gcc -m3

Re: Build issues with gettext 0.20.2 and 0.21 on Solaris 10 i386 with 64 bit

2020-12-01 Thread Dagobert Michelsen
Hi Bruno, Am 01.12.2020 um 20:46 schrieb Bruno Haible : > But the $host_cpu value from the canonical triplet $host allows to do so. This is the triplet I get for my 64 bit build: checking build system type... i386-pc-solaris2.10 checking host system type... i386-pc-solaris2.10 These are the fla

Re: Build issues with gettext 0.20.2 and 0.21 on Solaris 10 i386 with 64 bit

2020-12-01 Thread Bruno Haible
PS: > config.guess contains logic to determine the bitness by invoking the compiler: This code is present in config.guess since 2018-12-21. Between 2018-07-18 and 2018-12-21, this part of config.guess was buggy [1]. But it isn't any more. Bruno [1] https://lists.gnu.org/archive/html/config-patch

Re: Build issues with gettext 0.20.2 and 0.21 on Solaris 10 i386 with 64 bit

2020-12-01 Thread Bruno Haible
Hi Dagobert, > I finally found the issue: gettext after 0.20.1 uses a more recent version of > gnulib > with linker ABI check located in host-cpu-c-abi.m4. This ABI check was not > present > up until gettext 0.20.1 hence compilation for amd64 worked. Yes, this ABI check is there to avoid that w

Re: Build issues with gettext 0.20.2 and 0.21 on Solaris 10 i386 with 64 bit

2020-12-01 Thread Dagobert Michelsen
Hi Bruno, Am 22.11.2020 um 12:22 schrieb Dagobert Michelsen : > Am 17.11.2020 um 22:55 schrieb Bruno Haible : >>> I am currently trying to compile the most recent gettext on Solaris 10 and >>> found an issue. >>> The error shows on Solaris 10 i386 64 bit only, sparc and i386 32 bit are >>> not a

Re: Build issues with gettext 0.20.2 and 0.21 on Solaris 10 i386 with 64 bit

2020-11-22 Thread Dagobert Michelsen
Hi Bruno, Am 17.11.2020 um 22:55 schrieb Bruno Haible : >> I am currently trying to compile the most recent gettext on Solaris 10 and >> found an issue. >> The error shows on Solaris 10 i386 64 bit only, sparc and i386 32 bit are >> not affected: >> >> gmake[4]: Entering directory >> '/home/da