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

CommandLine Error under LLVM 7.0.1 (Arch) #357

Open
ProfFan opened this issue Mar 5, 2019 · 7 comments
Open

CommandLine Error under LLVM 7.0.1 (Arch) #357

ProfFan opened this issue Mar 5, 2019 · 7 comments

Comments

@ProfFan
Copy link
Contributor

ProfFan commented Mar 5, 2019

Compiled using CMake

$ bin/terra 
: CommandLine Error: Option 'help-list' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
@ProfFan
Copy link
Contributor Author

ProfFan commented Mar 5, 2019

Seems to be a problem with static linkage

Works fine if LLVM is dynamically linked.

@elliottslaughter
Copy link
Member

Interesting. Are you building LLVM from source or using Arch's packages?

@ProfFan
Copy link
Contributor Author

ProfFan commented Mar 6, 2019

Using Arch's packages. Googling suggests that we are loading multiple copies of LLVM?

@elliottslaughter
Copy link
Member

@ProfFan does this still reproduce and if so can you give us a set of instructions (e.g. that can be executed within docker -ti arch ... or similar) so we can test this ourselves?

@ProfFan
Copy link
Contributor Author

ProfFan commented Jan 30, 2020

I think this is because LLVM is linked in twice somehow. However I do not currently have time for this...

@ProfFan
Copy link
Contributor Author

ProfFan commented Jul 15, 2021

#477

@elliottslaughter
Copy link
Member

Just wanted to mention #477 has been fixed by using Ubuntu's first-party repos instead of LLVM's ones. It may be that there are packaging issues here too.

As before though, any attempt to fix this will need a way to reproduce (e.g., a Docker command line and short set of instructions would be best).

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