[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-libunistring] Early Darwin and FAIL: test-float
From: |
Bruno Haible |
Subject: |
Re: [bug-libunistring] Early Darwin and FAIL: test-float |
Date: |
Sun, 05 May 2019 10:42:38 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-145-generic; KDE/5.18.0; x86_64; ; ) |
Hi Jeffrey,
> I still test software on OS X 10.5
> with a PowerPC chip. The PowerPC chip is big-endian, so it is an easy
> way to test for le/be issues. The machine also has GCC 4.0.1 and an
> Apple linker that can cause trouble.
>
> Unistring 0.9.10 is failing one self test during 'make check'. The
> other 500+ tests are OK.
>
> PASS: test-fdopen
> PASS: test-fgetc
> ../build-aux/test-driver: line 107: 85873 Abort trap "$@"
> > $log_file 2>&1
> FAIL: test-float
Thanks for the report.
This platform (Mac OS X 10.5) is quite old [1], and already Mac OS X 10.11
is end-of-life. This test-float failure indicates a problem only with
'long double's, which are hardly used in libunistring (only in the *printf
routines). Therefore I won't spend time investigating it or providing a
workaround (most likely: define LDBL_MAX differently).
Bruno
[1] https://en.wikipedia.org/wiki/MacOS#Release_history