[php-src] Issue #11095: (8.2.5) FreeBSD: Failed to compile from source due to ieeefp.h
| From: | JacobsonLantern | Date: | Mon, 17 Apr 2023 16:08:26 +0000 |
| Subject: | [php-src] Issue #11095: (8.2.5) FreeBSD: Failed to compile from source due to ieeefp.h | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-244220@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/11095
Author: JacobsonLantern
### Description
When building PHP 8.2.5 from source in FreeBSD 13.1-RELEASE-p6 GENERIC amd64 in this config:
./configure --enable-fpm --with-pdo-pgsql --with-pgsql --with-zlib --with-openssl
--with-openssl-dir=/usr/local/openssl --with-password-argon2 --enable-werror
--enable-address-sanitizer --enable-undefined-sanitizer --enable-zts
it failed to compile at ieeefp.h, saying:
```
Generating phar.phar
This sanitizer is not compatible with enabled ASLR and binaries compiled with PIE
ASLR will be disabled and the program re-executed.
/usr/include/machine/ieeefp.h:260:17: runtime error: left shift of negative value -1
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /usr/include/machine/ieeefp.h:260:17 in
*** Error code 1
Stop.
```
Did I miss something, or is it a bug? Thank you
### PHP Version
PHP 8.2.5
### Operating System
FreeBSD 13.1-RELEASE-p6 GENERIC amd64