[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <251580.1588912756@turing-police>
Date: Fri, 08 May 2020 00:39:16 -0400
From: "Valdis Klētnieks" <valdis.kletnieks@...edu>
To: Masahiro Yamada <masahiroy@...nel.org>,
Sam Ravnborg <sam@...nborg.org>,
"David S. Miller" <davem@...emloft.net>
Cc: netdev@...r.kernel.org, bpf@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: linux-next 20200506 - build failure with net/bpfilter/bpfilter_umh
My kernel build came to a screeching halt with:
CHECK net/bpfilter/bpfilter_kern.c
CC [M] net/bpfilter/bpfilter_kern.o
CC [U] net/bpfilter/main.o
LD [U] net/bpfilter/bpfilter_umh
/usr/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status
make[2]: *** [scripts/Makefile.userprogs:36: net/bpfilter/bpfilter_umh] Error 1
make[1]: *** [scripts/Makefile.build:494: net/bpfilter] Error 2
make: *** [Makefile:1726: net] Error 2
The culprit is this commit:
commit 0592c3c367c4c823f2a939968e72d39360fce1f4
Author: Masahiro Yamada <masahiroy@...nel.org>
Date: Wed Apr 29 12:45:15 2020 +0900
bpfilter: use 'userprogs' syntax to build bpfilter_umh
and specifically, this line:
+userldflags += -static
At least on Fedora, this dies an ugly death unless you have the glibc-static RPM
installed (which is *not* part of the glibc-devel RPM). Not sure how to fix this, or
give a heads-up that there's a new requirement that might break the build.
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists