-
Notifications
You must be signed in to change notification settings - Fork 769
Build Issues with Cray Compilers for CUDA backend #16677
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
Comments
|
What linker is being used in this configuration? |
@kbenzie It's a c++ linker |
That's the compiler not the linker, the compiler invokes the linker to link objects together. The linker exists at |
Hi @abagusetty, we think we've found the issue here: in the UR CMake, the flag diff --git a/cmake/helpers.cmake b/cmake/helpers.cmake
index bdd4a6d1..78b7df51 100644
--- a/cmake/helpers.cmake
+++ b/cmake/helpers.cmake
@@ -158,9 +158,9 @@ function(add_ur_target_link_options name)
target_link_options(${name} PRIVATE -Werror -Wextra)
endif()
if (CMAKE_BUILD_TYPE STREQUAL "Release")
- target_link_options(${name} PRIVATE
- $<$<CXX_COMPILER_ID:GNU>:-pie>
- )
+ #target_link_options(${name} PRIVATE
+ # $<$<CXX_COMPILER_ID:GNU>:-pie>
+ #)
endif()
endif()
elseif(MSVC) From your build directory, you can apply this in the folder _deps/unified-runtime-src/ @kbenzie is going to work on a proper fix in the Unified Runtime source. |
Fixes intel/llvm#16677 by only setting `-pie` linker object in Release builds on executables rather than on any type of target.
Addresses intel/llvm#16677 by only setting `-pie` linker object in Release builds on executables rather than on any type of target.
Addresses intel/llvm#16677 by only setting `-pie` linker option in Release builds on executables rather than on any type of target.
Addresses intel/llvm#16677 by only setting `-pie` linker option in Release builds on executables rather than on any type of target.
Fixes intel#16677 by only setting `-pie` linker option in Release builds on executables rather than on any type of target.
Addresses intel#16677 by only setting `-pie` linker option in Release builds on executables rather than on any type of target.
Fixes intel#16677 by only setting `-pie` linker option in Release builds on executables rather than on any type of target.
Fixes intel#16677 by only setting `-pie` linker option in Release builds on executables rather than on any type of target.
Fixes #16677 by only setting `-pie` linker option in Release builds on executables rather than on any type of target.
Describe the bug
Hi,
I have had success in building the CUDA and HIP backend with Cray compilers in the past on SLES 15-SP5 OS. Using the following build script lead me to some build issues on ALCF Polaris. It shouldn't matter though but tried with both Ninja and gmake builds and both pointed me to the same error. I am not sure if this has anything to do with GLIBC versions mismatch or GCC-toolchain path etc.
Error:
Verbose output:
Compiler versions:
To reproduce
No response
Environment
clang++ --version
]sycl-ls --verbose
]Additional context
No response
The text was updated successfully, but these errors were encountered: