gitfredy / google-glog

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

stacktrace_unittest fails when compling with -O3 -g2 #107

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ./configure CXXFLAGS='-O3 -g2'
2. make check

What is the expected output? What do you see instead?
I expect all test to pass, but stacktrace_unittest fails with the following 
error message:

F1227 21:18:33.853356  7026 stacktrace_unittest.cc:95] Check failed: ret_addr 
<= (void *) ((char *) function_start_addr + kMaxFnLen) (0x401598 vs. 0x401460) 

The test is making inappropriate assumptions about function size.

Original issue reported on code.google.com by hlsyou...@gmail.com on 28 Dec 2011 at 2:22

GoogleCodeExporter commented 9 years ago

Original comment by hlsyou...@gmail.com on 28 Dec 2011 at 3:56

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r98.

Original comment by hlsyou...@gmail.com on 28 Dec 2011 at 3:45