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

cling only works from build directory fails badly from anywhere else #514

Open
grizzlysmit opened this issue Jan 12, 2024 · 1 comment
Open
Labels

Comments

@grizzlysmit
Copy link

grizzlysmit commented Jan 12, 2024

  • [x ] Checked for duplicates

Describe the bug

segfaults on start if I start it anywhere but the build directory

Expected behavior

I expect it to just run

To Reproduce

build according to these instructions a https://root.cern/cling/cling_build_instructions/ doing the manual build nothing else worked at all.
then try running doesn't work on any directory but the build dir clearly some paths need setting

14:40:33 θ69° grizzlysmit@pern:~ 3s $ cling
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  cling     0x00005633f7726ed2 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 66
1  cling     0x00005633f772458b
2  libc.so.6 0x00007f1c71842910
3  cling     0x00005633fc3f39e4
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.	Program arguments: cling
Segmentation fault (core dumped)

Setup

15:42:34 θ65° grizzlysmit@pern:~ $ cling --version
1.1~dev

os ubuntu 23.10

15:31:53 θ72° grizzlysmit@pern:~ 139 $ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 23.10
Release:	23.10
Codename:	mantic
15:42:19 θ67° grizzlysmit@pern:~ $ uname -a
Linux pern 6.5.0-14-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 14 14:59:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

built according to these instructions a https://root.cern/cling/cling_build_instructions/ doing the manual build nothing else worked at all.

Additional context

I tried removing all the clang stuff from my box made no diff about to rebuild see if that helps

@grizzlysmit
Copy link
Author

rebuild with none of the clang stuff there didn't make any diff there must be configs or some such that I need

@grizzlysmit grizzlysmit changed the title cling only wors from build directory fails badly from anywhere else cling only works from build directory fails badly from anywhere else Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant