php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63889 Build failed: ext/standard/var.o: file not recognized: File truncated
Submitted: 2013-01-03 00:44 UTC Modified: 2013-01-03 13:52 UTC
From: php dot net at reg dot purple dot org dot ua Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.5.0alpha2 OS: Fedora Linux 17
Private report: No CVE-ID: None
 [2013-01-03 00:44 UTC] php dot net at reg dot purple dot org dot ua
Description:
------------
Sequence of actions to reproduce a bug:

./configure --prefix=/opt/php-5.5
make


Expected result:
----------------
Successfull making is expected

Actual result:
--------------
An error message:
ext/standard/var.o: file not recognized: File truncated
collect2: error: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-01-03 01:55 UTC] rasmus@php.net
-Status: Open +Status: Not a bug
 [2013-01-03 01:55 UTC] rasmus@php.net
This doesn't seem like a PHP issue. Can you compile anything on that box?
And I certainly can't reproduce it on any of my Linux systems.
 [2013-01-03 10:41 UTC] php dot net at reg dot purple dot org dot ua
This problem on the same environment is not reproducible, when I build php 5.4 
sources

cd php-5.4.10
./configure --prefix=/opt/php-5.4
make
sudo make install

Ok in this case,
So I still think that problem related to PHP 5.5

Please, assist
 [2013-01-03 10:46 UTC] php dot net at reg dot purple dot org dot ua
How can I help you to analyze this problem? Maybe I can inform you about versions 
of my build software? Which versions are interesting for you?
 [2013-01-03 12:57 UTC] rasmus@php.net
Look at the output from your compiler when it creates that file. Perhaps you are 
running out of memory or something. gcc 4.7.2 and and ld 2.22.90 handles it fine.
 [2013-01-03 13:52 UTC] php dot net at reg dot purple dot org dot ua
Solved.

There was a problem with ccache and reboot during first compilation. 
After .ccache cleared, it works.

Sorry, Rasmus.
Thank you for help
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 01 09:01:30 2024 UTC