[php-src] PR #18779: Fix GH-18743: Incompatibility in Inline TLS Assembly on Alpine 3.22
| From: | nielsdos | Date: | Thu, 05 Jun 2025 17:51:15 +0000 |
| Subject: | [php-src] PR #18779: Fix GH-18743: Incompatibility in Inline TLS Assembly on Alpine 3.22 | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-31982@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18779
Author: nielsdos
GAS started checking the relocation for tlsgd: it must use the %rdi register. However, the inline
assembly now uses %rax instead. This causes a build failure. Fix it by changing the "=a"
output register to "=D". Source: https://github.com/bminor/binutils-gdb/blob/ec181e1710e37007a8d95c284609bfaa5868d086/gas/config/tc-i386.c#L6793
gottpoff is unaffected.