-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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(linux/fedora): Reenable Cuda support by building with gcc-12 #2654
Conversation
#21 246.4 input.cpp:(.text._ZN5platf11input_raw_t13clear_gamepadEi[_ZN5platf11input_raw_t13clear_gamepadEi]+0xad2): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace_cold(char*, unsigned long, char const*, unsigned long, unsigned long)'
#21 246.4 /usr/bin/ld: CMakeFiles/sunshine.dir/src/nvenc/nvenc_base.cpp.o: in function `nvenc::nvenc_base::nvenc_failed(_NVENCSTATUS) [clone .cold]':
#21 246.4 nvenc_base.cpp:(.text.unlikely+0xa5): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace_cold(char*, unsigned long, char const*, unsigned long, unsigned long)'
#21 246.4 /usr/bin/ld: CMakeFiles/sunshine.dir/src/nvenc/nvenc_base.cpp.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::insert(unsigned long, char const*)':
#21 246.4 nvenc_base.cpp:(.text._ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6insertEmPKc[_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6insertEmPKc]+0x10f): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace_cold(char*, unsigned long, char const*, unsigned long, unsigned long)'
#21 246.5 /usr/bin/ld: /usr/lib64/libboost_locale.so.1.83.0: undefined reference to `std::ios_base_library_init()@GLIBCXX_3.4.32'
#21 246.5 /usr/bin/ld: /usr/lib64/libboost_log.so.1.83.0: undefined reference to `__cxa_call_terminate@CXXABI_1.3.15'
#21 246.6 collect2: error: ld returned 1 exit status
#21 246.6 make[2]: *** [CMakeFiles/sunshine.dir/build.make:837: sunshine-0.0.0.ba6524c6aca2e9020a9e9b54d4433bd9e94d9e82] Error 1
#21 246.6 make[1]: *** [CMakeFiles/Makefile2:191: CMakeFiles/sunshine.dir/all] Error 2
#21 246.6 make[1]: *** Waiting for unfinished jobs.... Computer say no. I bumped cuda from 12.4.0 to 12.5.0 but i doubt that this is the issue.. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2654 +/- ##
=========================================
- Coverage 7.98% 7.78% -0.21%
=========================================
Files 88 88
Lines 18039 18031 -8
Branches 8596 8596
=========================================
- Hits 1441 1404 -37
- Misses 13757 13872 +115
+ Partials 2841 2755 -86
Flags with carried forward coverage won't be shown. Click here to find out more. |
@ReenigneArcher I'll reopen one again when I either find a possibility to use a statically linked 13.2 boost lib additionally to cuda-gcc-c++ or when cuda 12.6 releases which hopefully supports gcc14 |
Thanks! I'm also working on statically linking boost in #2628 but facing some annoyances on macOS. |
Description
Reenable cuda again by compiling it using cuda-gcc-c++
Issues Fixed or Closed
Type of Change
.github/...
)Checklist
Branch Updates
LizardByte requires that branches be up-to-date before merging. This means that after any PR is merged, this branch
must be updated before it can be merged. You must also
Allow edits from maintainers.
Duplicates #2649