Red Hat Bugzilla – Bug 972876
c++ compiler becomes non-functional when source >65K
Last modified: 2016-10-08 07:58:54 EDT
Description of problem:I started writing an application, and when the source code got to about 65K in size, the compiler went into paralisys. I can make a change to the code. Gedit will confirm the change. I execute the build, and it runs error free. The Make is run without any nagative indications. When the code is executed, nothing has changed.
I am prepared to submitt as much code and data examples as requested.
Is there a compiler option I can use to invoke a large program?
Version-Release number of selected component (if applicable):
How reproducible:I wrote a Dump.cpp program, it works without errors, and the data presentation is faithful.
Steps to Reproduce:
1.I can ship the source code and the data field if requested.
Following Data obtained in System Terminal Mode:
System Version: gcc (GCC) 4.4.6 20120305 (Red Hat 4.4.6-4)
Make: GNU Make 3.81
"This program built for x86_64-redhet-linux-gnu"
Ststem: Red Hat Enterprise Linux Server
Release 6.3 (Santiago)
Kernel Linux 2.6.32-279.el6.x86_64
Memory: 15.2 GiB
Processor 0: Intel(R)Core(TM) i5-2500K cpu @3.30 Ghz (Same for Proc 1,2,3)
System Status: 417.4 GiB
Without a reproducer there is nothing to do. What exactly does g++ do? Consume lots of CPU time until you kill it, something else? If you can, please preprocess it (e.g. add -save-temps), attach the preprocessed source here and mention the exact command line options used to compile it.
OK to close this report. Problem was either discovered and/or a work-around was found.
Thank you for your support.