Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57219 - php 4.3.8 fails with gcc 3.4.1
Summary: php 4.3.8 fails with gcc 3.4.1
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-15 12:57 UTC by Patrizio Bassi
Modified: 2004-09-18 23:12 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrizio Bassi 2004-07-15 12:57:31 UTC
php 4.3.8 fails with gcc 3.4.1

after a nice configure, at the first compilation i get:
...........
make: *** [/var/tmp/portage/php-4.3.8/work/php-4.3.8/ext/java/php_java.jar] Killed

and ebuilds fails.
i've tried 3 times to be sure it wasn't a random gcc crash.

mod_php is compiling instead...
Comment 1 Travis Tilley (RETIRED) gentoo-dev 2004-07-15 15:58:37 UTC
can you include the output of "emerge info"?
Comment 2 Travis Tilley (RETIRED) gentoo-dev 2004-07-15 17:53:54 UTC
php 4.3.8 compiles and installs here on amd64 btw, using gcc 3.4.1. are you using hardened?
Comment 3 Patrizio Bassi 2004-07-16 00:49:54 UTC
update:
mod_php fails too. not the first compilation item...but later...

consider that i'm using 3.4.1-r1 and i've compile lots and lots of packages,
i found some parse errors due to not perfect code, but never a "killed" problem.
i'm using standard one, not hardned.
and i'm on a pentium2 not amd64 so :(
however this is my emerge info:
emerge info
Portage 2.0.50-r9 (default-x86-1.4, gcc-3.4.1, glibc-2.3.4.20040619-r0, 2.6.8-rc1)
=================================================================
System uname: 2.6.8-rc1 i686 Pentium II (Deschutes)
Gentoo Base System version 1.5.1
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
Autoconf: sys-devel/autoconf-2.57a-r1,sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mtune=pentium2 -march=pentium2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /etc/tomcat /opt/openjms/config /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/fenris /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mtune=pentium2 -march=pentium2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox"
GENTOO_MIRRORS="http://gentoo.tiscali.nl/gentoo/ http://ftp.iasi.roedu.net/mirrors/gentoo.org/ http://sunsite.cnlab-switch.ch/mirror/gentoo/ http://gentoo.math.bme.hu"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d aalib acl acpi adns alsa apache2 apm arts audiofile avi berkdb bonobo caps cdr crypt cups curl dvd encode esd ethereal fam fbcon fdftk firebird flac flash foomaticdb freetds gd gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile imagemagick imlib innodb java joystick jpeg kde ldap libg++ libgda libusb libwww linguas_it mad mikmod mmx motif mozilla mpeg mysql ncurses nls odbc oggvorbis opengl oss pam pda pdflib perl png postgres ppds python qt quicktime readline ruby samba scanner sdl slang slp snortsam spell ssl svg svga tcltk tcpd tetex theora tiff truetype usb x86 xml xml2 xmms xv xvid zlib"
Comment 4 Patrizio Bassi 2004-07-16 11:09:46 UTC
i just did some tests, changing gcc, java and so on (cause it seems to fail in java part)

now it compioled good with gcc 3.4.1 and kernel 2.4.24.

i had 2.68.rc1 kernel. it doesn't make wine work too.

so i guess it's a kernel problem somewhere.

i think you could close this bug, maybe it's safe to delete 2.6.8rc1 ebuild.
Comment 5 Bret Towe 2004-08-18 20:41:16 UTC
compiled fine here with and without java use flag

Portage 2.0.51_pre20 (gcc34-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040619-r1, 2.6.7-co-0.6.2 i686 Mobile AMD Athlon(tm) XP 2400+)
=================================================================
System uname: 2.6.7-co-0.6.2 i686 Mobile AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.7-r4
Libtools: sys-devel/libtool-1.4.3-r4
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="http://gentoo.llarian.net/ http://gentoo.binarycompass.org http://mirror.datapipe.net/gentoo http://gentoo.eliteitminds.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://vox.net/gentoo-portage"
USE="3dnow X acpi alsa avi berkdb cdr crypt cups dv dvb dvd dvdread encode esd fbcon foomaticdb gdbm gif gnome gtk gtk2 imlib input_devices_synaptics jpeg kde libg++ libwww mad matroska mikmod mmx motif mozilla mpeg ncurses network nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl tcpd theora tiff truetype x86 xml2 xmms xv zlib"
Comment 6 Disenchanted (RETIRED) gentoo-dev 2004-09-18 23:12:59 UTC
closed as invalid comment #4