cannot build libgpg-error-1.36 on Solaris 10

NIIBE Yutaka gniibe at fsij.org
Tue Jan 7 08:24:51 CET 2020


Hello,

Bruno Haible wrote:
> Building libgpg-error-1.36 on Solaris 10 with cc (CC="cc -xarch=generic64 -O")
> fails like this:
[...]
> cc -xarch=generic64 -O -g -O0 -I. -I../../src -o mkheader ../../src/mkheader.c
> cc: Warning: option -0 passed to ld
> ld: fatal: unrecognized option '-0'
> ld: fatal: use the -z help option for usage information
> *** Error code 1
> make: Fatal error: Command failed for target `mkheader'
>
> The option -O0 is only understood by GCC and compatible compilers.

Thanks.  I just pushed the change to master.

> The test then fails, though:
>
> Making check in src
> make  check-am
> make  check-TESTS
> ./../../src/gpg-error-config-test.sh: bad substitution
> FAIL: ../../src/gpg-error-config-test.sh
> =======================================
> 1 of 1 test failed
> Please report to https://bugs.gnupg.org
> =======================================
> *** Error code 1
>
> That's because /bin/sh on this platform is not POSIX compliant.

This part was fixed in:

    https://dev.gnupg.org/T4574
-- 



More information about the Gnupg-devel mailing list