Skip to content

Missing symbol in jsoncpp 1.9.8 #1694

@dmnewber

Description

@dmnewber

Describe the bug
jsoncpp 1.9.8 is missing symbol _ZN4Json5Value12removeMemberESt17basic_string_viewIcSt11char_traitsIcEE, which is breaking my build of NFS Ganesha.

To Reproduce
Steps to reproduce the behavior:

  1. Present in 1.9.7:
root@ccc0a02ae202:/jsoncpp-build-1.9.7# nm -D bin/jsoncpp_test | grep '_ZN4Json5Value12removeMemberESt17basic_string_viewIcSt11char_traitsIcEE'
                 U _ZN4Json5Value12removeMemberESt17basic_string_viewIcSt11char_traitsIcEE
                 U _ZN4Json5Value12removeMemberESt17basic_string_viewIcSt11char_traitsIcEEPS0_
  1. Missing in 1.9.8:
root@ccc0a02ae202:/jsoncpp-build-1.9.8# nm -D bin/jsoncpp_test | grep '_ZN4Json5Value12removeMemberESt17basic_string_viewIcSt11char_traitsIcEE'
root@ccc0a02ae202:/jsoncpp-build-1.9.8# 

Expected behavior
I expect for function to not be removed.

Desktop (please complete the following information):

  • OS: Ubuntu
  • Meson version 1.10.1
  • Ninja version N/A

Additional context
Encountered a cmake error while building NFS Ganesha 9.11:

cmake: symbol lookup error: cmake: undefined symbol: _ZN4Json5Value12removeMemberESt17basic_string_viewIcSt11char_traitsIcEE

Build works with jsoncpp 1.9.7, breaks with 1.9.8.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions