From owner-freebsd-stable@freebsd.org Wed May 30 02:29:35 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F429EF4BA2 for ; Wed, 30 May 2018 02:29:35 +0000 (UTC) (envelope-from danallen46@gmail.com) Received: from mail-pl0-x22c.google.com (mail-pl0-x22c.google.com [IPv6:2607:f8b0:400e:c01::22c]) (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 D389569F26 for ; Wed, 30 May 2018 02:29:34 +0000 (UTC) (envelope-from danallen46@gmail.com) Received: by mail-pl0-x22c.google.com with SMTP id n10-v6so10100660plp.0 for ; Tue, 29 May 2018 19:29:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=CmEX/Z9/CQWN1NLfUGiiQDjwCHauOqYa8WxGNpMwNf4=; b=saiYgl64F6ADNHnCc2Eyt+BKp7EDobKjK8jZwN9AGk3CupDH51p7mLlpmQk0aOona7 cE+Lhc7gaNpySAaSoNFWjwhuIhrLGsI/b42rHl9uWy8B6i+4edMewkJCbaPgQNusTUv2 bfVa3qjRZe68htAJG47Yy2wlZd0NVHLql5suva5DXKzVWGcZlROaWeAASB5Hbg+5im5x yNlCBpcj/F6QW/xiDHxPTOynlfmFk9dCpNaHn98xpw2LgWUqgTicjsuz0B5RcHfSWgSt MU3plHfyqAg6nwUBKJs32FtPWauCuuomKnujSHugE8n5RN/M/skij6a2NtlSFhfMPFvV CE7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=CmEX/Z9/CQWN1NLfUGiiQDjwCHauOqYa8WxGNpMwNf4=; b=uVXcCcDsv2oTzPaIQhIWuHRplnDqh3+9NAgpoqFRbR5z2vy6VDZrzXTdObgsmYQ6+q j5bBdIdtyXPUOQ77tXZc8OinMnSxcAmK2VOJ2mU66Fl0L0wxCM/u5xBvFMkJkQC4RQaT nVnoVVrqQVYl24z9EJpxBPHV0qStqFHs3BHz9QDQ9U2/mrJrLXYPIheAE0cbrDGD3WQj nG9m5KsnbYuNOpZ72xG8W+dFL+90ufnlTDQJKERtVXhzVjb5CCA1vARUFMAnP7ER48wd u+hw1R2hoUfSxPQkzGMqp9WtvuEtvzo6AbqW2WGx2iOd2ZXjrg63544juv8UqZeseej2 kVIw== X-Gm-Message-State: ALKqPwfWFHc7eC0qVMYHffRv/jfgzh1nKTqGdmjJ16TQ39VObAOFJ0/+ AK+z5VEVAKNW/xHW7lWjx/9W99YZ X-Google-Smtp-Source: ADUXVKKMX1zzrZ+u+/gDfVoeWtHJd8YXTBwV5Jhm2pBvYlywSU0BzMpkhpPgLZy0O1Al95hPNB62Ng== X-Received: by 2002:a17:902:1aa:: with SMTP id b39-v6mr953449plb.120.1527647372352; Tue, 29 May 2018 19:29:32 -0700 (PDT) Received: from [192.168.0.4] ([65.129.156.172]) by smtp.gmail.com with ESMTPSA id w8-v6sm65085305pfk.112.2018.05.29.19.29.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 May 2018 19:29:31 -0700 (PDT) From: Dan Allen Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: aesni on i386 w/gcc breaks 11-STABLE kernel build Message-Id: <950C1018-1038-4103-A14B-2F252EE24069@gmail.com> Date: Tue, 29 May 2018 20:29:30 -0600 To: FreeBSD-STABLE Mailing List X-Mailer: Apple Mail (2.3445.6.18) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 May 2018 02:29:35 -0000 To Whom It May Concern: I am building FreeBSD 11 stable i386 on an old Pentium 4 machine. The = clang/llvm build is just horrific in length, so I am substituting gcc by = the appropriate /etc/src.conf defines such as WITHOUT_CLANG, = WITHOUT_CLANG_BOOTSTRAP, WITH_GCC, WITH_GCC_BOOTSTRAP. =20 After deleting clang via make delete-old in /usr/src, all of userland = builds fine, but the kernel will not build due to the aesni module. The build break is due to compiling = /usr/src/sys/crypto/aesni/aesni_ghash.c, which in turn #includes = wmmintrin.h, emmintrin.h, and smmintrin.h which are all clang-specific = headers. I am rebuilding with MK_CRYPT=3Dno to see if this works around the = problem, but it seems like perhaps just this one aesni module should not = be built rather than all of CRYPT having to be disabled. This is a post 11.2 BETA3 sync to STABLE as of today, 29 May 2018. Dan