LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-13-2021, 11:51 AM   #1
eduardr
Member
 
Registered: Sep 2011
Distribution: Slackware64 14.2+ (-current)
Posts: 81

Rep: Reputation: Disabled
gcc 10.3.0 breaks nvidia nccl


"The NVIDIA Collective Communication Library (NCCL) implements multi-GPU and multi-node communication primitives optimized for NVIDIA GPUs and Networking"

I filed an issue here:
https://github.com/NVIDIA/nccl/issues/494

Current workaround: download and downgrade to gcc-* 10.2.0:

Code:
#!/usr/bin/env bash

url='http://slackware.uk/cumulative/slackware64-current/slackware64/d'

files[0]='gcc-10.2.0-x86_64-3.txz'
files[1]='gcc-brig-10.2.0-x86_64-4.txz'
files[2]='gcc-g++-10.2.0-x86_64-3.txz'
files[3]='gcc-gdc-10.2.0-x86_64-4.txz'
files[4]='gcc-gfortran-10.2.0-x86_64-3.txz'
files[5]='gcc-gnat-10.2.0-x86_64-3.txz'
files[6]='gcc-go-10.2.0-x86_64-3.txz'
files[7]='gcc-objc-10.2.0-x86_64-3.txz'

for file in "${files[@]}"
do
   :
   wget "${url}/${file}"
done

If Nvidia doesn't get around to fixing the issue anytime soon, I may have to again resort to building and maintaining a set of custom gcc packages (gcc10.2-*) which I install to /opt/gnu/gcc and pass those paths to any tools that use nvidia stuff. Have previously had to do this for ex. to provide gcc8 to the nvidia stack when it took nvidia years to support gcc9.

Last edited by eduardr; 04-13-2021 at 11:55 AM. Reason: Typo
 
Old 04-13-2021, 12:12 PM   #2
eduardr
Member
 
Registered: Sep 2011
Distribution: Slackware64 14.2+ (-current)
Posts: 81

Original Poster
Rep: Reputation: Disabled
Subject might be incorrect - should probably be 'nccl breaks gcc' . In which case I'll prob have to file a bug to the gcc project.
 
Old 04-25-2021, 09:47 AM   #3
eduardr
Member
 
Registered: Sep 2011
Distribution: Slackware64 14.2+ (-current)
Posts: 81

Original Poster
Rep: Reputation: Disabled
Possibly relevant GCC issues:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100101
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100102
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100240

Once the issue is fixed, hopefully there will be patches we can apply to GCC 10.3, because the GCC bug reports only mention changes being made to GCC 12 (-next I guess), and backported to GCC 11.

GCC bug reports that mention ICE > ICE = "internal compiler error"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Force breaks to avoid eye strain (typing breaks) upnort Slackware 12 09-19-2019 03:43 PM
Upgrading Multilib GCC/GLIBC breaks GCC. DruidPeter Slackware 5 06-27-2016 06:00 PM
aptitude -f install Fails as "gcc-4.9-base" breaks "gcc-4.4-base" isaacarsenal Debian 2 07-04-2015 12:32 AM
LXer: GCC 4.9 vs. GCC 5.1 vs. GCC 6.0 SVN Compiler Benchmarks LXer Syndicated Linux News 0 06-08-2015 01:00 PM
[SOLVED] SEGMENTATION FAULT using gcc 4.4.4 -O2 , works with gcc 4.1.0 -O2 or gcc 4.4.4 -O1 amir1981 Programming 36 07-26-2010 06:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration