News for hackers. Stuff that matters.
Re:60x speed-up of Linux “perf” by faho on Thursday September 09, 2021 @11:30AM (#28470777)
This... is some weirdness in Arch's clang package.

It depends on gcc, for some reason, and that depends on binutils?

(and I have no idea if anything here uses libbfd, since it's just a part of the binutils package and not split out)

Re:60x speed-up of Linux “perf” by dharmab on Thursday September 09, 2021 @12:35PM (#28471571)
Clang uses part of the host compiler toolchain; gcc is the default compiler on Arch included in the base package.

https://stackoverflow.com/a/38291698/4179075

Re:60x speed-up of Linux “perf” by thayne on Thursday September 09, 2021 @11:51AM (#28471019)
Maybe it depends on gcc so it can use gcc's assebler for inline assembly?
Re:60x speed-up of Linux “perf” by marcthe12 on Friday September 10, 2021 @01:50AM (#28478226)
no its for linking. basically clang unless configured in the source it does not know what link options to give. Actually even rust uses gcc or clang to do same thing.
Re:60x speed-up of Linux “perf” by account42 on Friday September 10, 2021 @05:50AM (#28479469)
Clang will also use libgcc by default under Linux to allow e.g. stack unwinding to work in mixed Clang + GCC applications.