Hello.
My investigation shows that php-5.0.2 can not be installed both on
reiser4 and ext2 if current kernel is
2.6.10-rc1-mm2. Both ext2 and reiser4 fail with the same emerge
messages (like you have) :
>>> Test phase [not enabled]: dev-php/php-5.0.2
>>> Install php-5.0.2 into /var/tmp/portage/php-5.0.2/image/ category
dev-php
Installing PHP SAPI module: embed
Installing PHP CLI binary:
/var/tmp/portage/php-5.0.2/image//usr/bin/
Installing PHP CLI man page:
/var/tmp/portage/php-5.0.2/image//usr/share/man/man1/
Installing PEAR environment:
/var/tmp/portage/php-5.0.2/image//usr/lib/php/
Could not startup.
*** glibc detected *** double free or corruption (!prev): 0x081e5178 ***
make[1]: *** [install-pear-installer] Aborted
make: *** [install-pear] Error 2
!!! ERROR: dev-php/php-5.0.2 failed.
!!! Function php5-sapi_src_install, Line 439, Exitcode 2
!!! install failed
!!! If you need support, post the topmost build error, NOT this status
message.
----
BUT: this package php-5.0.2 can be succesfully installed on reiser4 if
current kernel is 2.6.10-rc2-mm2 :
1. KERNEL : 2.6.10-rc2-mm2
------------------------------------
# uname -rv
2.6.10-rc2-mm2 #1 SMP Tue Nov 23 05:57:20 MSK 2004
(reiser4 debug ON)
# ACCEPT_KEYWORDS="~x86" emerge "=php-5.0.2"
>>> dev-php/php-5.0.2 merged.
>>> clean: No packages selected for removal.
>>> Auto-cleaning packages ...
>>> No outdated packages were found on your system.
* Regenerating GNU info directory index...
* Processed 103 info files.
* IMPORTANT: 6 config files in /etc need updating.
* Type emerge --help config to learn how to update config files.
# qpkg -I -v -nc | grep 'libc'
sys-libs/glibc-2.3.4.20041102
# qpkg -I -v -nc | grep 'gcc'
sys-devel/gcc-3.3.4-r2
sys-devel/gcc-config-1.3.7-r1
sys-devel/gcc-3.4.3
# qpkg -I -v -nc | grep 'php'
dev-php/php-5.0.2
# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/specs
Configured with:
/var/tmp/portage/gcc-3.3.4-r2/work/gcc-3.3.4/configure --prefix=/usr
--bindir=/usr/i386-pc-linux-gnu/gcc-bin/3.3
--includedir=/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/include
--datadir=/usr/share/gcc-data/i386-pc-linux-gnu/3.3
--mandir=/usr/share/gcc-data/i386-pc-linux-gnu/3.3/man
--infodir=/usr/share/gcc-data/i386-pc-linux-gnu/3.3/info
--enable-shared --host=i386-pc-linux-gnu --target=i386-pc-linux-gnu
--with-system-zlib --enable-languages=c,c++ --enable-threads=posix
--enable-long-long --disable-checking --disable-libunwind-exceptions
--enable-cstdio=stdio --enable-version-specific-runtime-libs
--with-gxx-include-dir=/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/include/g++-v3
--with-local-prefix=/usr/local --enable-shared --disable-nls
--disable-multilib --enable-__cxa_atexit --enable-clocale=generic
Thread model: posix
gcc version 3.3.4 20040623 (Gentoo Linux 3.3.4-r2, ssp-3.3.2-2,
pie-8.7.6)
The next unmerging/merging do not fail too :
# emerge unmerge php
ok
# ACCEPT_KEYWORDS="~x86" emerge -p "=php-5.0.2"
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild N ] dev-php/php-5.0.2
# ACCEPT_KEYWORDS="~x86" emerge "=php-5.0.2"
# qpkg -I -v -nc | grep 'php'
dev-php/php-5.0.2
=================================================
2. KERNEL 2.6.10-rc1-mm2
# uname -rv
2.6.10-rc1-mm2 #2 SMP Tue Nov 23 02:07:11 MSK 2004
# ACCEPT_KEYWORDS="~x86" emerge "=php-5.0.2"
...
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).
>>> Test phase [not enabled]: dev-php/php-5.0.2
>>> Install php-5.0.2 into /var/tmp/portage/php-5.0.2/image/ category
dev-php
Installing PHP SAPI module: embed
Installing PHP CLI binary:
/var/tmp/portage/php-5.0.2/image//usr/bin/
Installing PHP CLI man page:
/var/tmp/portage/php-5.0.2/image//usr/share/man/man1/
Installing PEAR environment:
/var/tmp/portage/php-5.0.2/image//usr/lib/php/
Fatal error: Maximum execution time of 0 seconds exceeded in Unknown
on line 0
make[1]: *** [install-pear-installer] Segmentation fault
make: *** [install-pear] Error 2
!!! ERROR: dev-php/php-5.0.2 failed.
!!! Function php5-sapi_src_install, Line 439, Exitcode 2
!!! install failed
!!! If you need support, post the topmost build error, NOT this status
message.
======================================================
So, I think that this is not reiser4 problem (because this is
reproducible on ext2 too) and I propose you to try 2.6.10-rc2-mm2.
Please let me know if you will fail on installing php over
2.6.10-rc2-mm2 kernel on reiser4
Thanks,
Lena.
PS: while merging php-5.0.2 fails on reiser4 (-rc1-mm2 kernel) --
there are nothing on my kernel logs.
Kai Lippok wrote:
Please see the attachment.
Its 01:00 now and I am going to bed ;)
E.Gryaznova schrieb:
is there some reiser4 debug info in kernel logs? if yes -- would you
please send ?
Thanks,
Lena
Kai Lippok wrote:
Hi,
I am sorry to tell you that this does not fix the problem. See
attached log. But emerging goes a few bits further now.
E.Gryaznova schrieb:
Hello again.
Would you please try this patch?
# cd fs/reiser4
# cat reiser4_write-add-access_ok-3.diff | patch -p1
Thanks,
Lena.
E.Gryaznova wrote:
Hello, again.
Ok, thank you for your work.
Finally I've reproduced reiser4 Oops on emerging
(glibc-2.3.4.20041102 package). I do not know if this the same
what you have (you did not send me your logs), but the problem
exists and we will fix it.
Thanks,
Lena
Kai Lippok wrote:
I have rebuild gcc and glibc with CFLAGS="-march=pentium4 -O2
-pipe -fomit-frame-pointer" and CXXFLAGS="${CFLAGS}".
The same error occurs again. The qpkg result is attached.
E.Gryaznova schrieb:
Hello.
1. Would you please send me output
# qpkg -I -v -nc
2. did you try to build gcc 3.3.4-rc2 with default CFLAGS and
then to build php with defailt CFLAGS?
( There is the citation from make.conf # Please note that if
you experience strange issues with a package, it may be
# due to gcc's optimizations interacting in a strange way.
Please test the
# package (and in some cases the libraries it uses) at default
optimizations
# before reporting errors to developers.
)
3. Were anything usefull in logs?
Thanks,
Lena
Kai Lippok wrote:
I switched to kernel 2.6.10-rc2-mm and to an older gcc
(3.3.4-r2) and tried to compile php5. Same error again. This
time I compiled via ssh so I can send a log. The
kernel-messages are not send through ssh, but you can see
clearly where it hangs. Hope this helps.
E.Gryaznova schrieb:
Kai Lippok wrote:
Puh,
indeed. I tried the current flags before bootstrapping but
some CFLAGS/CXXFLAGS do not work with the old gcc, so I've
removed them. I do not exactly remember which one (can look
when I am at home). But I am sure that I have recompiled at
least gcc with all these new flags after bootstrapping. Do
you think that my selection of CFLAGS is problematic?
yes, it is possible. If you have a time for experiments, you
would try to build gcc, etc. with default options and look is
this problem reproducible in this case. I could do this by
myself, but I need the list of flags you've used.
Thanks,
Lena.
I am not so familiar with these settings - just followed a
speed-up guide on gentoo forums.
Normally I can connect via ssh to my server at home.
Currently its not available. My feeling says its reiser4 ;-)
Damn...
E.Gryaznova schrieb:
Kai Lippok wrote:
No problem. But isn't reiser4 part of the kernel and so the
CFLAGS/CXXFLAGS aren't used!?
You said that you used stage 1. Did you change make.conf
before bootstrap or after it?
I am not familar with Gentoo. I just want to reproduce
reiser4 bug and your help is very appritiated for me. If
make.conf was changed before bootstrap -- this means that
glibc, gcc, etc. were built with not default CFLAGS.
Thanks
Lena.
I am using development-kernel-2.6.10-rc1 (vanilla) with
the reiser4
patch from your server.
Thanks for the work!
E.Gryaznova schrieb:
Hello,
would you please send me your ./etc/make.conf ?
Thanks,
Lena
Kai Lippok wrote:
Hi,
i am sorry to give you such a bad bug-report, but I
cannot write to harddisc at the moment the error occurs,
so I decided to take a picture of my screen.
The following happens when compiling php-5.0.2 on gentoo
2004.2 with kernel 2.6.10-rc1. My hardware is a Celeron
2GHz with 512 MB RAM
This is my first reiser4 setup and I am a bit confused
now as it is marked stable.
Thx,
--
Kai Lippok [EMAIL PROTECTED]
MCDBA / gentoo linux