Ubuntu 18.04 Clang 14 Build Failure

86 views
Skip to first unread message

Alexey Vishnyakov

unread,
Oct 19, 2022, 9:09:09 AM10/19/22
to DynamoRIO Users
Hi!

I am trying to build DynamoRIO with clang-14:

cmake .. -DCMAKE_C_COMPILER=clang-14 -DCMAKE_CXX_COMPILER=clang++-14 -DDISABLE_WARNINGS=ON
cmake --build .

The build fails with the following message:
CMake Error at /tmp/dynamorio/core/CMake_symbol_check.cmake:79 (message):
  *** /usr/bin/readelf failed: ***

  readelf: Warning: Unrecognized form: 37

  readelf: Warning: Unrecognized form: 37

  readelf: Warning: Unrecognized form: 37

  readelf: Warning: Unsupported form (Unknown FORM value: 25) for attribute
  DW_AT_comp_dir

  readelf: Warning: Unrecognized form: 27

  readelf: Warning: Unrecognized form: 38

  readelf: Warning: Unrecognized form: 27

  readelf: Warning: Unrecognized form: 38

  readelf: Warning: Unrecognized form: 37

  readelf: Warning: Unrecognized form: 38

  readelf: Warning: Unrecognized form: 38

  readelf: Warning: Unrecognized form: 37

  readelf: Warning: DIE at offset 0x1a5 refers to abbreviation number 3105
  which does not exist

Alexey Vishnyakov

unread,
Oct 20, 2022, 11:37:14 AM10/20/22
to DynamoRIO Users
Updating binutils resolved this issue

среда, 19 октября 2022 г. в 16:09:09 UTC+3, Alexey Vishnyakov:
Reply all
Reply to author
Forward
0 new messages