Date: Sun, 4 Apr 2010 15:25:50 GMT From: Rene Ladan <rene@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/145379: [clang] build sysutils/biosfont with llvm/clang Message-ID: <201004041525.o34FPott066565@www.freebsd.org> Resent-Message-ID: <201004041530.o34FU8JK079114@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004041525.o34FPott066565>