Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 303427 - dev-lang/php-5.2.12: build fails with zend_compile.o: file format not recognized; treating as linker script
Summary: dev-lang/php-5.2.12: build fails with zend_compile.o: file format not recogni...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-04 07:27 UTC by Mark Reiche
Modified: 2013-02-19 14:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
environment (environment,190.55 KB, text/plain)
2010-02-04 07:34 UTC, Mark Reiche
Details
build log (dev-lang:php-5.2.12:20100204-064744.log,368.17 KB, text/plain)
2010-02-04 07:34 UTC, Mark Reiche
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Reiche 2010-02-04 07:27:26 UTC
After a system crash I had to re-emerge my whole system; emerging php fails

/usr/lib/gcc/i586-pc-linux-gnu/4.3.4/../../../../i586-pc-linux-gnu/bin/ld:Zend/zend_compile.o: file format not recognized; treating as linker script
/usr/lib/gcc/i586-pc-linux-gnu/4.3.4/../../../../i586-pc-linux-gnu/bin/ld:Zend/zend_compile.o:1: syntax error
collect2: ld returned 1 exit status


Reproducible: Always

Steps to Reproduce:
1. emerge php

Actual Results:  
emerge fails

Expected Results:  
emerge succeeds
Comment 1 Mark Reiche 2010-02-04 07:28:26 UTC
emerge --info =dev-lang/php-5.2.12
Portage 2.1.7.16 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 i586)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.31-gentoo-r6-i586-Geode-TM-_Integrated_Processor_by_AMD_PCS-with-gentoo-1.12.13
Timestamp of tree: Wed, 03 Feb 2010 09:25:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=geode -O2 -pipe -fomit-frame-pointer -mmmx -m3dnow"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=geode -O2 -pipe -fomit-frame-pointer -mmmx -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo "
LDFLAGS="-Wl,-O1"
LINGUAS="de en_GB"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/mark"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X aac acl acpi alsa berkdb branding bzip2 cddb cli crypt cups curl custom-optimization cxx dbus gdbm gif gimp gtk iconv jpeg mailwrapper mmx modules mp3 mpeg mudflap ncurses nls nptl nptlonly pam pch pcre perl png pppd python readline reflection rrdtool session spl ssl sysfs tcpd threads unicode x86 xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en_GB" LIRC_DEVICES="serial" RUBY_TARGETS="ruby18" SANE_BACKENDS="snapscan" USERLAND="GNU" VIDEO_CARDS="geode" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 2 Mark Reiche 2010-02-04 07:29:47 UTC
emerge -pqv =dev-lang/php-5.2.12 
[ebuild  N    ] dev-lang/php-5.2.12  USE="berkdb bzip2 cli crypt curl gdbm iconv ncurses nls pcre readline reflection session spl ssl threads unicode zlib -adabas -apache2 -bcmath -birdstep -calendar -cdb -cgi -cjk -concurrentmodphp -ctype -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -exif -fastbuild -fdftk -filter -firebird -flatfile -force-cgi-redirect -frontbase -ftp -gd -gd-external -gmp -hash -imap -inifile -interbase -iodbc -ipv6 (-java-external) -json -kerberos -kolab -ldap -ldap-sasl -libedit -mcve -mhash -msql -mssql -mysql -mysqli -oci8 -oci8-instant-client -odbc -pcntl -pdo -pic -posix -postgres -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -snmp -soap -sockets -solid -spell -sqlite -suhosin -sybase -sybase-ct -sysvipc -tidy -tokenizer -truetype -wddx -xml -xmlreader -xmlrpc -xmlwriter -xpm -xsl -yaz -zip" 
Comment 3 Mark Reiche 2010-02-04 07:34:05 UTC
Created attachment 218367 [details]
environment
Comment 4 Mark Reiche 2010-02-04 07:34:22 UTC
Created attachment 218369 [details]
build log
Comment 5 Ben de Groot (RETIRED) gentoo-dev 2010-02-26 13:02:00 UTC
As always, disable ccache and try again.
Comment 6 Matti Bickel (RETIRED) gentoo-dev 2010-06-13 19:34:50 UTC
Does this happen with either php-5.2.13 or php-5.3.2 and ccache disabled?

If so, please reopen with a full build.log and emerge --info. Thanks.
Comment 7 Mark Reiche 2010-06-14 07:29:50 UTC
retried with ccache disabled - then it worked