tracym111 / google-glog

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

Compile Error with -m32 on x86_64 (REG_RIP was not declared in this scope) #46

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. ./configure CXXFLAGS="-m32" LDFLAGS="-m32" on x86_64
2. make

What is the expected output? What do you see instead?
expected: Compiled binaries
actual: src/signalhandler.cc: In function ‘void* 
google::<unnamed>::GetPC(void*)’:
src/signalhandler.cc:72: error: ‘REG_RIP’ was not declared in this scope
make: *** [libglog_la-signalhandler.lo] Error 1

What version of the product are you using? On what operating system?
trunk
Linux xxxxx 2.6.31-21-generic #59-Ubuntu SMP Wed Mar 24 07:28:27 UTC 2010 
x86_64 GNU/Linux

Original issue reported on code.google.com by rbell...@fritztechnologies.com on 5 May 2010 at 6:07

Attachments:

GoogleCodeExporter commented 8 years ago
I guess the patch in Issue 49 will fix this issue. For the meantime, please add 
CFLAGS=-m32 as your configure option. I think it would also work.

Original comment by shinichi...@gmail.com on 27 May 2010 at 6:13

GoogleCodeExporter commented 8 years ago

Original comment by shinichi...@gmail.com on 27 May 2010 at 8:20

GoogleCodeExporter commented 8 years ago
Oops, Issue 35 isn't a dup of this issue. Anyway, I think this was fixed by 
http://code.google.com/p/google-glog/source/detail?r=78

Original comment by shinichi...@gmail.com on 28 May 2010 at 6:19