[Crash-utility] [PATCH 0/4] A few makefile cleanups

HAGIO KAZUHITO(萩尾 一仁) k-hagio-ab at nec.com
Mon Dec 20 07:20:38 UTC 2021


Hi Sven,

-----Original Message-----
> Hi List,
> 
> i was looking into why crash doesn't compile with multiple jobs
> and prepared a few patches to make that work. While doing that,
> i also changed a few other things along the way.

Nice, I tried to do that before but could not succeed.

The patches enable the gdb part to be compiled with multiple jobs,
but it looks like the crash part is not still supported:

$ make -j 16 warn
...
  GEN    init.c
  CXX    init.o
make[5]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
gcc -c -g -DX86_64 -DLZO -DSNAPPY -DZSTD -DGDB_10_2 -g -O2 build_data.c -Wall -O2 -Wstrict-prototypes -Wmissing-prototypes -fstack-protector -Wformat-security
gcc -c -g -DX86_64 -DLZO -DSNAPPY -DZSTD -DGDB_10_2 -g -O2 main.c -Wall -O2 -Wstrict-prototypes -Wmissing-prototypes -fstack-protector -Wformat-security

Is it possible to support the crash part?

Thanks,
Kazu

> 
> Sven Schnelle (4):
>   make: set --no-print-directory once
>   extensions: fix defs.h dependency
>   make: use -C instead of (cd x; make)
>   make: replace make by $(MAKE)
> 
>  Makefile            | 61 +++++++++++++++++++++++----------------------
>  extensions/Makefile |  6 ++---
>  2 files changed, 34 insertions(+), 33 deletions(-)
> 
> --
> 2.32.0
> 
> --
> Crash-utility mailing list
> Crash-utility at redhat.com
> https://listman.redhat.com/mailman/listinfo/crash-utility





More information about the Crash-utility mailing list