https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92316
Bug ID: 92316 Summary: [10 Regression] --enable-offload-targets=nvptx-none leads to build error Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: jakub at gcc dot gnu.org Target Milestone: --- I can't build a compiler with offloading capability: $ ~/Programming/gcc/configure --enable-languages=c,c++,fortran,lto --prefix=/home/marxin/bin/gcc --disable-multilib --disable-libsanitizer --disable-bootstrap --enable-offload-targets=nvptx-none=/usr/nvptx-none --without-cuda-driver ... $ make ... make[2]: Entering directory '/dev/shm/objdir2/zlib' true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=-static-libstdc++ -static-libgcc " "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/home/marxin/bin/gcc" "infodir=/home/marxin/bin/gcc/share/info" "libdir=/home/marxin/bin/gcc/lib64" "prefix=/home/marxin/bin/gcc" "tooldir=/home/marxin/bin/gcc/x86_64-pc-linux-gnu" "AR=ar" "AS=as" "CC=gcc" "CXX=g++" "LD=/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld" "LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do # make make[2]: Leaving directory '/dev/shm/objdir2/zlib' make[2]: Entering directory '/dev/shm/objdir2/libbacktrace' make all-am make[3]: Entering directory '/dev/shm/objdir2/libbacktrace' true DO=all multi-do # make make[3]: Leaving directory '/dev/shm/objdir2/libbacktrace' make[2]: Leaving directory '/dev/shm/objdir2/libbacktrace' make[2]: Entering directory '/dev/shm/objdir2/libcpp' test -f config.h || (rm -f stamp-h1 && make stamp-h1) make[2]: Leaving directory '/dev/shm/objdir2/libcpp' make[2]: Entering directory '/dev/shm/objdir2/libdecnumber' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/dev/shm/objdir2/libdecnumber' make[2]: Entering directory '/dev/shm/objdir2/gcc' make[2]: *** No rule to make target '/usr/nvptx-none/lib/gcc/x86_64-pc-linux-gnu/10.0.0/accel/nvptx-none/omp-device-properties', needed by 's-omp-device-properties-h'. Stop. make[2]: Leaving directory '/dev/shm/objdir2/gcc' make[1]: *** [Makefile:4359: all-gcc] Error 2 make[1]: Leaving directory '/dev/shm/objdir2' make: *** [Makefile:958: all] Error 2