OK more info then...
jutley3 at earthlink.net
Wed Aug 21 20:03:54 PDT 2002
I'll almost bet there's your problem. You really should never build the real core of the linux system (gcc, glibc, binutils) at anything higher than -O2. I've had luck using -O2 -march=whatever - but everytime I try to go to -O3, stuff starts flaking out.
Just my .02
*********** REPLY SEPARATOR ***********
On 8/21/2002 at 8:59 PM Joe wrote:
>Well here is one error: This is after following the install instructions
>word-for-word for mysql without any optimization flags set. When i run
>/usr/bin/safe_mysqld: line 1: 25640 Segmentation Fault nice --5 nohup
>/usr/sbin/mysqld --basedir=/usr --datadir=/var/mysql --user=mysql
>=/var/mysql/optimus.pid --skip-locking --skip-grant >>
>Installation of grant tables failed!
>so i checked the log file and it says:
>Number of processes running now: 2
>mysqld process hanging, pid 25643 - killed
>mysqld process hanging, pid 25642 - killed
>020821 20:46:46 mysqld restarted
>Looks like processes start fine then promptly hang. i can access the
>/usr/bin/mysql console sometimes sporadically.
>I should point out that I built mysql with default (no opt) flags on a GCC
>built like blfs says to (ie with the ABI compatibility flags all set right)
>however, the rest of my system (including GCC) was built with
>-O3 -march=pentium3 -mmmx -msse -mfpmath=sse -fomit-frame-pointer
>I have had no problems though with any other apps so i am reluctant to
>rebuild GCC, kernel etc without the flags set unless im sure thats the
>thanks for looking into it!
>"Jesse Tie-Ten-Quee" <highos at linuxfromscratch.org> wrote in message
>news:20020821201054.GA9537 at linuxfromscratch.org...
>> On Wed, Aug 21, 2002 at 03:45:25PM -0400, Billy O'Connor wrote:
>> > I am unable to reproduce this with the current lfs cvs
>> > book(20020818). Could you provide more details?
>> I can second that. I'm running an older CVS build, with gcc 3.1 and
>> i've not experienced any such behaviour. If I had, I would never have
>> commited those instructions into blfs-book cvs.
>> They don't generally recommend that you use gcc3 to compile mysql. They
>> even have warnings on there site, not todo so. However, i've never run
>> into problems both in compile time and run time, so...
>> Did you perhaps optimization gcc/glibc/binutils?
>> Not much, we can do, without further details. =/
>> Jesse Tie-Ten-Quee ( highos at linuxfromscratch dot org )
>> Unsubscribe: send email to listar at linuxfromscratch.org
>> and put 'unsubscribe blfs-support' in the subject header of the message
>Unsubscribe: send email to listar at linuxfromscratch.org
>and put 'unsubscribe blfs-support' in the subject header of the message
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message
More information about the blfs-support