Skip to content

Instantly share code, notes, and snippets.

View ysard's full-sized avatar
😉
I may be slow to respond.

ysard

😉
I may be slow to respond.
View GitHub Profile
@joanbm
joanbm / cuda-10.2-fix-glibc-2.42.patch
Created August 3, 2025 19:59
Fix for CUDA 10.2 for glibc 2.42
From 598bc565905de1de2146e781013882bc9577ff21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joan=20Bruguera=20Mic=C3=B3?= <joanbrugueram@gmail.com>
Date: Sun, 3 Aug 2025 19:43:40 +0000
Subject: [PATCH] Updates headers for glibc-2.42
Match the extern definitions in cuda-crt headers with the changes in glibc-2.42.
/usr/include/bits/mathcalls.h(206): error: exception specification is
incompatible with that of previous function "rsqrt"
/opt/cuda-10.2/include/crt/math_functions.h(684): here