huiyi1990 / google-glog

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

make check fails on clang 3.3 with libc++ (linux) #171

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Check out glog from svn
2. Apply libc++.diff patch from here : 
https://code.google.com/p/google-glog/issues/detail?id=121
3. Build glog with clang 3.3 using libc++ as the standard library and 
-std=c++11 on linux
4. Run make check

What is the expected output? What do you see instead?
make check should succeed, demangler should demangle the symbol name

What version of the product are you using? On what operating system?
Fedora 17 with Clang 3.3 and libc++ 3.3

Please provide any additional information below.
Output of make check :
make  logging_striplog_test_sh demangle_unittest_sh signalhandler_unittest_sh
make[1]: Entering directory 
`/apps/infrafs1-skae/rgeary/master/repo/glog/0.3.3svn/src/glog-0.3.3svn'
./src/logging_striplog_test.sh
In DBG mode; not checking strings
./src/logging_striplog_test.sh: line 76: 32199 Aborted                 
./logging_striptest2 2> /dev/null
PASS
./demangle_unittest  # force to create lt-demangle_unittest
Passed 3 tests

PASS
./src/demangle_unittest.sh
Mangled symbols (1 out of 561) found in demangle.dm:
_ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initIPcEENS_9e
nable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_
Mangled symbols (1 out of 561) found in demangle.dm
make[1]: *** [demangle_unittest_sh] Error 1
make[1]: Leaving directory 
`/apps/infrafs1-skae/rgeary/master/repo/glog/0.3.3svn/src/glog-0.3.3svn'
make: *** [check-am] Error 2

Original issue reported on code.google.com by richardg...@gmail.com on 30 Oct 2013 at 9:38