acimpoeru / google-glog

Automatically exported from code.google.com/p/google-glog
Other
0 stars 0 forks source link

Compilation error (gcc bug?) #56

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. ./configure
2. make

What is the expected output? What do you see instead?

In file included from src/utilities.h:82:0,
                 from src/logging_unittest.cc:33:
src/glog/logging.h:612:1: internal compiler error: in gen_subprogram_die, at 
dwarf2out.c:17824
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [logging_unittest-logging_unittest.o] Error 1

What version of the product are you using? On what operating system?

glog-0.3.1 on Linux agustin 2.6.34-ARCH #1 SMP PREEMPT Mon Jul 5 21:03:38 UTC 
2010 i686 AMD Turion(tm) 64 X2 Mobile Technology TL-50 AuthenticAMD GNU/Linux.

GCC Version: gcc (GCC) 4.5.0 20100610 (prerelease)

Original issue reported on code.google.com by ing.agus...@gmail.com on 27 Jul 2010 at 1:52

GoogleCodeExporter commented 8 years ago
I have the same problem with gcc 4.5.0 on RHLE 6

Original comment by robertsh...@gmail.com on 4 Aug 2010 at 5:38

GoogleCodeExporter commented 8 years ago
Try configure with the following:

./configure CFLAGS=-m64 CXXFLAGS=-m64

I had a similar issue on our 64-bit machine at work, once I used those 
configure options, issue went away.

Original comment by emcvicke...@gmail.com on 17 May 2013 at 6:38