All of lore.kernel.org
 help / color / mirror / Atom feed
* linux-next 20200506 - build failure with net/bpfilter/bpfilter_umh
@ 2020-05-08  4:39 Valdis Klētnieks
  2020-05-09  3:45 ` Masahiro Yamada
  0 siblings, 1 reply; 3+ messages in thread
From: Valdis Klētnieks @ 2020-05-08  4:39 UTC (permalink / raw)
  To: Masahiro Yamada, Sam Ravnborg, David S. Miller; +Cc: netdev, bpf, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 971 bytes --]

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@kernel.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.


[-- Attachment #2: Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-09  4:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-08  4:39 linux-next 20200506 - build failure with net/bpfilter/bpfilter_umh Valdis Klētnieks
2020-05-09  3:45 ` Masahiro Yamada
2020-05-09  4:39   ` Valdis Klētnieks

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.