From owner-svn-src-head@freebsd.org Thu Aug 20 21:29:31 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 759D29BFC98 for ; Thu, 20 Aug 2015 21:29:31 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: from mail-qg0-f43.google.com (mail-qg0-f43.google.com [209.85.192.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 37792D58 for ; Thu, 20 Aug 2015 21:29:30 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: by qged69 with SMTP id d69so36274398qge.0 for ; Thu, 20 Aug 2015 14:29:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=e+b4iqReivGBh5PRbe8YNYSvxoCOwq+3Lf2Z/Sd0N6k=; b=fw2m5GL0FABO1Fbdpxz790f5imyxTc4iQ6kS0SOWzpAx/RE5ugPCKqBhl4oWoiy5LU WJQkZ3wiPIUBssU79SY/NFxQwQs3b/KXHXPc+oBJ1CHJwXCBp6XPSLaOTpiAaDI4HdOH aMcgBDtPygMhsErnAqlTJT2W80tMLrGP2MMvx9KZ1dLVapMVk8yLUIg+3d27gcWBixen jOpfjwmhyA0PK62FQqb2lnfNiSmQc0eDiJhe4XTfyeHN/EueIP1bFJKUk7rfyOtv4Brm hKXu5MCProwZ3kdPjosTHiE2kqRzS1p296kE40jiLiecA5pVBzLJ36ZfYf99c4Z+d0Iw zmgQ== X-Gm-Message-State: ALoCoQmjb0CHMxFuIRTB6kb/3oWAwTQcRALvAmCOdplXhOkuvVQsWvP3qzvZKBgjZmZD206xePuJ MIME-Version: 1.0 X-Received: by 10.140.147.69 with SMTP id 66mr10264872qht.57.1440105816189; Thu, 20 Aug 2015 14:23:36 -0700 (PDT) Received: by 10.55.167.133 with HTTP; Thu, 20 Aug 2015 14:23:36 -0700 (PDT) In-Reply-To: References: <201508201831.t7KIV6Vn076975@repo.freebsd.org> Date: Thu, 20 Aug 2015 23:23:36 +0200 Message-ID: Subject: Re: svn commit: r286967 - head/sys/boot/efi From: Oliver Pinter To: Craig Rodrigues Cc: Warner Losh , "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" Content-Type: multipart/mixed; boundary=001a113562e49d09c2051dc4c3ac X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Aug 2015 21:29:31 -0000 --001a113562e49d09c2051dc4c3ac Content-Type: text/plain; charset=UTF-8 On 8/20/15, Craig Rodrigues wrote: > On Thu, Aug 20, 2015 at 11:31 AM, Warner Losh wrote: > >> The flags -mno-aes -mno-avx only exist for clang, not gcc, so >> add them only to the clang CFLAGS. >> >> > It would be more accurate to say that these flags do not exist for gcc 4.2. > They do exist for gcc 4.7: > https://gcc.gnu.org/onlinedocs/gcc-4.7.1/gcc/i386-and-x86_002d64-Options.html The attached one patch still needs to hyperv's hv_kvp_daemon with gcc. After applied this fix, I get a buildable world. The kernel still fails on aesni module, but that's a known problem with gcc 4.2.1. > > -- > Craig > _______________________________________________ > svn-src-head@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/svn-src-head > To unsubscribe, send any mail to "svn-src-head-unsubscribe@freebsd.org" > --001a113562e49d09c2051dc4c3ac Content-Type: text/plain; charset=US-ASCII; name="hv_kvp_daeom-fix-with-gcc.diff" Content-Disposition: attachment; filename="hv_kvp_daeom-fix-with-gcc.diff" Content-Transfer-Encoding: base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