From owner-svn-src-head@freebsd.org Fri May 27 15:32:55 2016 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 284E1B4C4D6; Fri, 27 May 2016 15:32:55 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-oi0-x22a.google.com (mail-oi0-x22a.google.com [IPv6:2607:f8b0:4003:c06::22a]) (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 DB48C184C; Fri, 27 May 2016 15:32:54 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-oi0-x22a.google.com with SMTP id w184so172439042oiw.2; Fri, 27 May 2016 08:32:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=cfZDdzmc0g00lDnrdy6Yrh2Sl6v1R+e+7xQUC0cy5fg=; b=fICKt2SKX7CIxVmPPLR1doGNDz2NQ1vBsuZDnQGYjZGiH3tT4xJ0Oer2A+aMBrNDHP 1Zpdxdhvk3cR0YzEUXf5Js/yahRl2PqKSX0NKEGW/gw2dC/WIaLpmGZsBGE+KVnLqkSJ 4acXyocOdyeXtXbneAU/abTQchgJvKO21Qx2Xlfr298+/IwCBfqZ1/9RQ/hwV5Yh1V6Q axlattrIoz9gFuFopBkXWu6C44vAgA0gx+FVUNW/RkHiJYkUxKCTsKGCrD8E+m/XXm2Z EnfpfNRYZa0x3q7RyPbzqsCXB5czZ22kUwXlgCZ7FJ+zXRIwqYjl4N1s5VlULHZNto9u otVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=cfZDdzmc0g00lDnrdy6Yrh2Sl6v1R+e+7xQUC0cy5fg=; b=cEk1R8vxTa0TdLbLhhMg3z2T76njVb1qAu6uGNxpI7QIC/YgZkEXeiRD/6+dfSQKYV ++Unz2gDksTTG405D1tzpQFkjyEUO6+fgleVW/T0hn+oiRiUniXV1I1rHvcDwSkT957L vk2oeuFgZVwhzIIV0P7y9IOEJfjwEc4f8YDjIPyhgDFQeYPXwYpK1VlF5aHJMAAuLkM8 PEsSL1fQHRq4gUeLQ8E/DxHrIvn5hbqmfrwajHnu9N9KhbQeZBlxeC0LwZodCLM1fjpf mqPFn4hMyyTAEKEHvwaMRNqnDrTUDXH5sBZKvEzQ3pprhsv+tglyp/PWZ2AcWbZK1KFM m0XA== X-Gm-Message-State: ALyK8tJtF/vhYr1iD9HLr7UPveLt5FPYgQ4txPnKEVKC0WnSLjGZT0ikaHnwyAIU+m6GGGjwPotMOmpdJEq45Q== MIME-Version: 1.0 X-Received: by 10.157.45.12 with SMTP id v12mr10279852ota.106.1464363174093; Fri, 27 May 2016 08:32:54 -0700 (PDT) Sender: asomers@gmail.com Received: by 10.202.4.200 with HTTP; Fri, 27 May 2016 08:32:53 -0700 (PDT) In-Reply-To: References: <201605261852.u4QIqn5w073953@repo.freebsd.org> Date: Fri, 27 May 2016 09:32:53 -0600 X-Google-Sender-Auth: y5TE65uf4FdHlTVKUUciD02-g18 Message-ID: Subject: Re: svn commit: r300770 - in head: . contrib/libc++/include contrib/libc++/include/experimental contrib/libc++/include/ext contrib/libc++/src contrib/libc++/src/include contrib/libc++/src/support lib/l... From: Alan Somers To: Dimitry Andric Cc: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.22 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: Fri, 27 May 2016 15:32:55 -0000 On Fri, May 27, 2016 at 9:28 AM, Dimitry Andric wrote: > On 27 May 2016, at 16:49, Alan Somers wrote: >> >> I think this change is breaking the build of C++ applications. Below >> is a snippet of my amd64 buildworld, with the changes in D6564. it >> built fine a few days ago. >> >> ===> lib/libdevdctl (all) >> In file included from /home/asomers/freebsd/head/lib/libdevdctl/consumer.cc:50: >> In file included from >> /scratch/tmp/asomers/obj/home/asomers/freebsd/head/lib32/usr/include/c++/v1/list:173: >> In file included from >> /scratch/tmp/asomers/obj/home/asomers/freebsd/head/lib32/usr/include/c++/v1/memory:599: >> In file included from >> /scratch/tmp/asomers/obj/home/asomers/freebsd/head/lib32/usr/include/c++/v1/type_traits:363: >> /scratch/tmp/asomers/obj/home/asomers/freebsd/head/lib32/usr/include/c++/v1/cstddef:43:15: >> fatal error: 'stddef.h' file not found >> #include_next >> ^ >> 1 error generated. >> --- consumer.o --- >> *** [consumer.o] Error code 1 > > It shouldn't, it passed a full make universe. Do you have any special > settings in either make.conf or src.conf? Or something other about your > build environment that is non-standard? > > -Dimitry Ahh, but when you ran "make universe" there were not yet any C++ things in lib/. My patch adds a C++ library, and it fails when building the 32-bit version. Here's the actual command that failed. I don't know why it failed, because /scratch/tmp/asomers/obj/home/asomers/freebsd/head/lib32/usr/include/stddef.h _does_ exist. c++ -m32 -DCOMPAT_32BIT -march=i686 -mmmx -msse -msse2 -L/scratch/tmp/asomers/obj/home/asomers/freebsd/head/lib32/usr/lib32 --sysroot=/scratch/tmp/asomers/obj/home/asomers/freebsd/head/lib32 -B/scratch/tmp/asomers/obj/home/asomers/freebsd/head/lib32/usr/lib32 -isystem /scratch/tmp/asomers/obj/home/asomers/freebsd/head/lib32/usr/include -O2 -pipe -MD -MF.depend.consumer.o -MTconsumer.o -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith -Wno-uninitialized -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Qunused-arguments -Wno-c++11-extensions -c /home/asomers/freebsd/head/lib/libdevdctl/consumer.cc -o consumer.o ... --- all_subdir_lib/libdevdctl --- In file included from /home/asomers/freebsd/head/lib/libdevdctl/event.cc:55: In file included from /scratch/tmp/asomers/obj/home/asomers/freebsd/head/lib32/usr/include/c++/v1/iostream:38: In file included from /scratch/tmp/asomers/obj/home/asomers/freebsd/head/lib32/usr/include/c++/v1/ios:216: In file included from /scratch/tmp/asomers/obj/home/asomers/freebsd/head/lib32/usr/include/c++/v1/__locale:15: In file included from /scratch/tmp/asomers/obj/home/asomers/freebsd/head/lib32/usr/include/c++/v1/string:439: In file included from /scratch/tmp/asomers/obj/home/asomers/freebsd/head/lib32/usr/include/c++/v1/algorithm:624: In file included from /scratch/tmp/asomers/obj/home/asomers/freebsd/head/lib32/usr/include/c++/v1/initializer_list:47: /scratch/tmp/asomers/obj/home/asomers/freebsd/head/lib32/usr/include/c++/v1/cstddef:43:15: fatal error: 'stddef.h' file not found #include_next ^ -Alan