Req #75940 [Opn]: Unnecessary compile wrapper with PHP_THREAD_SAFETY=yes

From: Date: Thu, 08 Feb 2018 21:50:00 +0000
Subject: Req #75940 [Opn]: Unnecessary compile wrapper with PHP_THREAD_SAFETY=yes
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-213877@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75940&edit=1 ID: 75940 User updated by: jdolecek at NetBSD dot org Reported by: jdolecek at NetBSD dot org Summary: Unnecessary compile wrapper with PHP_THREAD_SAFETY=yes Status: Open Type: Feature/Change Request Package: *Compile Issues Operating System: NetBSD, pkgsrc PHP Version: 7.2.2 Block user comment: N Private report: N New Comment: The last sentence should have been "The wrapper code shouldn't really be relevant any more" Previous Comments: ------------------------------------------------------------------------ [2018-02-08 21:47:32] jdolecek at NetBSD dot org Description: ------------ NetBSD package system pkgsrc maintains several patches, which we'd like to feed upstream. This is one of them. If PHP_THREADS_SAFETY is enabled, and there are some pthread flags to add, configure script creates a meta_ccld wrapper and changes compiler to that. It's way simpler to simply adjust CPPFLAGS, and it also help builds which use compiler wrappers, since they don't know how to deal with 'meta_ccld'. The wrapper code was added in 2000-03-18 in rev 827ad656cb2, apparently to defeat libtool. The patch shouldn't be really relevant any more. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=75940&edit=1

« previous php.bugs (#213877) next »