# Recommended update for nvptx-tools Announcement ID: SUSE-RU-2024:3215-1 Rating: moderate References: * jsc#PED-10474 Affected Products: * Development Tools Module 15-SP5 * Development Tools Module 15-SP6 * openSUSE Leap 15.5 * openSUSE Leap 15.6 * SUSE Linux Enterprise Desktop 15 SP5 * SUSE Linux Enterprise Desktop 15 SP6 * SUSE Linux Enterprise High Performance Computing 15 SP5 * SUSE Linux Enterprise Real Time 15 SP5 * SUSE Linux Enterprise Real Time 15 SP6 * SUSE Linux Enterprise Server 15 SP5 * SUSE Linux Enterprise Server 15 SP6 * SUSE Linux Enterprise Server for SAP Applications 15 SP5 * SUSE Linux Enterprise Server for SAP Applications 15 SP6 An update that contains one feature can now be installed. ## Description: This update for nvptx-tools fixes the following issues: Update to version 1.0+git.20240530.96f8fc5: * ld: Global constructor/destructor support * Build in C++11 mode * Import 'config/ax_cxx_compile_stdcxx.m4' from GCC * Replace 'nvptx-none-run-single' with a locking mechanism in 'nvptx-none- run.exp' * Change github.com/MentorEmbedded to github.com/SourceryTools Update to version 1.0+git.20240419.9962793: * as: Document current handling of '//:IND_FUNC_MAP' [#45] * Handle ":IND_FUNC_MAP" in nvptx-as to ensure map-directive order is kept * Handle --hash-style argument in nvptx-ld Update to version 1.0+git.20230913.c321f1a: * as: Allow for arbitrary number of tokens in a 'stmt' * Ensure :VAR_MAP and :FUNC_MAP are output in order, part II [#29] * Ensure :VAR_MAP and :FUNC_MAP are output in order: add more test cases [#29] * as: Pass 'Vis' into 'parse_line_nosemi' * as: Inline 'alloc_comment' * as: When tokenizing a block comment, don't lose a preceding end of line marker * as: Add 'test/as/block_comment-1.test' * Bump architecture baseline from sm_35 to sm_50 [#30] * as: Remove unused 'FUNC_MAP', 'VAR_MAP' scanning * as: Clean up 'symbol's via C++ destructor * Enable 'test/as/ptxas/missing-1.test' also if 'ptxas' is available * Adjust for 'pex_run' error message change in "Update imported files: GCC, 2018-10-29 [#1, #42]" * Note "Imported Files" in 'README-development' [#1] * Add 'move-if-change' [#1] * Remove 'acinclude.m4' * Don't use 'gcc_AC_PROG_INSTALL'; use standard 'AC_PROG_INSTALL' * Don't use 'gcc_AC_PROG_LN_S'; assume that 'ln -s' does work * Have 'aclocal.m4' be "generated automatically by aclocal" * Move 'ACX_PKGVERSION', 'ACX_BUGURL' into 'config/acx.m4' * Ensure :VAR_MAP and :FUNC_MAP are output in order Update to version 1.0+git.20230718.bbb6fe6: * Document "Program Instrumentation: Sanitizers" in 'README-development' * run: Move 'cuModuleGetFunction' for '__main' out of 'compile_file' * run: Plug 'compile_file' memory leaks * run: Localize 'cuda_lib' * as: Localize 'collect_wait' * as: Don't 'unlink (NULL)' * as: Don't use an obstack for 'ptxas' invocation [#1] * ld: Remove unused '#include "obstack.h"' [#1] * ld, nm: Stop 'using namespace std;' * run: For auto '\--stack-size', consider free instead of total device memory [#8] * ld: Support archives appearing as input files * ld: Don't reject empty archives * ld: Make resolving of '-l'ibraries a separate step * ld: Verify no NUL-separated parts for 'process_refs_defs' * ld: Fix undefined behavior reading objects from archives * ld: Document padding of objects in archives * as: Plug 'alloc_stmt' memory leak * as: Plug 'read_file' memory leak * as: Plug 'tokenize' memory leak * as: Conceptually simplify capture of preamble '.target' directive's argument * 'test/GLOBAL_FUNCTION_DECL_f.s': 'f' is '.extern', not '.visible' [#38] Update to version 1.0+git.20230122.93e0090: * nm: '#define __STDC_FORMAT_MACROS' for '#include <inttypes.h>' [#40] * 'nm' * ld: Clean up the 'symbol_table' when we're done * as: Clean up the 'symbol_table' when we're done * ld: Clean up 'file_hash_entry' instances when we're done with the 'symbol_table' * as: Always 'free' the 'tok_preamble_target_arg'-deduced 'target_arg' string after 'ptxas' verification * as: 'obstack_free' after 'ptxas' verification * run: Close files after use ## Patch Instructions: To install this SUSE update use the SUSE recommended installation methods like YaST online_update or "zypper patch". Alternatively you can run the command listed for your product: * openSUSE Leap 15.5 zypper in -t patch openSUSE-SLE-15.5-2024-3215=1 * openSUSE Leap 15.6 zypper in -t patch openSUSE-SLE-15.6-2024-3215=1 * Development Tools Module 15-SP5 zypper in -t patch SUSE-SLE-Module-Development-Tools-15-SP5-2024-3215=1 * Development Tools Module 15-SP6 zypper in -t patch SUSE-SLE-Module-Development-Tools-15-SP6-2024-3215=1 ## Package List: * openSUSE Leap 15.5 (aarch64 x86_64) * nvptx-tools-debugsource-1.0+git.20240530.96f8fc5-150000.4.9.1 * nvptx-tools-1.0+git.20240530.96f8fc5-150000.4.9.1 * nvptx-tools-debuginfo-1.0+git.20240530.96f8fc5-150000.4.9.1 * openSUSE Leap 15.6 (aarch64 x86_64) * nvptx-tools-debugsource-1.0+git.20240530.96f8fc5-150000.4.9.1 * nvptx-tools-1.0+git.20240530.96f8fc5-150000.4.9.1 * nvptx-tools-debuginfo-1.0+git.20240530.96f8fc5-150000.4.9.1 * Development Tools Module 15-SP5 (aarch64 x86_64) * nvptx-tools-debugsource-1.0+git.20240530.96f8fc5-150000.4.9.1 * nvptx-tools-1.0+git.20240530.96f8fc5-150000.4.9.1 * nvptx-tools-debuginfo-1.0+git.20240530.96f8fc5-150000.4.9.1 * Development Tools Module 15-SP6 (aarch64 x86_64) * nvptx-tools-debugsource-1.0+git.20240530.96f8fc5-150000.4.9.1 * nvptx-tools-1.0+git.20240530.96f8fc5-150000.4.9.1 * nvptx-tools-debuginfo-1.0+git.20240530.96f8fc5-150000.4.9.1 ## References: * https://jira.suse.com/browse/PED-10474