https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93074
Bug ID: 93074 Summary: [10 regression] build FAIL with --enable-offload-targets=nvptx-none Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- r279700 PASS r279735 FAIL Fedora 31 x86_64 configure --disable-multilib --enable-offload-targets=nvptx-none make [...] libtool: compile: /home/dimhen/build/gcc_current/./gcc/xgcc -B/home/dimhen/build/gcc_current/./gcc/ -B/usr/local/x86_64-pc-linux-gnu/bin/ -B/usr/local/x86_64-pc-linux-gnu/lib/ -isystem /usr/local/x86_64-pc-linux-gnu/include -isystem /usr/local/x86_64-pc-linux-gnu/sys-include -fno-checking -DHAVE_CONFIG_H -I. -I/home/dimhen/src/gcc_current/libgomp -I/home/dimhen/src/gcc_current/libgomp/config/linux/x86 -I/home/dimhen/src/gcc_current/libgomp/config/linux -I/home/dimhen/src/gcc_current/libgomp/config/posix -I/home/dimhen/src/gcc_current/libgomp -I/home/dimhen/src/gcc_current/libgomp/../include -I/home/dimhen/src/gcc_current/libgomp/plugin/cuda -Wall -Werror -ftls-model=initial-exec -pthread -DUSING_INITIAL_EXEC_TLS -g -O2 -MT libgomp_plugin_nvptx_la-plugin-nvptx.lo -MD -MP -MF .deps/libgomp_plugin_nvptx_la-plugin-nvptx.Tpo -c /home/dimhen/src/gcc_current/libgomp/plugin/plugin-nvptx.c -fPIC -DPIC -o .libs/libgomp_plugin_nvptx_la-plugin-nvptx.o /home/dimhen/src/gcc_current/libgomp/plugin/cuda-lib.def:11:16: error: ‘cuDeviceGetName’ undeclared here (not in a function); did you mean ‘cuDeviceGet’? 11 | CUDA_ONE_CALL (cuDeviceGetName)