Bug #77445 [NEW]: Link-Time-Optimizations fail
| From: | dpa-bugs at aegee dot org | Date: | Fri, 11 Jan 2019 11:03:01 +0000 |
| Subject: | Bug #77445 [NEW]: Link-Time-Optimizations fail | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-218900@lists.php.net to get a copy of this message | ||
From: dpa-bugs at aegee dot org
Operating system: Linux
PHP version: 7.1.26
Package: *General Issues
Bug Type: Bug
Bug description:Link-Time-Optimizations fail
Description:
------------
With gcc 8.2.1 -flto build fails:
/usr/local/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../x86_64-pc-linux-gnu/bin/ld:
/src/mail/imap-2007f//lib/libc-client.a(osdep.o): in function
`ssl_onceonlyinit':
/src/mail/imap-2007f/c-client/osdep.c:302: warning: the use of `tmpnam'
is dangerous, better use `mkstemp'
/src/http/php-7.1.26/Zend/zend_vm_execute.h: In function
'ZEND_IS_SMALLER_OR_EQUAL_DOUBLE_SPEC_TMPVARCV_TMPVARCV_HANDLER':
/src/http/php-7.1.26/Zend/zend_vm_execute.h:326:38: error: global
register variable follows a function definition
register zend_execute_data* volatile execute_data
__asm__(ZEND_VM_FP_GLOBAL_REG);
^
/src/http/php-7.1.26/Zend/zend_vm_execute.h:332:34: error: global
register variable follows a function definition
register const zend_op* volatile opline
__asm__(ZEND_VM_IP_GLOBAL_REG);
^
/src/http/php-7.1.26/ext/readline/readline_cli.c: In function
'cli_completion_generator_ht.constprop':
/src/http/php-7.1.26/ext/readline/readline_cli.c:408:15: warning: 'name'
may be used uninitialized in this function [-Wmaybe-uninitialized]
zend_string *name;
^
/src/http/php-7.1.26/sapi/cli/php_cli_server.c: In function
'php_cli_server_client_read_request_on_path':
/src/http/php-7.1.26/sapi/cli/php_cli_server.c:1571:29: warning:
'vpath_len' may be used uninitialized in this function
[-Wmaybe-uninitialized]
client->request.vpath_len = vpath_len;
^
/src/http/php-7.1.26/sapi/cli/php_cli_server.c:1568:10: note:
'vpath_len' was declared here
size_t vpath_len;
^
/src/http/php-7.1.26/Zend/zend_execute.c: In function
'zend_check_arg_type':
/src/http/php-7.1.26/Zend/zend_execute.c:959:3: warning: 'ce' may be
used uninitialized in this function [-Wmaybe-uninitialized]
zend_verify_arg_error(zf, cur_arg_info, arg_num, ce, arg);
^
/src/http/php-7.1.26/Zend/zend_execute.c:948:20: note: 'ce' was declared
here
zend_class_entry *ce;
^
lto-wrapper: fatal error: cc returned 1 exit status
compilation terminated.
/usr/local/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../x86_64-pc-linux-gnu/bin/ld:
error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make: *** [Makefile:300: sapi/cli/php] Error 1
--
Edit bug report at https://bugs.php.net/bug.php?id=77445&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=77445&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=77445&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=77445&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=77445&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=77445&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=77445&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=77445&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=77445&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=77445&r=support
Expected behavior: https://bugs.php.net/fix.php?id=77445&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=77445&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=77445&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=77445&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=77445&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=77445&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=77445&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=77445&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=77445&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=77445&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=77445&r=mysqlcfg