Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jan 2014 00:14:45 GMT
From:      Dimitry Andric <dim@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/185430: [exp-run] Update clang to 3.4 release
Message-ID:  <201401030014.s030EjXu020134@freefall.freebsd.org>
Resent-Message-ID: <201401030020.s030K2Fh023670@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185430
>Category:       ports
>Synopsis:       [exp-run] Update clang to 3.4 release
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 03 00:20:02 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Dimitry Andric
>Release:        FreeBSD 11.0-CURRENT amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD freefall.freebsd.org 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r259961: Fri Dec 27 21:56:39 UTC 2013 peter@freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL amd64
>Description:
I intend to update clang in 11.0-CURRENT from 3.3 to 3.4 release.  See
also this thread on freebsd-toolchain@:

http://docs.freebsd.org/cgi/mid.cgi?541C998A-071A-4917-9D91-DD00CB0E2689

For ports, the most important change is most likely the more strict
option parsing introduced with clang 3.4.  In earlier releases, unknown
or unsupported command line options were ignored, with just a "argument
unused during compilation" warning.  From 3.4 onwards, such options will
result in a "unknown argument" error, instead.

The current patch, which must be applied to head r260207 or later, can
be downloaded here:

  http://www.andric.com/freebsd/clang/head-r260207-clang34-1.diff.xz

  SHA256 (head-r260207-clang34-1.diff.xz) = 02ddf89b5173bb1dac1e18e529b146ba5882f5ae6cb9c3527ef4eb514e17dd3c

To apply, unxz the file into a fresh head checkout, and run:

  svn patch head-r260207-clang34-1.diff

Please check carefully if Subversion reports no problems during
patching, as it is rather fragile.  Afterwards, you can do a normal
world and kernel build, and installation.
>How-To-Repeat:
n/a
>Fix:
n/a
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401030014.s030EjXu020134>