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

Sven Schnelle svens at linux.ibm.com
Mon Dec 20 09:27:58 UTC 2021


"HAGIO KAZUHITO(萩尾 一仁)" <k-hagio-ab at nec.com> writes:

> 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?

Yes, looks like i missed one occurrence in gdb-10.2.patch. I will send a
v2, which will also fix the missing --no-print-directory
removal. Thanks!

Sven





More information about the Crash-utility mailing list