slurm-19.05.5-1.fc32 fails to build in F32: libtool: link: gcc -shared -fPIC -DPIC .libs/dist_tasks.o .libs/job_test.o .libs/select_cons_tres.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -pthread -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z -Wl,lazy -pthread -Wl,-soname -Wl,select_cons_tres.so -o .libs/select_cons_tres.so /usr/bin/ld: .libs/select_cons_tres.o:(.bss+0xb0): multiple definition of `node_record_table_ptr'; .libs/job_test.o:(.bss+0x8): first defined here /usr/bin/ld: .libs/select_cons_tres.o:(.bss+0x6a0): multiple definition of `slurmctld_config'; .libs/job_test.o:(.bss+0x20): first defined here /usr/bin/ld: .libs/select_cons_tres.o:(.bss+0xa0): multiple definition of `job_list'; .libs/job_test.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status make[5]: *** [Makefile:577: select_cons_tres.la] Error 1 make[5]: Leaving directory '/home/test/fedora/slurm/slurm-19.05.5/src/plugins/select/cons_tres' A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/7736161>. This is probably triggered with an upgrade of gcc from 9.2.1-1.fc32.3 to 10.0.1-0.3.fc32.
It's the new gcc 10 default of -fno-common. I pushed and tested a workaround fix to master (using -fcommon) and filed a bug upstream for them to add the needed externs in their headers. Closing.