Hi Alex, On Fri, Feb 21, 2020 at 07:38:20PM -0500, Alex Xu (Hello71) wrote: > -pipe reduces unnecessary disk wear for systems where /tmp is not a > tmpfs, slightly increases compilation speed, and avoids leaving behind > files when gcc crashes. > > According to the gcc manual, "this fails to work on some systems where > the assembler is unable to read from a pipe; but the GNU assembler has > no trouble". We already require GNU ld on all platforms, so this is not > an additional dependency. LLVM as also supports pipes. > > -pipe has always been used for most architectures, this change > standardizes it globally. Most notably, arm, arm64, riscv, and x86 are > affected. > > Signed-off-by: Alex Xu (Hello71) <alex_y_xu@xxxxxxxx> Do you have any numbers to show this is actually beneficial from a compilation time perspective? I ask because I saw an improvement in compilation time when removing -pipe from x86's KBUILD_CFLAGS in commit 437e88ab8f9e ("x86/build: Remove -pipe from KBUILD_CFLAGS"). For what it's worth, clang ignores -pipe so this does not actually matter for its integrated assembler. That type of change could have been a fluke but I guarantee people will care more about any change in compilation time than any of the other things that you mention so it might be wise to check on major architectures to make sure that it doesn't hurt. Cheers, Nathan