View previous topic :: View next topic |
Author |
Message |
wetter n00b
Joined: 13 Jan 2004 Posts: 26 Location: amsterdam
|
Posted: Thu Oct 05, 2006 2:39 pm Post subject: apache log: "illegal instruction" [solved] |
|
|
hi everybody,
i just freshly installed gentoo 2006.1 on a pentium4 system.
make.conf:
x86
cflags: -march=prescott -O2 -pipe -fomit-frame-pointer
makeopts: -j3
lamp installs no problem, apachectl checkconfig finds everythin ok, apache starts, i can see phpinfo() output but then, wenn i send a request to a vhost running a typo3 installation all goes terribly wrong.
links says: 'error reading from socket'
in apaches error log i find child pid 2134 exit signal illegal instruction(4)
it is always 4
i reinstalled from scratch already with the same result. it is a 2.6.18 kernel apache2 and php5 the only gcc's version on that system so far is 4.1.1.
please help and sorry, i've posted this on gentooinstall as well, i only have some hours left to go (ubuntu cd already next to me)
...at the moment i rebuild world with -j1 and default -march 686 ...
hope you can help me, thank you,
best regards, jo
edit:
changing the cflags maybe solved the issue. the rebuild is still running but apache and php are already done. i now use '-o2 -march=i686 -pipe'
if this is really it, should i maybe add a note to the wiki page where i found the "safe cflags" for my cpu?
Last edited by wetter on Sun Oct 08, 2006 7:08 pm; edited 1 time in total |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Fri Oct 06, 2006 3:53 am Post subject: |
|
|
If you do leave a note on the wiki article be sure to include that these flags seem to be safe with gcc 4.1.1, leave to other flags unchanged for now. |
|
Back to top |
|
|
wetter n00b
Joined: 13 Jan 2004 Posts: 26 Location: amsterdam
|
Posted: Sun Oct 08, 2006 7:07 pm Post subject: wrong cflags |
|
|
the wiki is fine, the error was: one of the boxes had a pentium4 and the other one a pentium4-prescott. unforutnately the resulting "illegal instruction" errors appeared very late. in running apache and compiling gtk+. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|