From:             mbecc...@php.net
Operating system: NetBSD 5
PHP version:      5.3CVS-2009-03-31 (CVS)
PHP Bug Type:     Compile Failure
Bug description:  Compilation failure in zend_alloc.c

Description:
------------
NetBSD 5 introduced mremap() but the signature is different from what we
expect.

>From man remap:

COMPATIBILITY
     The semantics of mremap() differ from the one provided by glibc on
Linux
     in that the newp argument was added and a different set of flags are
     implemented.


A patch is available here:
http://www.beccati.com/misc/php/zend_alloc_netbsd.diff

NetBSD 4 compiles without any problem because mremap is not available.


-- 
Edit bug report at http://bugs.php.net/?id=47852&edit=1
-- 
Try a CVS snapshot (PHP 5.2):        
http://bugs.php.net/fix.php?id=47852&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):        
http://bugs.php.net/fix.php?id=47852&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):        
http://bugs.php.net/fix.php?id=47852&r=trysnapshot60
Fixed in CVS:                        
http://bugs.php.net/fix.php?id=47852&r=fixedcvs
Fixed in CVS and need be documented: 
http://bugs.php.net/fix.php?id=47852&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=47852&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=47852&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=47852&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=47852&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=47852&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=47852&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=47852&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=47852&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=47852&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=47852&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=47852&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=47852&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=47852&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=47852&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=47852&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=47852&r=mysqlcfg

Reply via email to