From:             mamfelt at gmail dot com
Operating system: AIX
PHP version:      5.4.4
Package:          Compile Failure
Bug Type:         Bug
Bug description:compile failure: (S) Arguments missing for built-in function 
__memcmp.

Description:
------------
./configure with minimal arguments completes, make fails

same error with CFLAGS='-O2 -qlanglvl=extc89 -qcpluscmt'

IBM compiler - vac.C version 11, AIX 6.1 TL6 and 7

See last lines of results for Syntax errors

Test script:
---------------
NAME: php
VERSION.RELEASE: 5.4.4.0
CFLAGS=-O2 -qlanglvl=extc99
./configure \ 
        --prefix=/opt \ 
        --sysconfdir=/etc \ 
        --mandir=/usr/share/man \ 
                > build/aix/configure.out

make

Expected result:
----------------
that make completes.

Actual result:
--------------
make > build/aix/make.out
    1500-030: (I) INFORMATION: scan: Additional optimization may be
attained by recompiling and specifying MAXMEM option with a value greater
than 8192.
"/usr/include/math.h", line 122.9: 1506-236 (W) Macro name INFINITY has
been redefined.
"/usr/include/math.h", line 122.9: 1506-358 (I) "INFINITY" is defined on
line 8 of /data/prj/php-5.4.4/ext/ereg/regex/utils.h.
    1500-030: (I) INFORMATION: match: Additional optimization may be
attained by recompiling and specifying MAXMEM option with a value greater
than 8192.
    1500-030: (I) INFORMATION: codeOneLoopStart: Additional optimization
may be attained by recompiling and specifying MAXMEM option with a value
greater than 8192.
    1500-030: (I) INFORMATION: zm_startup_dom: Additional optimization may
be attained by recompiling and specifying MAXMEM option with a value
greater than 8192.
    1500-030: (I) INFORMATION: RIPEMD128Transform: Additional optimization
may be attained by recompiling and specifying MAXMEM option with a value
greater than 8192.
    1500-030: (I) INFORMATION: TigerFinalize: Additional optimization may
be attained by recompiling and specifying MAXMEM option with a value
greater than 8192.
"/data/prj/php-5.4.4/ext/iconv/iconv.c", line 739.33: 1506-280 (W) Function
argument assignment between types "unsigned int*" and "int*" is not
allowed.
"/data/prj/php-5.4.4/ext/pdo/pdo_dbh.c", line 997.77: 1506-280 (W) Function
argument assignment between types "unsigned int*" and "int*" is not
allowed.
    1500-030: (I) INFORMATION: pdo_dbh_init: Additional optimization may be
attained by recompiling and specifying MAXMEM option with a value greater
than 8192.
    1500-030: (I) INFORMATION: do_fetch: Additional optimization may be
attained by recompiling and specifying MAXMEM option with a value greater
than 8192.
    1500-030: (I) INFORMATION: phar_parse_tarfile: Additional optimization
may be attained by recompiling and specifying MAXMEM option with a value
greater than 8192.
    1500-030: (I) INFORMATION: phar_zip_changed_apply: Additional
optimization may be attained by recompiling and specifying MAXMEM option
with a value greater than 8192.
    1500-030: (I) INFORMATION: phar_fancy_stat: Additional optimization may
be attained by recompiling and specifying MAXMEM option with a value
greater than 8192.
    1500-030: (I) INFORMATION: phar_parse_pharfile: Additional optimization
may be attained by recompiling and specifying MAXMEM option with a value
greater than 8192.
    1500-030: (I) INFORMATION: _class_string: Additional optimization may
be attained by recompiling and specifying MAXMEM option with a value
greater than 8192.
    1500-030: (I) INFORMATION: zm_info_spl: Additional optimization may be
attained by recompiling and specifying MAXMEM option with a value greater
than 8192.
"/data/prj/php-5.4.4/ext/spl/spl_functions.c", line 50.40: 1506-068 (W)
Operation between types "struct _zend_object_value(*)(struct
_zend_class_entry*)" and "void*" is not allowed.
"/data/prj/php-5.4.4/ext/spl/spl_functions.c", line 65.40: 1506-068 (W)
Operation between types "struct _zend_object_value(*)(struct
_zend_class_entry*)" and "void*" is not allowed.
"/data/prj/php-5.4.4/ext/standard/dir.c", line 571.21: 1506-280 (W)
Function argument assignment between types "int(*)(const char**,const
char**)" and "void*" is not allowed.
"/data/prj/php-5.4.4/ext/standard/dir.c", line 575.21: 1506-280 (W)
Function argument assignment between types "int(*)(const char**,const
char**)" and "void*" is not allowed.
    1500-030: (I) INFORMATION: php_stat: Additional optimization may be
attained by recompiling and specifying MAXMEM option with a value greater
than 8192.
    1500-030: (I) INFORMATION: php_var_export_ex: Additional optimization
may be attained by recompiling and specifying MAXMEM option with a value
greater than 8192.
    1500-030: (I) INFORMATION: xx_mainloop: Additional optimization may be
attained by recompiling and specifying MAXMEM option with a value greater
than 8192.
    1500-030: (I) INFORMATION: php_stream_url_wrap_http_ex: Additional
optimization may be attained by recompiling and specifying MAXMEM option
with a value greater than 8192.
    1500-030: (I) INFORMATION: php_var_unserialize: Additional optimization
may be attained by recompiling and specifying MAXMEM option with a value
greater than 8192.
"/data/prj/php-5.4.4/ext/standard/filters.c", line 1310.51: 1506-280 (W)
Function argument assignment between types "unsigned long*" and "long*" is
not allowed.
"/data/prj/php-5.4.4/ext/xml/xml.c", line 1385.57: 1506-280 (W) Function
argument assignment between types "int(*)(void*,const unsigned char*,const
unsigned char*,const unsigned char*,const unsigned char*)" and "void*" is
not allowed.
"/data/prj/php-5.4.4/main/snprintf.c", line 1229.21: 1506-280 (W) Function
argument assignment between types "int*" and "unsigned int*" is not
allowed.
"/data/prj/php-5.4.4/main/snprintf.c", line 1243.21: 1506-280 (W) Function
argument assignment between types "int*" and "unsigned int*" is not
allowed.
"/data/prj/php-5.4.4/main/output.c", line 461.49: 1506-280 (W) Function
argument assignment between types "void*" and "void(*)(char*,unsigned
int,char**,unsigned int*,int)" is not allowed.
"/data/prj/php-5.4.4/Zend/zend_language_parser.c", line 6044.75: 1506-041
(E) The invocation of macro memcmp contains fewer arguments than are
required by the macro definition.
"/data/prj/php-5.4.4/Zend/zend_language_parser.c", line 6044.33: 1506-046
(S) Syntax error.
"/data/prj/php-5.4.4/Zend/zend_language_parser.c", line 6044.33: 1506-182
(S) Arguments missing for built-in function __memcmp.
make: 1254-004 The error code from the last command is 1.



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

Reply via email to