ports/145379: [clang] build sysutils/biosfont with llvm/clang

Rene Ladan rene at FreeBSD.org
Sun Apr 4 15:30:09 UTC 2010


>Number:         145379
>Category:       ports
>Synopsis:       [clang] build sysutils/biosfont with llvm/clang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 04 15:30:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Rene Ladan
>Release:        FreeBSD 8-STABLE/i386
>Organization:
>Environment:
Tinderbox running FreeBSD 8-STABLE/i386 2010-02-21, with system gcc/g++ replaced by LLVM/Clang r100327
>Description:
In an ongoing effort to compile the Ports Tree with LLVM/Clang, here is a patch to build sysutils/biosfont with it. No PORTREVISION bump since Clang is not imported into the main tree yet and the runtime behavior is unaffected.
>How-To-Repeat:
Set up a 8-STABLE/i386 Tinderbox running Clang:
* normal Tinderbox setup
* extract tarball
* build and install LLVM/Clang into the $TARBALL/tmp/usr (see http://clang.llvm.org/get_started.html)
* remove gcc/g++ bits: $TARBALL/tmp/usr/bin/{cc,cpp,gcc,c89,c99,c++,c++filt,g++}, $TARBALL/tmp/usr/libexec/{cc1,cc1obj,cc1plus}
* repack the tarball
* shedule a build of sysutils/biosfont

Note that just building the port with modified CC/CXX in /etc/make.conf does not trigger the problem, because the -Werror flag is not used in that case.
>Fix:
http://rene-ladan.nl/clang/patches/biosfont-clang.diff

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list