OpenBSD Journal

Default compiler switched to clang on amd64 and i386

Contributed by rueda on from the clanging now extremely loud dept.

With this commit, the default compiler for (-current base system on the) amd64 and i386 platforms has been changed to clang(1):

CVSROOT:	/cvs
Module name:	src
Changes by:	robert@cvs.openbsd.org	2017/07/26 13:44:42

Modified files:
	share/mk       : bsd.own.mk 

Log message:
switch the default compiler on amd64 and i386 to clang,
but keep gcc4 in the build for these as well

ok deraadt@

The default compiler for ports has also changed for these platforms.

(Comments are closed)


Comments
  1. By Amit Kulkarni (170.49.113.22) on

    Well done team!

  2. By Anonymous Coward (93.39.155.222) on

    Great news, GCC in base was starting to get really old. Let's hope to see better performing binaries too!

  3. By Marc Espie (espie) espie@nerim.net on

    I'd like to take the opportunity to thank Yandex and their chief security officer Anton Karpov.

    They give me hosting on some build machines, which I've used extensively over the last 3 months, working on zapping depends from the tree, and on fixing roughly 500 ports for the switch to clang.

    There's absolutely zero way I would have been able to accomplish that in such a short time frame without those build machines, so we would probably still be a few months away from the clang switch.

    So thank you Anton!

  4. By Christopher (2600:8803:be00:719:ccb2:626b:3c4b:c7f5) on

    I've been waiting on this move for years. I'm very, very glad! Does that mean CLANG supports the security features that OpenBSD requires? I imagine the binaries will be much faster now. Next, fine grained SMP support and TRIM for SSDs and I'll be satisfied.

Credits

Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original deadly.org with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]