https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119369
--- Comment #2 from Andrew Stubbs <ams at gcc dot gnu.org> --- We used to have work-arounds for ROCm runtime linker deficiencies, but these were removed in 2020, as they were no longer necessary when we moved to HSACOv3: https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=f64f0899ba14058534e19ee46cfbf6f921e4644c Something like this can probably be put back, if necessary.