[Bug bootstrap/92314] [10 regression] missing omp-device-properties', needed by 's-omp-device-properties-h'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92314 --- Comment #11 from CVS Commits --- The master branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:d20219b5ab26cd003ae78ac9f82be337fe4df261 commit r10-8036-gd20219b5ab26cd003ae78ac9f82be337fe4df261 Author: Thomas Schwinge Date: Thu Apr 23 21:59:07 2020 +0200 Harden and adjust 'gcc/configure' parsing of '--enable-offload-targets' Fix-up for commit d228ee80f8578be474595a517a228111fac26c5e "re PR bootstrap/92314 (missing omp-device-properties', needed by 's-omp-device-properties-h')". gcc/ * configure.ac <$enable_offload_targets>: Do parsing as done elsewhere. * configure: Regenerate.
[Bug bootstrap/92314] [10 regression] missing omp-device-properties', needed by 's-omp-device-properties-h'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92314 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED Target Milestone|--- |10.0 --- Comment #10 from Jakub Jelinek --- Should be fixed now.
[Bug bootstrap/92314] [10 regression] missing omp-device-properties', needed by 's-omp-device-properties-h'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92314 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Fri Nov 1 23:34:21 2019 New Revision: 277735 URL: https://gcc.gnu.org/viewcvs?rev=277735&root=gcc&view=rev Log: PR bootstrap/92314 * configure.ac: Don't look for omp-device-properties files from installed offloading compilers. Instead add tmake_file snippets for configured offloading targets and use files they generate. * Makefile.in (install): Don't depend on install-omp-device-properties. (install-omp-device-properties): Remove goal. * config/i386/t-omp-device: New file. * config/i386/t-intelmic (omp-device-properties): Remove goal. * config/nvptx/t-omp-device: New file. * config/nvptx/t-nvptx (omp-device-properties): Remove goal. * configure: Regenerated. Added: trunk/gcc/config/i386/t-omp-device trunk/gcc/config/nvptx/t-omp-device Modified: trunk/gcc/ChangeLog trunk/gcc/Makefile.in trunk/gcc/config/i386/t-intelmic trunk/gcc/config/nvptx/t-nvptx trunk/gcc/configure trunk/gcc/configure.ac
[Bug bootstrap/92314] [10 regression] missing omp-device-properties', needed by 's-omp-device-properties-h'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92314 Jakub Jelinek changed: What|Removed |Added Status|RESOLVED|ASSIGNED Last reconfirmed||2019-11-01 Resolution|INVALID |--- Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #8 from Jakub Jelinek --- Created attachment 47155 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47155&action=edit gcc10-pr92314.patch As per IRC discussions, here is only lightly tested approach that doesn't need the offloading compiler at gcc build time again.
[Bug bootstrap/92314] [10 regression] missing omp-device-properties', needed by 's-omp-device-properties-h'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92314 --- Comment #7 from Jakub Jelinek --- I'd suggest once you build the --enable-as-accelerator-for= compiler, install it in whatever temporary location you pick and then use nvptx-none=/path/to/that so that it can find it.
[Bug bootstrap/92314] [10 regression] missing omp-device-properties', needed by 's-omp-device-properties-h'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92314 Martin Liška changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment #6 from Martin Liška --- Richi, we are suffering from this issue in our gcc10 package. Do you have any idea how can we fix that?
[Bug bootstrap/92314] [10 regression] missing omp-device-properties', needed by 's-omp-device-properties-h'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92314 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #5 from Martin Liška --- *** Bug 92316 has been marked as a duplicate of this bug. ***
[Bug bootstrap/92314] [10 regression] missing omp-device-properties', needed by 's-omp-device-properties-h'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92314 --- Comment #4 from Dmitry G. Dyachenko --- Thank for clarification. Sorry for noise
[Bug bootstrap/92314] [10 regression] missing omp-device-properties', needed by 's-omp-device-properties-h'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92314 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #3 from Jakub Jelinek --- (In reply to Dmitry G. Dyachenko from comment #2) > I use system compiler for bootstrap: gcc9/Fedora31 > > Did I understood you correctly: I need offloading compiler installed after > r277662 if I say '--enable-offload-targets=nvptx-none' ? > > so invalid PR? You needed it always, see http://gcc.gnu.org/wiki/Offloading . Furthermore, the installed offloading compiler needs to be the same gcc snapshot (or at least almost, so that the LTO in between is compatible among other things). Previously one would run into issues only during testing though.
[Bug bootstrap/92314] [10 regression] missing omp-device-properties', needed by 's-omp-device-properties-h'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92314 --- Comment #2 from Dmitry G. Dyachenko --- I use system compiler for bootstrap: gcc9/Fedora31 Did I understood you correctly: I need offloading compiler installed after r277662 if I say '--enable-offload-targets=nvptx-none' ? so invalid PR?
[Bug bootstrap/92314] [10 regression] missing omp-device-properties', needed by 's-omp-device-properties-h'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92314 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek --- Do you have the offloading compiler installed in /usr/local/gcc_current/lib{,exec}/gcc/... ? Is it a recent version (r277662 or later)? If it is installed, but say with a special DESTDIR or with different prefix at install time, one needs to configure --enable-offloading-targets=nvptx-none=/whatever/path/the/nvptx-none/compiler/is/installed/at/