[Fwd: egcs, MySQL and internal compiler error]
Jens Ellegiers
jellegie@ford.com
Thu May 13 23:21:00 GMT 1999
Hi,
perhaps this is of interest to you regarding the compiler error I
submitted at the beginning of the week.
Nobody wrote:
>
> Chris Trown wrote:
> >
> > Ok, I think I know the cause of the error and a fix.
> >
> > Cause: Not enough virtual memory.
> >
> > Soln: Increase the Swap space.
> >
> > When I last tried to build mysql on my linux box, I hadn't added the huge
> > swap partition I have. I also use this box as a web search engine, so it
> > requires a HUGE amount of swapspace.
> >
> > Once I added the swapspace, egcs built MySQL just fine.
> >
> > I think that the error message that egcs produces is inadequate. It
> > should say "virtual memory exceeded" instead of "Internal compiler error".
> >
> > Thanks to the member of this list who pointed out that the problem was
> > related to egcs compiling large files. That prompted me to try again with the
> > larger swap space. Note that I compiled it with all the optomizations(-O6)
> > turned on.
> >
> Note the remark from "monty": If compilation fails due to compiler
> errors like:
> "internal error"
> "Out Of mem"
> "..."
> one should use the --low-memory flag for configure. I have about 500
> (!!!) Meg
> swap (on a HP UX 10.20 machine) but compilation failed. After disabling
> the "-O"
> it all compiled and MySQL seems stable. Actually this configure option
> is
> described in CH17 from the Manual.
>
> Happy ..,
> --
> | Gerrit Jan Brendeke |- Alcatel Telecom Nederland BV -|
> ::::: |
> | Phone : (+31) 70 3079 429 |- P.O. Box 3292 -|
> O . |
> | Fax. : (+31) 70 3079 191 |- NL-2280 GG Rijswijk
> -| | |
> | mailto:brendeke@ats.nld.alcatel.nl |-> Honi soit qui mal y pense <-|
> \_/ |
>
> ---------------------------------------------------------------------
> Please check " http://www.mysql.com/Manual_chapter/manual_toc.html " before
> posting. To request this thread, e-mail mysql-thread3289@lists.mysql.com
>
> To unsubscribe, send a message to the address shown in the
> List-Unsubscribe header of this message. If you cannot see it,
> e-mail mysql-unsubscribe@lists.mysql.com instead.
--
Viele Gruesse, regards,
Jens Ellegiers
---------------------------------------------------------------
FORD-Werke AG, Koeln
Jens Ellegiers PROFS: JELLEGIE EMAIL: jellegie@ford.com
Engineer (I-Engine CAE) Phone: +49-221-90-31467
Mail Sym: D-ME/PN-112 Fax : +49-221-90-33025
More information about the Gcc-bugs
mailing list