Bug #80555 | Compiler crash on EL 7 with GA source RPM | ||
---|---|---|---|
Submitted: | 29 Feb 2016 11:32 | Modified: | 3 Mar 2016 23:54 |
Reporter: | Jörg Brühe (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S1 (Critical) |
Version: | 5.7.11 | OS: | CentOS (CentOS 7.0) |
Assigned to: | Paul DuBois | CPU Architecture: | Any |
Tags: | compiler, crash, Enterprise Linux |
[29 Feb 2016 11:32]
Jörg Brühe
[29 Feb 2016 11:33]
Jörg Brühe
"rpm -qa" and related info about my CentOS 7.0 VM
Attachment: Status-cent70 (application/octet-stream, text), 21.97 KiB.
[29 Feb 2016 14:45]
Terje Røsten
Building item_geofunc.cc requires lots of memory. Have much RAM is available in build machine?
[29 Feb 2016 14:49]
Jörg Brühe
It is a VM running text mode only (no GUI) and configured with 1 GB memory.
[29 Feb 2016 16:34]
Terje Røsten
Increase to at least 2GB RAM, go even higher if it still crashes.
[1 Mar 2016 16:07]
MySQL Verification Team
Feedback for: [29 Feb 16:34] Terje Røsten comment
[2 Mar 2016 9:19]
Jörg Brühe
The build succeeded after I had changed the VM memory size from 1 GB to 2 GB. Sorry for the false alarm, I had not expected such a compilation requirement. I propose to list that requirement in the manual, chapter 2.9 "Installing MySQL from Source", and will try to change this bug report accordingly.
[3 Mar 2016 23:49]
Paul DuBois
Seems like it's a stupid compiler that says "internal error, please submit a bug report" when the only problem is that it's out of memory? Or maybe that's precisely the bug, that it fails to report the real issue. :-)
[3 Mar 2016 23:54]
Paul DuBois
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly. Added this item to the system requirements list of the section in question: Sufficient free memory. If you encounter problems such as "internal compiler error" when compiling large source files, it may be that you have too little memory. If compiling on a virtual machine, try increasing the memory allocation.