On Thu, Apr 20, 2017 at 1:43 AM, Heiko <bd09c6fmxoq2...@intermezzo.net> wrote:
> Hello Misc,
>
> I'm using current on amd64 (Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz,
> 3411.91 MHz)
>
> I noticed that with clang it needs 109 minutes for "make build" and
> before with gcc 32 minutes.
>
> Is this a normal behavior?

This is entirely unfair comparison. I've just make build yesterday
tree to verify your claims and honestly what I've seen is:

1) system/core is still built with cc which means gcc 4.2.1
2) added compiler_rt is built with clang
3) added libc++ is built with clang++
4) added LLVM needed by clang is build with clang++
5) added clang is build with clang++

so what you compare is:
- OpenBSD system/core build with GCC 4.2.1 (old system)
with
- OpenBSD system/core build with GCC 4.2.1 and Clang runtime libraries
and LLVM code and Clang itself built with Clang (new system)

IMHO very unfair comparison and you should really wait till OpenBSD
system/core is build with Clang and GCC 4.2.1 is removed from the
build process. Well, do not hold your breath for that to be comparable
in speed. LLVM/Clang is C++ beast and so it takes some time to compile
but at least the comparison would be more fair...

Reply via email to