OpenBSD Journal
Home : : Add Story : : Archives : : About : : Create Account : : Login :
Default compiler switched to clang on amd64 and i386
Contributed by rueda on Thu Jul 27 07:42:12 2017 (GMT)
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.

[topicopenbsd]

<< Add vmctl send and vmctl receive | Reply | Flattened | Collapsed | mandoc-1.14.2 released >>

Threshold: Help

Related Links
more by rueda


  Re: Default compiler switched to clang on amd64 and i386 (mod 1/1)
by journeysquid (Tor) on Thu Jul 27 14:26:09 2017 (GMT)
http://www.openbsd.org/donations.html
  Thanks! Looking forward to not having to build LLVM and its brethren as a dependency for Samba!
  [ Show thread ] [ Reply to this comment ] [ Mod Up ] [ Mod Down ]

  Re: Default compiler switched to clang on amd64 and i386 (mod 3/3)
by Amit Kulkarni (170.49.113.22) on Thu Jul 27 15:41:38 2017 (GMT)
  Well done team!
  [ Show thread ] [ Reply to this comment ] [ Mod Up ] [ Mod Down ]

  Re: Default compiler switched to clang on amd64 and i386 (mod 2/2)
by Anonymous Coward (93.39.155.222) on Thu Jul 27 17:32:55 2017 (GMT)
  Great news, GCC in base was starting to get really old. Let's hope to see better performing binaries too!
  [ Show thread ] [ Reply to this comment ] [ Mod Up ] [ Mod Down ]

  Re: Default compiler switched to clang on amd64 and i386 (mod 20/20)
by Marc Espie (espie) (espie@nerim.net) on Sat Jul 29 14:04:23 2017 (GMT)
  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!
  [ Show thread ] [ Reply to this comment ] [ Mod Up ] [ Mod Down ]

  Re: Default compiler switched to clang on amd64 and i386 (mod -1/3)
by Christopher (2600:8803:be00:719:ccb2:626b:3c4b:c7f5) on Mon Jul 31 22:25:22 2017 (GMT)
  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.
  [ Show thread ] [ Reply to this comment ] [ Mod Up ] [ Mod Down ]

[ Home | Add Story | Archives | Polls | About ]

Copyright © 2004-2008 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 April 2nd 2004 as well as images and HTML templates were copied from the fabulous original deadly.org with Jose's and Jim's kind permission. Some icons from slashdot.org used with permission from Kathleen. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. Search engine is ht://Dig. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]