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

Error when loading Linux kernel modules #339

Open
MikeWalrus opened this issue Dec 8, 2024 · 7 comments
Open

Error when loading Linux kernel modules #339

MikeWalrus opened this issue Dec 8, 2024 · 7 comments

Comments

@MikeWalrus
Copy link

When loading any Linux kernel module (with e.g. gimli's addr2line), the parser gives errors like this:
UnknownRangeListsEntry(DwRle(224)). Reproducible on ArchLinux and Ubuntu.

@philipc
Copy link
Contributor

philipc commented Dec 8, 2024

Sounds like an implementation defined extension. Which compiler version?

@MikeWalrus
Copy link
Author

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --enable-languages=ada,c,c++,d,fortran,go,lto,m2,objc,obj-c++,rust --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://gitlab.archlinux.org/archlinux/packaging/packages/gcc/-/issues --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.2.1 20240910 (GCC)

@philipc
Copy link
Contributor

philipc commented Dec 8, 2024

Can you provide a module that causes this error?

@MikeWalrus
Copy link
Author

@philipc
Copy link
Contributor

philipc commented Dec 8, 2024

gimli's dwarfdump works fine on it. I think the problem will be that addr2line is not handling relocations.

@MikeWalrus
Copy link
Author

Thanks! I'll close this issue then.

@philipc philipc transferred this issue from gimli-rs/gimli Dec 9, 2024
@philipc
Copy link
Contributor

philipc commented Dec 9, 2024

We should still fix this in addr2line.

@philipc philipc reopened this Dec 9, 2024
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

No branches or pull requests

2 participants