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

Build Failure in Intel_Gaudi3_Software Due to Incompatible hl-thunk References #3

Open
ywtien opened this issue Nov 17, 2024 · 0 comments

Comments

@ywtien
Copy link

ywtien commented Nov 17, 2024

Issue Description

I am encountering a build issue with the Intel_Gaudi3_Software repository. The build fails during the build_scal step due to missing or incompatible references in the hl-thunk library.

The initial error during the build process is as follows:

make[2]: *** No rule to make target '/home/ywtien/Intel_Gaudi3_Software/builds/latest/libhl-thunk.so', needed by 'lib/libscal.so'.  Stop.

To address this, I attempted to build libhl-thunk.so using the hl-thunk-open project. However, the resulting library appears to be incompatible with the Intel_Gaudi3_Software repository. During the linking phase, the following errors occurred:

/usr/bin/ld: CMakeFiles/scal_tests.dir/scal_gaudi3_test_nic_basic.cpp.o: in function `SCALGaudi3NicTest::initNics()':
/home/ywtien/Intel_Gaudi3_Software/scal/tests/scal_gaudi3_test_nic_basic.cpp:80: undefined reference to `hlthunk_nic_get_ports_masks'
/usr/bin/ld: ../lib/libscal.so: undefined reference to `hlthunk_nic_user_db_fifo_set'
/usr/bin/ld: ../lib/libscal.so: undefined reference to `hlthunk_nic_alloc_user_db_fifo'
collect2: error: ld returned 1 exit status

It seems that the symbols required by Intel_Gaudi3_Software are not present or differ in the hl-thunk-open library. Could you provide guidance on how to resolve this issue or specify the correct steps to obtain a compatible hl-thunk library for this repository?


Steps to Reproduce

  1. Clone the Intel_Gaudi3_Software repository.
  2. Set up the environment using habana_set_env_val.sh as instructed.
  3. Build the projects in the recommended order.
  4. The issue occurs during the build_scal step.

Environment Information

  • OS: Ubuntu 22.04.4
  • GCC: 11.4.0
  • CMake: 3.22.1
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

1 participant