Curious MySQL building problem /w GCC 3.4.2
Geoff Speicher
geoff at speicher.org
Fri Jul 30 11:04:18 PDT 2004
On Fri, Jul 30, 2004 at 08:00:47AM -0700, Bruce A. Mah wrote:
> On Thu, 2004-07-29 at 09:05, Roderick van Domburg wrote:
> >
> > I CVSupped and rebuilt a quad Xeon III on July 29th, and it runs just
> > fine. However, when recompiling MySQL, progressed just came to a halt at:
> >
> > make all-am
> > Making all in strings
> > cc -DDBUG_OFF -O -pipe -march=pentium3 -c `test -f 'strings-x86.s' ||
> > echo './'`strings-x86.s
> >
> > 0% CPU and virtually no memory in use.
> >
> > Workaround: compiling strings-x86.s without -pipe. I re-enabled it for
> > the rest of the build, which is now running in the background and seems
> > peachy.
>
> Roderick, if you can try this again, what happens if you hit Ctrl-D (or
> whatever your EOF character is) at the point where it hangs?
>
> I ran into a similar problem with the www/mozilla port configure, but I
> didn't get a chance to investigate in much detail. Basically, the
> configure process stops at this point:
>
> checking for .hidden assembler directive...
>
> At this point it's trying to compile an assembler file. Relevant
> processes running at the time are (subject to linewrap):
>
> tomcat:bmah% ps -auxww | grep root | grep conftest
> root 15871 0.0 0.0 328 232 p3 S+ 7:54AM 0:00.00 cc -c -O
> -pipe conftest.s
> root 15872 0.0 0.2 1052 900 p3 S+ 7:54AM 0:00.00 /usr/bin/as
> -o conftest.o conftest.s -
>
> Note the as process with a trailing "-" argument. I guessed that it was
> for some reason waiting for something from stdin, so I typed the EOF
> character on the keyboard and that allowed the as process to continue.
> Now I have a freshly recompiled mozilla, but I'm not sure why. :-p
Are you guys sure the following commit didn't fix that already?
http://docs.freebsd.org/cgi/mid.cgi?20040729215559.GB1021
Geoff
More information about the freebsd-current
mailing list