当我做nm /usr/lib/llvm-7/lib/libc++fs.a
时,我得到:
...
nm: /usr/lib/llvm-7/lib/libc++fs.a(operations.cpp.o): SHT_GROUP section [index 46] has no SHF_GROUP sections
nm: operations.cpp.o: File format not recognized
...
我的确切版本是1:7.0.1〜svn348686-1〜exp1〜20181211133235.57。 该软件包是否已知已损坏?
答案 0 :(得分:0)
似乎新版本1:7.0.1〜svn348686-1〜exp1〜20190111074544.62使用libc ++ fs.a文件是正确的,该文件可能会获得nm
的正确结果。
所以我只需要先做一个apt remove libc++-7-dev
然后做一个apt install libc++-7-dev
就可以得到新版本。