Store version info or MD5 hash of the shared TBB objects
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 25/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- cpp
- Domaine
- backend, build-system
Piste de recherche
Start by examining the RcppParallel v5.1.2 symlink handling for externally linked TBB libraries and the loading path for shared TBB objects. Investigate how TBB_INTERFACE_VERSION or an MD5 hash can be recorded at build time and checked before runtime loading. Done means mismatches produce a warning recommending package reinstallation rather than silently loading incompatible or missing libraries.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
RcppParallel v5.1.2+ creates symlinks of TBB libraries into the package directory if externally linked (see a1fddba85101886b35123c73054c0d904f747d11 & #161). This can break RcppParallel when the original files are moved, removed, or upgraded to an incompatible version (undefined references). We need to create a function that stores the version info (e.g., TBB_INTERFACE_VERSION), or MD5 hash of the shared TBB objects, at build time and check them at runtime, before loading. If there's a mismatch, we continue with a warning that recommends reinstalling the package to relink to (or build) the TBB libraries.
It's important to ensure the integrity of the shared TBB objects, before loading them. This will also inform the users if the package loading failed due to this issue.
- Langage dominant
- C++
- Étoiles
- 173
- Forks
- 60
- Merge moyen
- 1 h 55 min
- PR mergées (30 j)
- 2
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de RcppCore/RcppParallel
-
Difficulté 4/5 3-5 jours Accessibilité débutants 38/100
RcppCore/RcppParallel#239 · 6 commentaires ·
-
Errors during instalation Ouverte
Difficulté 3/5 1-2 jours Accessibilité débutants 20/100
RcppCore/RcppParallel#228 · 1 commentaire ·
-
Mac ARM installation failed Ouverte
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
RcppCore/RcppParallel#227 · 6 commentaires ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
RcppCore/RcppParallel#216 · 5 commentaires ·
-
Support of long vectors Ouverte
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 30/100
RcppCore/RcppParallel#213 ·
Toutes les issues de RcppCore/RcppParallel
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
-
Sensor initialization takes very long when `--initial-sim-time` is set to current UNIX timestamp Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
gazebosim/gz-sensors#662 · 1 commentaire ·
-
enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
-
comp-datalake
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
ClickHouse/ClickHouse#121222 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
LadybirdBrowser/ladybird#12123 ·