From owner-freebsd-stable@freebsd.org Tue Jan 8 21:35:52 2019 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 ED8FA148C0B4 for ; Tue, 8 Jan 2019 21:35:51 +0000 (UTC) (envelope-from morgan.s.reed@gmail.com) Received: from mail-oi1-x233.google.com (mail-oi1-x233.google.com [IPv6:2607:f8b0:4864:20::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7BFFA80E5C; Tue, 8 Jan 2019 21:35:51 +0000 (UTC) (envelope-from morgan.s.reed@gmail.com) Received: by mail-oi1-x233.google.com with SMTP id y23so4610854oia.4; Tue, 08 Jan 2019 13:35:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=r9V1c281FBq/7Pq2612sQZD1I6eevvtVq7rdX+K56zo=; b=XBdQv903ze6/m+K0MpKKmh1nc4PFbU7v8T44doX0ooz5kn7cod77ZV8HWANjSpOmfg ahT4MsjXnTrhfOJqz4kBm2dlU1SJcVoL26Ob6qAjDbPCsBJ4kAzbcp6Tjr9EXmIjY0FF t9cW+FRvpp2wRD639JyLwil94pBSmMTkkqSrfulagqXCsnmPM1OXrWUMhST4tjBEPU44 BNdQjdsHARP8tEr3QPi6v8i84Y4TxiyOdASTay72W0nxYxqaql7AexKU2rLy/GXxxvwd gtteul7arznSgZHnQ+/VCKAdkA3N48lPjgf+x/a49lxuCH0I6dNPZWoWvGtQXew1Vx7E rysg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=r9V1c281FBq/7Pq2612sQZD1I6eevvtVq7rdX+K56zo=; b=Qjt+npy0AhQEhgXJNieTGR/v8M1Szh6b13ufFj3//G0C0v0ngwjtzzEgCoazee+mJQ RDofTn4ZBoV7DZs7JRiSgCBTPLkcMvIieISO6tfH54httunLTZfvN3EGoZ79rQti6fE/ D8DXqQZ2q64NmZZG+89H43lPH8SZ8imgaWKJGBkywRAQSJAksh+Pn4j+9O9XuNGvmNIu mrhR3FkFyrGFVEcmFZ99ktkJpl5p062ZXAecxftp4Z3o3htuDJYrrTX8z2DLG/30sCFa UzLRwpIkpyeTr2PEkYrC6PUkhjL8xmTm04Eg3gTDDLpVsBrU+89eWSze4G7/b8RkMkcg j3Sg== X-Gm-Message-State: AJcUukdABd1CedqiwToKpT9g1IK9+EZhLAqjZGNunfkmKhFuB70xKki1 LRV0Wn9W03vBq0Fwb0Y42kecUgR6EYIkVOb1g50jSw== X-Google-Smtp-Source: ALg8bN4qS6ak+rS2jqSMmPQg5FGNNGjZQNm0NIVKhwlBCm3wgesIYyMiGGCTlB4PvXKAQ3NTG/H19TA55oXRB0gz1fs= X-Received: by 2002:aca:3904:: with SMTP id g4mr2274558oia.24.1546983350469; Tue, 08 Jan 2019 13:35:50 -0800 (PST) MIME-Version: 1.0 References: <3F4C1D5F-ACD8-4349-BBBA-B2339C312166@FreeBSD.org> In-Reply-To: <3F4C1D5F-ACD8-4349-BBBA-B2339C312166@FreeBSD.org> From: Morgan Reed Date: Wed, 9 Jan 2019 08:35:38 +1100 Message-ID: Subject: Re: x86intrin.h not found after 10.4->11.2 upgrade To: Dimitry Andric Cc: freebsd-stable@freebsd.org X-Rspamd-Queue-Id: 7BFFA80E5C X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.94 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.94)[-0.940,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jan 2019 21:35:52 -0000 Ah, that's the problem, /usr/include/x86intrin.h was a symlink to an old clang 3.4.1 version of that header which doesn't exist on the filesystem any more, I've deleted it and now things are much happier. Really ought to do a clean rebuild on this box one of these days... Thanks, Morgan On Wed, Jan 9, 2019 at 5:47 AM Dimitry Andric wrote: > On 8 Jan 2019, at 12:50, Morgan Reed wrote: > > > > Just did a find across /usr for the file and it's definitely there so I'm > > not sure why the compiler can't find it :/ > > Please post the output of: > > cc -v -x c -c /dev/null -o /dev/null > > > > > > # find /usr -name x86intrin.h > > /usr/include/x86intrin.h > > This copy should not exist. Any idea where it came from, and what is > its contents? > > > > /usr/src/contrib/llvm/tools/clang/lib/Headers/x86intrin.h > > > /usr/local/lib/gcc7/gcc/x86_64-portbld-freebsd11.2/7.4.0/include/x86intrin.h > > /usr/local/llvm60/lib/clang/6.0.1/include/x86intrin.h > > /usr/lib/clang/6.0.0/include/x86intrin.h > > If your /usr/bin/cc reports being clang 6.0.0, then the latter one is > correct. > > My guess would be that something (/etc/make.conf, for instance) is > messing with your CFLAGS, causing the internal headers to not be found. > > -Dimitry > > -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Benjamin Franklin, 1759