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

ARM support for dependency setup (TXL and codequery) #37

Open
tianrendong opened this issue Dec 12, 2022 · 8 comments
Open

ARM support for dependency setup (TXL and codequery) #37

tianrendong opened this issue Dec 12, 2022 · 8 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@tianrendong
Copy link

tianrendong commented Dec 12, 2022

Is your feature request related to a problem? Please describe.
The problem is many dependencies of the OPENED tool isn't supported on ARM architecture. Specifically, they are gcc-multilib, codequery, and TXL. There is an alternative package to substitute gcc-multilib. The qt5-default dependency of codequery is also not supported, but there might be an alternative.

There's no alternative for TXL on ARM architectures.

Describe the solution you'd like
A docker container for setting up the dependencies for OPENED, targeted at ARM architectures specifically.

Describe alternatives you've considered
There's an alternative package to use on ARM architecture for gcc-multilib, but no working alternatives have been found for codequery and TXL:

  • gcc-multilib is not supported on ARM architectures. A working solution is to install the gcc-multilib-i686-linux-gnu package instead. However, with this alternative packet, the C_INCLUDE_PATH var needs to be changed to /usr/include/aarch64-linux-gnu/ by running export C_INCLUDE_PATH=/usr/include/aarch64-linux-gnu/ for example.
  • codequery dependency qt5-default is not support on ARM architecture. We haven't found an alternative solution to this issue yet.
  • TXL does not support ARM and there's currently no alternative solution.
@tianrendong tianrendong changed the title ARM support ARM support for dependency setup (TXL and codequery) Dec 12, 2022
@sdsen sdsen added the help wanted Extra attention is needed label Dec 13, 2022
@sdsen
Copy link
Member

sdsen commented Dec 13, 2022

Thanks for the update @tianrendong. We will try to debug this. By any chance can you share:

  1. Some logs/screenshots of these errors
  2. Specific details of the system (hw/sw) on which you encountered the issue.
    This will help us replicate and debug.

@sdsen
Copy link
Member

sdsen commented Dec 19, 2022

http://txl.ca/txl-download.html has an option for "Mac OS X 10.12 or later (64 bit) LLVM 10.0 or later command line tools", needs to be checked.

@sdsen
Copy link
Member

sdsen commented Dec 19, 2022

codequery seems to have a brew install option as well.

@sdsen sdsen added bug Something isn't working good first issue Good for newcomers labels Dec 19, 2022
@tianrendong
Copy link
Author

tianrendong commented Dec 20, 2022

http://txl.ca/txl-download.html has an option for "Mac OS X 10.12 or later (64 bit) LLVM 10.0 or later command line tools", needs to be checked.

I'm trying to install TXL on a VM running Debian linux, should I still check Mac OS X?

Same question with codequery (on a Linux VM and not Mac OS).

@tianrendong
Copy link
Author

tianrendong commented Dec 20, 2022

Thanks for the update @tianrendong. We will try to debug this. By any chance can you share:

  1. Some logs/screenshots of these errors
  2. Specific details of the system (hw/sw) on which you encountered the issue.
    This will help us replicate and debug.

I'm setting up opened inside a VM running Debian Bullseye on an M1 Macbook Air. The linux kernel version of the VM is 5.10.0-19-arm64.

The specific error I encountered is shown here in the screenshot:
image

The error is related to "Exec format error".

@sdsen
Copy link
Member

sdsen commented Dec 20, 2022

@palanik1 can you check on OSX and sugest ?

http://txl.ca/txl-download.html has an option for "Mac OS X 10.12 or later (64 bit) LLVM 10.0 or later command line tools", needs to be checked.

I'm trying to install TXL on a VM running Debian linux, should I still check Mac OS X?

Same question with codequery (on a Linux VM and not Mac OS).

@palanik1
Copy link
Member

I have a mac OSX Intel machine...docker and the rest of the toolchain seem to work fine..

@sdsen
Copy link
Member

sdsen commented Dec 20, 2022

@tianrendong maybe try once on OSX ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants