Bug #70641 [Com]: Compile fails for ext/standard/random.c

From: Date: Tue, 06 Oct 2015 11:28:09 +0000
Subject: Bug #70641 [Com]: Compile fails for ext/standard/random.c
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-196424@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70641&edit=1 ID: 70641 Comment by: jimmyjzhang at tencent dot com Reported by: sascha dot pfalz at ivz dot de Summary: Compile fails for ext/standard/random.c Status: Closed Type: Bug Package: Compile Failure Operating System: RHEL 5.7 PHP Version: 7.0.0RC4 Block user comment: N Private report: N New Comment: just modify random.c and add <linux/types.h> would fix this bug Previous Comments: ------------------------------------------------------------------------ [2015-10-05 23:03:48] bwoebi@php.net Automatic comment on behalf of scott@paragonie.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=63617a678f51d07d7e1843221afffe9a8b31c624 Log: Fixed bug #70641 (Random_* - Better compatibility on Linux distros) ------------------------------------------------------------------------ [2015-10-05 23:03:11] bwoebi@php.net Automatic comment on behalf of scott@paragonie.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=63617a678f51d07d7e1843221afffe9a8b31c624 Log: Fixed bug #70641 (Random_* - Better compatibility on Linux distros) ------------------------------------------------------------------------ [2015-10-05 15:41:22] security at paragonie dot com https://github.com/php/php-src/pull/1550 This should address compatibility issues. ------------------------------------------------------------------------ [2015-10-05 15:15:20] tyrael@php.net usually you can repro rhel specific problems on centos too. ------------------------------------------------------------------------ [2015-10-05 15:15:10] security at paragonie dot com https://github.com/torvalds/linux/blob/master/include/linux/random.h https://github.com/torvalds/linux/blob/master/drivers/gpu/drm/vmwgfx/device_include/vm_basic_types.h#L5 Actually, it looks like this header file isn't at all necessary for getrandom(2). ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=70641 -- Edit this bug report at https://bugs.php.net/bug.php?id=70641&edit=1

« previous php.bugs (#196424) next »