|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72665 mysqlnd_ms wont compile on FreeBSD
Submitted: 2016-07-24 20:49 UTC Modified: 2017-10-24 04:28 UTC
From: michiel at vanbaak dot eu Assigned:
Status: Suspended Package: mysqlnd_ms (PECL)
PHP Version: 5.6.24 OS: FreeBSD 10.3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: michiel at vanbaak dot eu
New email:
PHP Version: OS:


 [2016-07-24 20:49 UTC] michiel at vanbaak dot eu
The code includes 'alloca.h' which is not present on *BSD systems.

root@insided_dev:~/mysqlnd_ms # make
/bin/sh /root/mysqlnd_ms/libtool --mode=compile cc  -I. -I/root/mysqlnd_ms -DPHP_ATOM_INC -I/root/mysqlnd_ms/include -I/root/mysqlnd_ms/main -I/root/mysqlnd_ms -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include/libxml2  -DHAVE_CONFIG_H  -g -O2   -c /root/mysqlnd_ms/fabric/mysqlnd_fabric_strategy_dump.c -o fabric/mysqlnd_fabric_strategy_dump.lo
 cc -I. -I/root/mysqlnd_ms -DPHP_ATOM_INC -I/root/mysqlnd_ms/include -I/root/mysqlnd_ms/main -I/root/mysqlnd_ms -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include/libxml2 -DHAVE_CONFIG_H -g -O2 -c /root/mysqlnd_ms/fabric/mysqlnd_fabric_strategy_dump.c-fPIC -DPIC -o fabric/.libs/mysqlnd_fabric_strategy_dump.o
/root/mysqlnd_ms/fabric/mysqlnd_fabric_strategy_dump.c:20:10: fatal error: 'alloca.h' file not found
#include <alloca.h>
1 error generated.
*** Error code 1

make: stopped in /root/mysqlnd_ms


72665-check-alloca.diff (last revision 2016-07-24 22:26 UTC by michiel at vanbaak dot eu)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-10-24 04:28 UTC]
-Status: Open +Status: Suspended
 [2017-10-24 04:28 UTC]
I'm gonna suspend this report as the mysqlnd_ms had not a release since 2013 or active commit activity since then, if activity comes back to this package, it should be re-opened
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Mar 05 10:01:24 2021 UTC