Created attachment 281349 [details] defconfig since 5.0.0-rc7 (tested no one else before) I see with CONFIG_BPFILTER_UMH=y after make all -j8 >> buildlog.txt this: /usr/bin/ld: cannot find -lc collect2: error: ld returned 1 exit status make[2]: *** [scripts/Makefile.host:99: net/bpfilter/bpfilter_umh] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [scripts/Makefile.build:492: net/bpfilter] Error 2 make: *** [Makefile:1043: net] Error 2 make: *** Waiting for unfinished jobs.... attached defconfig, buildlog.txt
Created attachment 281351 [details] buildlog.txt
the box is Fedora 29 with gcc version 8.2.1 20181215 (Red Hat 8.2.1-6) (GCC)
I cannot reproduce this error in the bpf tree (both with CONFIG_BPFILTER_UMH=m and CONFIG_BPFILTER_UMH=y). And the error: /usr/bin/ld: cannot find -lc looks like you cannot link against libc. Please make sure you have a needed devel package installed.
@Michal thanks for support. Randy Dunlap mentioned this some days ago, so I think the error is on my side, but where ? Today I setup a virtual box with Fedora 29 (full updated) and with the attached devel libraries and hit the same error. any hints to investigate further
Created attachment 281897 [details] devel libraries install devel libraries install
@Ronald: could you also post your .config?
@Ronald: sorry, I realized that you posted it already, nevermind.
maybe a hint: I generate my .config this way: make KCONFIG_ALLCONFIG=defconfig alldefconfig
sudo dnf install glibc-static fixed it ! close this bug ?