|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull Requests
Pull requests: 
 HistoryAllCommentsChangesGit/SVN commits              [2019-02-28 03:51 UTC] 
  [2019-03-01 13:52 UTC] nikic@php.net
  [2019-03-01 13:52 UTC] nikic@php.net
 
-Status: Open
+Status: Closed
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 18:00:01 2025 UTC | 
Description: ------------ WCOREDUMP is actually a macro on Linux and other systems, but since it was undefined at compile time the compiler implicitly defined it: /QOpenSys/home/rpmbuild/rpmbuild/BUILD/php-7.3.1/sapi/fpm/fpm/fpm_children.c:210:28: warning: implicit declaration of function 'WCOREDUMP' [-Wimplicit-function-declaration] const char *have_core = WCOREDUMP(status) ? " - core dumped" : ""; ^~~~~~~~~ This leads to an eventual linker error due to the missing symbol: ld: 0711-317 ERROR: Undefined symbol: .WCOREDUMP ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. According to the Linux man page, WCOREDUMP should be gated by an #ifdef WCOREDUMP(status) returns true if the child produced a core dump. This macro should only be employed if WIFSIGNALED returned true. This macro is not specified in POSIX.1-2001 and is not available on some UNIX implementations (e.g., AIX, SunOS). Only use this enclosed in #ifdef WCOREDUMP ... #endif