Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i#5860 glibc sym: Print whole symbol name in error message #7333

Merged
merged 1 commit into from
Mar 6, 2025

Conversation

derekbruening
Copy link
Contributor

@derekbruening derekbruening commented Mar 6, 2025

A too-recent symbol with a long name had its name omitted from our error message because readelf -s truncated it:

CMake Error at core/CMake_readelf.cmake:165 (message):
  *** Error:
  build_package/build_release-64/bin64/drconfig has too-recent import(s):

     GLOBAL DEFAULT  UND _[...]@GLIBC_2.34

Adding --wide produces the symbol name:

CMake Error at core/CMake_readelf.cmake:165 (message):
  *** Error:
  build_package/build_release-64/bin64/drconfig has too-recent import(s):

     GLOBAL DEFAULT  UND __libc_start_main@GLIBC_2.34
     GLOBAL DEFAULT  UND __libc_start_main@GLIBC_2.34

Issue: #5860

A too-recent symbol with a long name had its name omitted from our
error message because "readelf -s" truncated it:

```
CMake Error at core/CMake_readelf.cmake:165 (message):
  *** Error:
  build_package/build_release-64/bin64/drconfig has too-recent import(s):

     GLOBAL DEFAULT  UND _[...]@GLIBC_2.34
```

Adding `--wide` produces the symbol name:

```
CMake Error at core/CMake_readelf.cmake:165 (message):
  *** Error:
  build_package/build_release-64/bin64/drconfig has too-recent import(s):

     GLOBAL DEFAULT  UND __libc_start_main@GLIBC_2.34
     GLOBAL DEFAULT  UND __libc_start_main@GLIBC_2.34
```

Issue: #5860
@derekbruening derekbruening merged commit 813b9c3 into master Mar 6, 2025
26 checks passed
@derekbruening derekbruening deleted the i5860-sym-name-wide branch March 6, 2025 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants