From owner-freebsd-current@FreeBSD.ORG Sun Nov 11 10:26:06 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 00CBCFAC for ; Sun, 11 Nov 2012 10:26:05 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id B208F8FC0C for ; Sun, 11 Nov 2012 10:26:05 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id wc20so6740122obb.13 for ; Sun, 11 Nov 2012 02:26:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=7C0Z4xAhncFBwp7/ZUTMPIq4vCmLDSOUbeoN46b87E0=; b=fSeZcO3sw8tUy/vL0WNmOZaqzGL2s5pO3G7BBNDZfcBvuUmzTrtuv/CN5b1XXmwsAN jkQ1b5WdHvjB1uhPVAYfhMgG/+8Y03Zn6HU6uHnR79fMQivSrLK3dXcSbXjeDSQ4XZfI 5h8UzZpMA5k8ZpYVMqyHa9CsbnPEwfp4LBkviG3yGNWjrocXmM/O/vLjFm/HchBGGga8 uj+zrLhPiNW6Pu/rxWbZmavZOkkhDhvHkeQVbOR/foT3Ra/rn4m5jWsDGGpk7u3zXAAx 7ROkbW3rGhmUzWmpiLUKEzvieqeABKqkeT7s99Bd82F1hpJIfPRsoLIehLwx/tVMlKAt r8AA== MIME-Version: 1.0 Received: by 10.60.169.170 with SMTP id af10mr12068531oec.17.1352629564665; Sun, 11 Nov 2012 02:26:04 -0800 (PST) Received: by 10.76.143.33 with HTTP; Sun, 11 Nov 2012 02:26:04 -0800 (PST) In-Reply-To: References: Date: Sun, 11 Nov 2012 02:26:04 -0800 Message-ID: Subject: Re: Compile FreeBSD kernel with gcc48 From: Garrett Cooper To: Alie Tan Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Nov 2012 10:26:06 -0000 On Sun, Nov 11, 2012 at 1:59 AM, Alie Tan wrote: > Hi, > > Anyone have experience compiling FreeBSD kernel with gcc48 > > I have tried it but no success with this in src.conf > > C= /usr/local/bin/gcc48 > CXX= /usr/local/bin/g++48 > CWARNFLAGS= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes > \-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual > \-Wno-pointer-sign -D__FreeBSD_cc_version=0 \-Wno-unused-function > -Wno-inline -Wno-format \-Wno-uninitialized -Wno-array-bounds > -Wno-missing-prototypes > NO_WERROR= 1 > > Another question, is there any benchmark for LLVM/Clang vs gcc45, gcc46, > gcc47 or gcc48? > Uh, probably won't work because of FreeBSD modifications to gcc not being present in upstream IIRC... -Garrett