OpenBSD Journal

clang(1) added to base on amd64 and i386

Contributed by rueda on from the the clanging is getting louder dept.

A series of commits, culminating in this one, have seen clang(1) added to the base system (as a non-default compiler) on the amd64 and i386 platforms:

CVSROOT:	/cvs
Module name:	src
Changes by:	deraadt@cvs.openbsd.org	2017/04/18 08:03:08

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

Log message:
ship clang with i386 and amd64.  It does not become the main compiler YET.
ok kettenis

Those playing along at home (or elsewhere!) should be sure to check the Following -current FAQ.

(Comments are closed)


  1. By Anonymous Coward (193.107.85.62) on

    Is it possible to use clang, to build the whole system include the kernel on amd64/current?

    1. By Anonymous Coward (188.104.108.193) on

      > Is it possible to use clang, to build the whole system include the kernel on amd64/current?

      No. Kernel build pukes on the inline assembly.

      Userland mostly compiles, except for some libraries and applications.

      1. By Anonymous Coward (107.203.157.198) on

        > > Is it possible to use clang, to build the whole system include the kernel on amd64/current?
        >
        > No. Kernel build pukes on the inline assembly.
        >
        > Userland mostly compiles, except for some libraries and applications.

        The focus is right now on getting ports to work properly.

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.]