#792649 the demangler is not aware of the __cxx11 symbols in GCC 5's libstdc++

Package:
src:google-glog
Source:
google-glog
Submitter:
Matthias Klose
Date:
2021-04-01 17:21:12 UTC
Severity:
important
Tags:
#792649#5
Date:
2015-07-17 06:02:38 UTC
From:
To:
the tests fail when built with GCC 5 from experimental:

./src/demangle_unittest.sh
Mangled symbols (21 out of 796) found in demangle.dm:
ZN3fLS13FLAGS_log_dirB5cxx11E
_ZN3fLS13FLAGS_vmoduleB5cxx11E
_ZN3fLS14FLAGS_log_linkB5cxx11E
_ZN3fLS15FLAGS_logmailerB5cxx11E
_ZN3fLS20FLAGS_alsologtoemailB5cxx11E
_ZN3fLS22FLAGS_log_backtrace_atB5cxx11E
_ZN3fLS25dont_pass0toDEFINE_stringB5cxx11EPcPKc
_ZN6google12Check_GEImplB5cxx11EiiPKc
_ZN6google12Check_LTImplB5cxx11EiiPKc
_ZN6google14LogDestination10addresses_B5cxx11E
_ZN6google14LogDestination8hostnameB5cxx11Ev
_ZN6google14LogDestination9hostname_B5cxx11E
_ZN6google19CheckstrcmptrueImplB5cxx11EPKcS1_S1
ZN6google20CheckstrcmpfalseImplB5cxx11EPKcS1_S1
ZN6google21GetLoggingDirectoriesB5cxx11Ev
_ZN6google23CheckstrcasecmptrueImplB5cxx11EPKcS1_S1
ZN6google24CheckstrcasecmpfalseImplB5cxx11EPKcS1_S1
_ZN6google24glog_internal_namespace_10MyUserNameB5cxx11Ev
_ZN6google4base21CheckOpMessageBuilder9NewStringB5cxx11Ev
_ZN6google7LogSink8ToStringB5cxx11EiPKciPK2tmS2_m
_ZN6google8StrErrorB5cxx11Ei
Mangled symbols (21 out of 796) found in demangle.dm
Makefile:2060: recipe for target 'demangle_unittest_sh' failed
make[3]: *** [demangle_unittest_sh] Error 1
make[3]: Leaving directory '/scratch/packages/tmp/google-glog-0.3.4'
Makefile:1906: recipe for target 'check-am' failed
make[2]: *** [check-am] Error 2

#792649#12
Date:
2015-08-12 20:23:05 UTC
From:
To:
ignoring the check for now. looks like the package is good enough to be used
even with the test failing.

#792649#19
Date:
2015-08-14 23:37:42 UTC
From:
To:
Hi,

There's a patch recently submitted on github, although it is not
merged into the upstream repo.

https://github.com/Jo-Con-El/glog/commit/b1639e3014996fbc7635870e013559c54e7e3b2f

#792649#24
Date:
2015-08-17 23:56:55 UTC
From:
To:
    Yes, I submitted that, but they haven't merged it yet because I hadn't
signed the CLA.  I was waiting on getting internal permission and it's all
cleared now.

    The patch leaves cxx11 symbols as

|google::LogDestination::addresses_[cxx11]

i.e. enclosed in square brackets.


		Ender.
|