From owner-freebsd-toolchain@freebsd.org Sun Jul 16 00:12:08 2017 Return-Path: Delivered-To: freebsd-toolchain@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 C3247B7ED2C for ; Sun, 16 Jul 2017 00:12:08 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-vk0-x230.google.com (mail-vk0-x230.google.com [IPv6:2607:f8b0:400c:c05::230]) (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 78BB063B31 for ; Sun, 16 Jul 2017 00:12:08 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-vk0-x230.google.com with SMTP id f68so58541922vkg.2 for ; Sat, 15 Jul 2017 17:12:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=NkCLT5Jke3dVSK5TKOFB+C4a9u9k+2aGQqhE1G0IHBk=; b=zsFEVrFTqpe/ezvSvw5s2SYf4FnQrPhFxCS/5cSHOaPK7LL+0NDhXoAw18ZTBmFrUe kwMUNu+WU9sr0XNOW2goNYCjyepYTboMlAdqaaC5TsZP+2MXfjgjFyP1IujNhRZu2dcJ dFszPPIrHRrYGKKY461M6Yy/ACeA+tVi3o0ihBxE4jPiFg81ic1xf2HUM1B41BXEXoe5 QAs2GyJVe+K7lGXcxepFSjBfpnmpV9kCKvw7osHv66Gans6bIKV9pzIBwC5TKvonwZLJ Gr5zP8VuymHAn5PWeO30y6egsop3TV4U3Y4LBMDmBHfw3P+b/h1Kekf33+YWihIjWM7D LJzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=NkCLT5Jke3dVSK5TKOFB+C4a9u9k+2aGQqhE1G0IHBk=; b=lgGzZxVfDutcRQlgU74tyh5LQsXheM1eNJwfSnCnAycsXID4wwuW1J2qTuUEVCDahb /EoHgjdeBIiSrK1nTKaI5dpbzwPcSjst5u8WMmInl/lmQ0+HvY1k03A/IB8Ltc4RZjKP 9mXgEHKGWU2rG8zGE3pi5gFE67eP7/H8PNZXIgkPMjkbXxiKWN/8evCme+V+ci2RSwOV VtL2/yckpaCK8JkuTiDuI2mKv/umYKBiDp/XMguAr2i+MowrjqQb6R40p5qXTOr6S0Jw VScrMJ7hPtIzm4/6qOx5w4k3a437GWB5zSLHR+UY5Zdcsn8QqzWTh5evcRqEdipiEjZt NviQ== X-Gm-Message-State: AIVw111okuag4hkfYzxhLtPzFTYKIO0ZMHdljNpRlURs8YGjZO99cEw4 iYbe0MgzNanstxucxW9jS9nK7JlM9vWl X-Received: by 10.31.167.68 with SMTP id q65mr8931905vke.45.1500163927608; Sat, 15 Jul 2017 17:12:07 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.103.36.1 with HTTP; Sat, 15 Jul 2017 17:12:07 -0700 (PDT) X-Originating-IP: [50.253.99.174] In-Reply-To: References: From: Warner Losh Date: Sat, 15 Jul 2017 18:12:07 -0600 X-Google-Sender-Auth: wRPR2CdYDjc985wP_rtmAHyNIUk Message-ID: Subject: Re: suggestion for toolchain to have its own directories To: Sid Cc: "freebsd-toolchain@FreeBSD.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jul 2017 00:12:08 -0000 On Sat, Jul 15, 2017 at 5:21 PM, Sid wrote: > How about going with a toolchain directory for the base system only. It > would use shared files, and have subdirectories specific to clang, gcc, o= r > other compiling components or versions. This way it is both modular and > organized. > And non-standard. Auxiliary tools that know about toolchains would need to be modified. That's a losing fight. > For instance: /usr/toolchain/bin/, /usr/toolchain/sbin/, and > /usr/toolchain/lib/ can be used for shared files. /usr/toolchain/clang/, > /usr/toolchain/gcc/, etc, and their (lib, sbin, bin, include) > subdirectories can be used for specifically needed files. The old > directories can be softlinked to there. > Old directories won't cut it. > Any drastic changes can only be tried in the head branch. Port compilers > should definitely be left alone, by not using /usr/local/toolchain/* at a= ll. > Yea, I think this is a bad idea. There's no upside to it, other than appealing to somebody's sense of what's organized. The downsides are plenty and create a lot of work for us just to get back to where we are today. Unless there's a truly compelling reason to do this, my vote, and loud shouting voice, says don't do it. Warner > > Sat Jul 1 10:01:29 UTC 2017, David Chisnall > wrote: > >Debian does something like this, and it=E2=80=99s a huge pain to work wi= th. The > problem is that toolchains are not self-contained >monolithic components > (though gcc likes to pretend that they are). For example, we want gcc and > clang to use the same >linker, the same C and C++ standard library > implementations, and the same system headers, irrespective of the compile= r > >version. Things that actually are private to a compiler are in separate > directories (see /usr/lib/clang, for example). > > > Fri Jun 30 21:13:32 UTC 2017, Mark Millard wrote= : > >commonality helps with making ports and such easier > >to support as an example. The types of systems are not > >completely independent. > ... > >Reorganizations are a big deal and do not happen > >often. > ... > >It is also messy for ports to organize things differently > >than upstream does. > _______________________________________________ > freebsd-toolchain@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain > To unsubscribe, send any mail to "freebsd-toolchain- > unsubscribe@freebsd.org" From owner-freebsd-toolchain@freebsd.org Sun Jul 16 06:08:16 2017 Return-Path: Delivered-To: freebsd-toolchain@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 CEE77BF73C7 for ; Sun, 16 Jul 2017 06:08:16 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from ainaz.pair.com (ainaz.pair.com [209.68.2.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 45E416E80F; Sun, 16 Jul 2017 06:08:15 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from ainaz.pair.com (localhost [127.0.0.1]) by ainaz.pair.com (Postfix) with ESMTP id 4D8153F66C; Sun, 16 Jul 2017 02:08:07 -0400 (EDT) Received: from anthias (vie-188-118-244-226.dsl.sil.at [188.118.244.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ainaz.pair.com (Postfix) with ESMTPSA id 14FBD3F66B; Sun, 16 Jul 2017 02:08:05 -0400 (EDT) Date: Sun, 16 Jul 2017 08:08:04 +0200 (CEST) From: Gerald Pfeifer To: Dimitry Andric , Jung-uk Kim cc: Andreas Tobler , freebsd-toolchain@freebsd.org Subject: Re: Duplicate OPT_ entries in gcc/options.h In-Reply-To: <0610816e-2675-1abf-a4ee-274807317932@FreeBSD.org> Message-ID: References: <75411813-0C9B-4CEF-BEE4-8B26DD8346F7@FreeBSD.org> <0610816e-2675-1abf-a4ee-274807317932@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jul 2017 06:08:16 -0000 On Wed, 8 Jun 2016, Dimitry Andric wrote: >> I got a user report, and could reproduce this, that building >> GCC (lang/gcc, but also current HEAD, so probably pretty much >> any version) with FreeBSD 11 and LANG = en_US.UTF-8 we get >> conflicting entires in $BUILDDIR/gcc/options.h such as >> >> OPT_d = 135, /* -d */ >> OPT_D = 136, /* -D */ >> OPT_d = 137, /* -d */ >> OPT_D = 138, /* -D */ >> OPT_d = 141, /* -d */ >> OPT_D = 142, /* -D */ >> OPT_d = 143, /* -d */ >> >> Using LANG = en_US (without UTF-8), everything works fine. > It is definitely something caused by our awk in base, in any case. Thanks for the fine debugging, Dimitry... And Jung-uk Kim wrote: > This behaviour is known for very long time: > > https://svnweb.freebsd.org/changeset/base/173731 > > and it is not our fault: > > https://www.gnu.org/software/gawk/manual/html_node/POSIX-String-Comparison.html ...and for this background, Jung-uk! To close this thread, this is now properly addressed upstream by always forcing C locale when running this AWK script (after we did some temporary hack to the same effect in our ports). Gerald From owner-freebsd-toolchain@freebsd.org Sun Jul 16 17:49:27 2017 Return-Path: Delivered-To: freebsd-toolchain@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 06916C0A35C; Sun, 16 Jul 2017 17:49:27 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C1DAF2183; Sun, 16 Jul 2017 17:49:26 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from pi by home.opsec.eu with local (Exim 4.89 (FreeBSD)) (envelope-from ) id 1dWnfb-000PRO-Mr; Sun, 16 Jul 2017 19:49:27 +0200 Date: Sun, 16 Jul 2017 19:49:27 +0200 From: Kurt Jaeger To: Jov Cc: freebsd-toolchain@freebsd.org, FreeBSD Ports Subject: Re: Look for a committer Message-ID: <20170716174927.GD39925@home.opsec.eu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jul 2017 17:49:27 -0000 Hi! > I made a new port named /deve/bear, which is a tool that generates a > compilation database for clang tooling. It is useful for > clang-tidy/clang-check with non-cmake project. > > PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220475 I build it in poudriere, worked on current, 11.0amd64, but fails to build on 10.3 i386, because lang/erlang | erlang-19.3.6.1,4 failed in build Should erlang build on 10.3 i386 ? The log can be found at http://people.freebsd.org/~pi/logs/erlang-19.3.6.1,4.log -- pi@opsec.eu +49 171 3101372 3 years to go ! From owner-freebsd-toolchain@freebsd.org Sun Jul 16 22:45:17 2017 Return-Path: Delivered-To: freebsd-toolchain@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 A65DFC7BCCB for ; Sun, 16 Jul 2017 22:45:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 949146A028 for ; Sun, 16 Jul 2017 22:45:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v6GMjH3C043615 for ; Sun, 16 Jul 2017 22:45:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: maintainer-feedback requested: [Bug 219484] cad/openvsp: fails to build with lang/gcc6 or later on 10.* Date: Sun, 16 Jul 2017 22:45:17 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jul 2017 22:45:17 -0000 Jan Beich has asked freebsd-toolchain@FreeBSD.org for maintainer-feedback: Bug 219484: cad/openvsp: fails to build with lang/gcc6 or later on 10.* https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219484 --- Comment #2 from Jan Beich --- (In reply to fernando.apesteguia from comment #1) > ldd /usr/local/bin/vsp "ldd -a" exposes more libc++ consumers: libGLU (from mesa-libs), fltk and cpptest. Each of those libraries may have their own consumers (ignoring openvsp) linked against libc++. > But in 10.x the libc++ does not provide a delete operator with parameters (void*, unsigned long). [...] > operator delete(void* ptr, size_t) _NOEXCEPT <--- > operator delete[] (void* ptr, size_t) _NOEXCEPT Probably added by https://llvm.org/viewvc/llvm-project?view=3Drevision&revision=3D229281 > either updating libc++ on 10.x or forcing linking against libstc++ if possible should help. Can toolchain@ suggest a better workaround? libstdc++ usage is fragile as a= ny dependency can bring libc++ into runtime leading to crashes. While mixing libc++ and libstdc++ is possible by replacing libsupc++ with libcxxrt it's = not supported by any of lang/gcc* ports. libcxxrt is essentially frozen from po= rts POV. Alternatives are locking the ports to USE_GCC < 6 (if gerald is OK) or layi= ng on BROKEN_FreeBSD_10 deathbed. From owner-freebsd-toolchain@freebsd.org Sun Jul 16 22:45:18 2017 Return-Path: Delivered-To: freebsd-toolchain@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 3AC2BC7BCCE for ; Sun, 16 Jul 2017 22:45:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 27F736A02B for ; Sun, 16 Jul 2017 22:45:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v6GMjH3I043615 for ; Sun, 16 Jul 2017 22:45:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 219484] cad/openvsp: fails to build with lang/gcc6 or later on 10.* Date: Sun, 16 Jul 2017 22:45:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? X-Bugzilla-Changed-Fields: flagtypes.name cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jul 2017 22:45:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219484 Jan Beich changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |maintainer-feedback?(freebs | |d-toolchain@FreeBSD.org) CC| |freebsd-toolchain@FreeBSD.o | |rg --- Comment #2 from Jan Beich --- (In reply to fernando.apesteguia from comment #1) > ldd /usr/local/bin/vsp "ldd -a" exposes more libc++ consumers: libGLU (from mesa-libs), fltk and cpptest. Each of those libraries may have their own consumers (ignoring openvsp) linked against libc++. > But in 10.x the libc++ does not provide a delete operator with parameters= (void*, unsigned long). [...] > operator delete(void* ptr, size_t) _NOEXCEPT <--- > operator delete[] (void* ptr, size_t) _NOEXCEPT Probably added by https://llvm.org/viewvc/llvm-project?view=3Drevision&revision=3D229281 > either updating libc++ on 10.x or forcing linking against libstc++ if pos= sible should help. Can toolchain@ suggest a better workaround? libstdc++ usage is fragile as a= ny dependency can bring libc++ into runtime leading to crashes. While mixing libc++ and libstdc++ is possible by replacing libsupc++ with libcxxrt it's = not supported by any of lang/gcc* ports. libcxxrt is essentially frozen from po= rts POV. Alternatives are locking the ports to USE_GCC < 6 (if gerald is OK) or layi= ng on BROKEN_FreeBSD_10 deathbed. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Mon Jul 17 01:40:27 2017 Return-Path: Delivered-To: freebsd-toolchain@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 48A02C7DE7A for ; Mon, 17 Jul 2017 01:40:27 +0000 (UTC) (envelope-from amutu@amutu.com) Received: from mail-oi0-x22f.google.com (mail-oi0-x22f.google.com [IPv6:2607:f8b0:4003:c06::22f]) (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 0EA726D569 for ; Mon, 17 Jul 2017 01:40:26 +0000 (UTC) (envelope-from amutu@amutu.com) Received: by mail-oi0-x22f.google.com with SMTP id p188so107014304oia.0 for ; Sun, 16 Jul 2017 18:40:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amutu-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=PfglPThVjff6IZq2eGEa57G94LyrZIY/HhmTHq2k4+Y=; b=MGvM5rGRH1QAOpWOJAsyXUej51kTaSKe0wCHE3PEqRD98/MuzkrbncWeqO74XXg9Yz 4qXnGK1Ipw+b49YbeOsrf49xpEDHVD+CDbh8KJxQBEN+goQDBbmVEwit11Q6h4yPws38 aL2Oq/0imPVZF349f0OdnsBM5uXIa+KgaiX8bihT/uEw6QjY1WbU7gG83A7Gn9zl2y/E dcmnc4ZpfnmrLIhz/YmLjVLAXBPd4Oo7sJHE3N1Zy06tW0nUgbU8MPQMqT8HuJklkjk1 4QHPXoJ4mfQtEKCVEoLi5sn3lcgXvpuGF5qBCj5O5VPUASkIFFXojHKctqa/UQylDupT 64yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=PfglPThVjff6IZq2eGEa57G94LyrZIY/HhmTHq2k4+Y=; b=kO5bSjB//WKPPkoQcoe95Pr2zcOXKMqJDweFepQP5zUOb/5hvjW8ds8dL0/4DrdGiK vbCpqllP0iAcYc4YU95fhUYR6epVrpxF0bddJRXTEbQ/8DnqiiWS/AE1PRXty3YyGig0 B/cWN3eOHxAEqxOrkNdCPQnsnSicGBY0SyCEaEXN6IZMHiKyjEvS6LRpBJyckrUKyAJL gBWKfjnFvzx/nnktp2ug9XsHnhc7u3L1ZDliRdr3x3RpsRp/zjO9B5XY6W1UWnRXOaoW jgKg7pLAErKh55EmR50mIxRVP7IQinRGUvsHFejfPw21geB/Cs4gv2WYp1C3F8tpnG9a G6Ng== X-Gm-Message-State: AIVw112S94C8SyFLnqjFtrKwuHaf7+NDs5kudcTjDrp2buUgHHFCMvXf RKa/iJ76/47vQaX9JfbzeQ== X-Received: by 10.202.108.15 with SMTP id h15mr10378393oic.12.1500255626065; Sun, 16 Jul 2017 18:40:26 -0700 (PDT) Received: from mail-oi0-f51.google.com (mail-oi0-f51.google.com. [209.85.218.51]) by smtp.gmail.com with ESMTPSA id f13sm6879248oih.27.2017.07.16.18.40.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 16 Jul 2017 18:40:25 -0700 (PDT) Received: by mail-oi0-f51.google.com with SMTP id x187so107059191oig.3; Sun, 16 Jul 2017 18:40:25 -0700 (PDT) X-Received: by 10.202.182.67 with SMTP id g64mr12784578oif.37.1500255624688; Sun, 16 Jul 2017 18:40:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.128.197 with HTTP; Sun, 16 Jul 2017 18:40:04 -0700 (PDT) In-Reply-To: <20170716174927.GD39925@home.opsec.eu> References: <20170716174927.GD39925@home.opsec.eu> From: Jov Date: Mon, 17 Jul 2017 09:40:04 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Look for a committer To: Kurt Jaeger Cc: freebsd-toolchain@freebsd.org, FreeBSD Ports , olgeni@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jul 2017 01:40:27 -0000 Thanks Kurt! added olgeni@ I just run poudriere testport for 10.3 i386, py27-bear build fine, and the devel/erlang is not involved as a dependency. devel/bear build log: https://raw.githubusercontent.com/amutu/data/master/py27-bear-2.3.6.log 2017-07-17 1:49 GMT+08:00 Kurt Jaeger : > Hi! > > > I made a new port named /deve/bear, which is a tool that generates a > > compilation database for clang tooling. It is useful for > > clang-tidy/clang-check with non-cmake project. > > > > PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220475 > > I build it in poudriere, worked on current, 11.0amd64, but fails to build > on 10.3 i386, > because lang/erlang | erlang-19.3.6.1,4 failed in build > > Should erlang build on 10.3 i386 ? > > The log can be found at > > http://people.freebsd.org/~pi/logs/erlang-19.3.6.1,4.log > > -- > pi@opsec.eu +49 171 3101372 3 years to > go ! > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > From owner-freebsd-toolchain@freebsd.org Mon Jul 17 06:53:07 2017 Return-Path: Delivered-To: freebsd-toolchain@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 9273ACFE2FA for ; Mon, 17 Jul 2017 06:53:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 22A4875B9C for ; Mon, 17 Jul 2017 06:53:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v6H6r6pb038646 for ; Mon, 17 Jul 2017 06:53:06 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 219484] cad/openvsp: fails to build with lang/gcc6 or later on 10.* Date: Mon, 17 Jul 2017 06:53:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jul 2017 06:53:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219484 Dimitry Andric changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dim@FreeBSD.org --- Comment #3 from Dimitry Andric --- It should be no problem to merge libc++ r229281 into stable/10. But that doesn't magically make old 10.x releases work... --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Mon Jul 17 22:18:22 2017 Return-Path: Delivered-To: freebsd-toolchain@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 5910BDA2981 for ; Mon, 17 Jul 2017 22:18:22 +0000 (UTC) (envelope-from sid@bsdmail.com) Received: from mout.gmx.com (mout.gmx.com [74.208.4.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mail.gmx.com", Issuer "thawte SSL CA - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2238774E6E for ; Mon, 17 Jul 2017 22:18:22 +0000 (UTC) (envelope-from sid@bsdmail.com) Received: from [108.70.50.7] by 3capp-mailcom-lxa06.server.lan (via HTTP); Tue, 18 Jul 2017 00:18:13 +0200 MIME-Version: 1.0 Message-ID: From: Sid To: imp@bsdimp.com Cc: freebsd-toolchain@freebsd.org Subject: re: suggestion for toolchain to have its own directories Content-Type: text/plain; charset=UTF-8 Date: Tue, 18 Jul 2017 00:18:13 +0200 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:VeU3fEh4BxHViOnncE4rtD4H0J7nX+VxQ78Z8FLuOiv UkVebH5/uqxt8SH8MCGvCMhYn8hRfDdelDzOGhhuspdtRBJieX wWF4lBjCQWbNZgoSBjHsXsfjzRTF4FxXX8VMOGhiHFDaidAcdH lkLcJ/k1l99UoraxdnvdeGCVkOANNTF5Ez56eorjO53Dv6kXdy Hrrt55YgKUF2Sf9u4J06sJU7P2ES3SWRNla5VyiKDljopmOKGO wLtw8cM6tr+yfOQBsTLoFlmEOjH005IVangTjn9qLw8fx1DKeO UpLQbMVLa20VJW5iAp4pXEIhk3h X-UI-Out-Filterresults: notjunk:1;V01:K0:nWquq1KEwQg=:0RLfjxUr1AGv8uD7REkbwG 0bjTzcoaFlXpCARqZEw2Rki0bOMqObU3Z2P5ghBzcvF0AClbciwG6pY9AlNF2a+RJb60OXirR krAtgnitOofWd+/8lbD4AaFGqRVqyGhMOL5daShcchkqXXkGwpRVM8f4uBjfCDFvHir4NPrvi XQBCTVz7E7ftCqcPISIupIvDxyf6YhTN5cfd2aLhTKYxW954IcCRvGyd9hj3t/HZIpNE3Mu0a PvaejLL/Jkdj9s6z9c4I+3wLh6o634Xp81zzN8HEzcDAzt15nk1lVeE1paIYmiz3Kimb6teW6 Y7Vl+tm8PDIpBhzIbmVV2WoJEiS5+cOt2c1JtNgw1zfWLxfkBJKdlCKPiTVSAOyVlnLIy2D1O XmayXj6x7ygvGlnyphtsXwVYZxuW61KnPduDuPiJ22p0m9t3LKSaHNx25efO1u9hOKuBDdgBd WZi3e2Px+h15mjSA0wfiM8gDla95PfEk2PfqU6ZMn552vqtP+NoCvZ9AaioozwuI09/6bB5b2 ej3rrJfXWH68jhKmA3t2K5c6UnMVxnC5wbtVnBmhZuk X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jul 2017 22:18:22 -0000 There's possibly a few good reasons. For instance, better organization means easier troubleshooting and finding bugs. It could mean easier maintenance and upgrading. It would also be easier to know for sure which file is being used: the one in the base system, or the one from ports, when it is assumed one or the other is used. A checksum can be run on the directory to find cases of corruption of compiling tools. src.conf can also be split up and simplified to another file that is only for compiling tools. They are looking at making much of the base system into packages, and the simplicity would reduce the need for it, or would simplify it. It would also make it easier for a meta-distribution from the install. Of course, a few of the above can be done without putting toolchains in their own modular directories. You are the professionals, who know what it would take, and how much trouble it would be versus any benefits. If it is worth it, perhaps the time isn't now. The time it would make sense to me, is to either replace or simplify the proposal of using packages as proponents for the base distribution. There would be no rush, but if the idea starts to make better sense or appeal to developers, then perhaps that idea can be thought about then. I still think it's a good idea, but I don't see a need to do anything at least in the near term. Thank you all for your responses. > On Sun, Jul 16, 2017 at 00:12:08 UTC 2017, Warner Losh wrote: >> On Sat, Jul 15, 2017 at 23:34:37 UTC 2017, Sid wrote: >> How about going with a toolchain directory for the base system only. It >> would use shared files, and have subdirectories specific to clang, gcc, or >> other compiling components or versions. This way it is both modular and >> organized. > And non-standard. Auxiliary tools that know about toolchains would need to > be modified. That's a losing fight. >> For instance: /usr/toolchain/bin/, /usr/toolchain/sbin/, and >> /usr/toolchain/lib/ can be used for shared files. /usr/toolchain/clang/, >> /usr/toolchain/gcc/, etc, and their (lib, sbin, bin, include) >> subdirectories can be used for specifically needed files. >> The old directories can be softlinked to there. > Old directories won't cut it. >> Any drastic changes can only be tried in the head branch. Port compilers >> should definitely be left alone, by not using /usr/local/toolchain/* at all. > Yea, I think this is a bad idea. There's no upside to it, other than > appealing to somebody's sense of what's organized. The downsides are plenty > and create a lot of work for us just to get back to where we are today. > Unless there's a truly compelling reason to do this, my vote, and loud > shouting voice, says don't do it. From owner-freebsd-toolchain@freebsd.org Wed Jul 19 07:03:37 2017 Return-Path: Delivered-To: freebsd-toolchain@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 CB285DAAF86 for ; Wed, 19 Jul 2017 07:03:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B40B66E93E for ; Wed, 19 Jul 2017 07:03:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v6J73bxR062710 for ; Wed, 19 Jul 2017 07:03:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 219484] cad/openvsp: fails to build with lang/gcc6 or later on 10.* Date: Wed, 19 Jul 2017 07:03:37 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: gerald@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jul 2017 07:03:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219484 --- Comment #4 from Gerald Pfeifer --- (In reply to Jan Beich from comment #2) > Alternatives are locking the ports to USE_GCC < 6 (if gerald is OK) > or laying on BROKEN_FreeBSD_10 deathbed. I prefer the latter, though the former is also fine if preferred (and may be more user friendly). --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Wed Jul 19 10:54:09 2017 Return-Path: Delivered-To: freebsd-toolchain@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 862EFC794EE for ; Wed, 19 Jul 2017 10:54:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6DA6175BF1 for ; Wed, 19 Jul 2017 10:54:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v6JAs8UX014642 for ; Wed, 19 Jul 2017 10:54:09 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 219484] cad/openvsp: fails to build with lang/gcc6 or later on 10.* Date: Wed, 19 Jul 2017 10:54:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jul 2017 10:54:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219484 --- Comment #5 from Dimitry Andric --- I'll merge libc++ r229281 into stable/10 later today, at least it'll appear= in 10.4-RELEASE then. Jan, is it worth bumping __FreeBSD_version for this? --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Wed Jul 19 18:22:38 2017 Return-Path: Delivered-To: freebsd-toolchain@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 36E3CCFF038 for ; Wed, 19 Jul 2017 18:22:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 24132653A5 for ; Wed, 19 Jul 2017 18:22:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v6JIMbZN025235 for ; Wed, 19 Jul 2017 18:22:38 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 219484] cad/openvsp: fails to build with lang/gcc6 or later on 10.* Date: Wed, 19 Jul 2017 18:22:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jul 2017 18:22:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219484 --- Comment #6 from commit-hook@freebsd.org --- A commit references this bug: Author: dim Date: Wed Jul 19 18:22:32 UTC 2017 New revision: 321222 URL: https://svnweb.freebsd.org/changeset/base/321222 Log: Pull in r229281 from upstream libc++ (by Larisse Voufo): Implement C++14's sized deallocation functions, since there are no longer implicitly defined by clang, as of r229241. This allows ports which use C++14's sized deallocation functions, such as cad/openvsp, to build on stable/10. Bump __FreeBSD_version to allow detection from ports. Direct commit, since stable/11 and head already have newer versions of libc++ which include this change. PR: 219484 Changes: stable/10/contrib/libc++/include/new stable/10/contrib/libc++/src/new.cpp stable/10/sys/sys/param.h --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Wed Jul 19 19:00:24 2017 Return-Path: Delivered-To: freebsd-toolchain@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 08092CFFE0D for ; Wed, 19 Jul 2017 19:00:24 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) by mx1.freebsd.org (Postfix) with ESMTP id 7E7DB67267; Wed, 19 Jul 2017 19:00:23 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Subject: Fwd: Re: [VirtualBox-5.1.22 Build Failed on FreeBSD-12] References: <7bc831e2-778e-eb12-174e-c2426b87c2d2@FreeBSD.org> To: Ed Maste , Martin Matuska From: Jung-uk Kim Cc: FreeBSD toolchain X-Forwarded-Message-Id: <7bc831e2-778e-eb12-174e-c2426b87c2d2@FreeBSD.org> Message-ID: Date: Wed, 19 Jul 2017 15:00:17 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <7bc831e2-778e-eb12-174e-c2426b87c2d2@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="VID9BlMOI3X9bMD2pDVheCSo25T6VceJk" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jul 2017 19:00:24 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --VID9BlMOI3X9bMD2pDVheCSo25T6VceJk Content-Type: multipart/mixed; boundary="b2l1Wix4hnLpDPla8RtVtA2aknKmD0Bae"; protected-headers="v1" From: Jung-uk Kim To: Ed Maste , Martin Matuska Cc: FreeBSD toolchain Message-ID: Subject: Fwd: Re: [VirtualBox-5.1.22 Build Failed on FreeBSD-12] References: <7bc831e2-778e-eb12-174e-c2426b87c2d2@FreeBSD.org> In-Reply-To: <7bc831e2-778e-eb12-174e-c2426b87c2d2@FreeBSD.org> --b2l1Wix4hnLpDPla8RtVtA2aknKmD0Bae Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable emulators/virtualbox-ose is failing on head for some time and I found ar is causing the trouble. The earliest failures noticed by package builders are here: http://docs.freebsd.org/cgi/mid.cgi?201706170249.v5H2nUVZ039286 http://docs.freebsd.org/cgi/mid.cgi?201706170238.v5H2cZTZ054493 The core file shows: (lldb) bt * thread #1, name =3D 'ar', stop reason =3D signal SIGSEGV * frame #0: 0x00000000004ac850 ar`memchr + 16 frame #1: 0x000000000044359a ar`strstr + 1082 frame #2: 0x000000000040649f ar`archive_write_ar_header + 2095 frame #3: 0x0000000000409423 ar`_archive_write_header + 259 frame #4: 0x00000000004051eb ar`write_archive + 3995 frame #5: 0x0000000000402be6 ar`yyparse + 1190 frame #6: 0x0000000000402715 ar`ar_mode_script + 69 frame #7: 0x0000000000400cdc ar`main + 2140 frame #8: 0x000000000040035f ar`_start + 383 I am not sure whether ar or libarchive is culprit here. Any idea? Jung-uk Kim -------- Forwarded Message -------- Subject: Re: [VirtualBox-5.1.22 Build Failed on FreeBSD-12] Date: Wed, 19 Jul 2017 11:11:51 -0400 From: Jung-uk Kim To: Ederson Corbari , freebsd-emulation@freebsd.org On 07/16/2017 13:25, Ederson Corbari wrote: > Hello, >=20 > I installed FreeBSD 12-CURRENT on my new laptop DELL Inspiron, because > FreeBSD-11 does not work ACPI > correctly. Apparently everything working, but to build VirtualBox is > occurring the following error: >=20 > ------------------------------------------------------- > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/include/iprt= /assert.h:575:21: > note: expanded from macro 'AssertReturn' > return (rc); \ > ^~ > kBuild: Compiling webtest - > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/src/VBox/Mai= n/webservice/webtest.cpp > kmk: *** > [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/out/freebsd= =2Eamd64/release/obj/RuntimeBldProg/RuntimeBldProg.a] > Segmentation fault (core dumped) > The failing command: > @/usr/local/bin/kmk_redirect -rti > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/out/freebsd.= amd64/release/obj/RuntimeBldProg/RuntimeBldProg.a.ar-script > -- ar -M > kmk: *** > [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/out/freebsd= =2Eamd64/release/obj/RuntimeBldProg/RuntimeBldProg.a] > Deleting file > `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/out/freebsd= =2Eamd64/release/obj/RuntimeBldProg/RuntimeBldProg.a.ar-script' > kmk: *** Waiting for unfinished jobs.... > 74 warnings generated. > kmk: *** Exiting with status 2 > *** Error code 2 >=20 > Stop. > make: stopped in /usr/ports/emulators/virtualbox-ose > ------------------------------------------------------- >=20 > The configuration used is default, simply run command: make -DBATCH ins= tall It seems something is wrong with ar on head since ino64. > Does anyone know how to fix the problem? I am not sure how to fix it but I worked around it by replacing /usr/bin/ar with the one from 10.3. --b2l1Wix4hnLpDPla8RtVtA2aknKmD0Bae-- --VID9BlMOI3X9bMD2pDVheCSo25T6VceJk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEl1bqgKaRyqfWXu/CfJ+WJvzb8UYFAllvrEEACgkQfJ+WJvzb 8UYtJQf/VMS5qIlgLJtQDJhWNxTxZAstf4SpnD6dWLDAIHH4ntAZ+EfNOrRa+QSM m7ZT0v3K+o0y3eh5SYVuD6GRbhyEfCNzJN1ihot7y2cay/OvoCM4+GfnCF9wcgtw 90EvXloauogMzTkS0zEX1XAQ9YK0GxzFWltA8rmQAw8fM+ZvInxo3em3FCyuvyq9 b1hrnIvLVR8n7ostdWH6EPmJ6hLfLZvzAg24pVJCe90twmKed8MyzN6nMi31B0ws AGpHmxfG/ttXDRjzwhNoU8uCkdR16yE+A/+a6hwUFQVw1gb0ItpAa4RwZKToubNu LM7ky8z4GSGz21ty5BFmzTBqHV7eyQ== =oYAf -----END PGP SIGNATURE----- --VID9BlMOI3X9bMD2pDVheCSo25T6VceJk-- From owner-freebsd-toolchain@freebsd.org Wed Jul 19 20:57:24 2017 Return-Path: Delivered-To: freebsd-toolchain@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 A7248D7E2FA; Wed, 19 Jul 2017 20:57:24 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from ainaz.pair.com (ainaz.pair.com [209.68.2.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 827BC6BE20; Wed, 19 Jul 2017 20:57:24 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from ainaz.pair.com (localhost [127.0.0.1]) by ainaz.pair.com (Postfix) with ESMTP id 215293F5FA; Wed, 19 Jul 2017 16:50:07 -0400 (EDT) Received: from anthias.dhcp.nue.suse.com (charybdis-ext.suse.de [195.135.221.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ainaz.pair.com (Postfix) with ESMTPSA id 560033F5E3; Wed, 19 Jul 2017 16:50:06 -0400 (EDT) Date: Wed, 19 Jul 2017 22:50:04 +0200 (CEST) From: Gerald Pfeifer To: Alexander Kabaev cc: Pedro Giffuni , freebsd-ports@freebsd.org, freebsd-toolchain@freebsd.org Subject: Re: lang/gcc6-aux for head beyond __nonnull related issues: vm_ooffset_t and vm_pindex_t related changes (and more) In-Reply-To: <20170414201952.69ccc472@kan> Message-ID: References: <9758023E-1526-41F9-9416-6AC8AD3201B5@dsl-only.net> <20170414201952.69ccc472@kan> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jul 2017 20:57:24 -0000 On Fri, 14 Apr 2017, Alexander Kabaev wrote: > it was suggested multiple times that the whole fixinc step is > ultimately harmful and serves no useful purpose and probably should be > disabled in built packages outright. Is there a reason not to do it? > Even Redhat appears to do the slimming in their rpms: For the more current lang/gcc* ports (not the gcc5-aux and gcc6-aux ports which I do not maintain) I have now removed packaging the headers processed by fixincludes, so any problems in that direction should be gone. Gerald From owner-freebsd-toolchain@freebsd.org Thu Jul 20 02:06:30 2017 Return-Path: Delivered-To: freebsd-toolchain@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 91067DA2019; Thu, 20 Jul 2017 02:06:30 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from mail-qt0-x242.google.com (mail-qt0-x242.google.com [IPv6:2607:f8b0:400d:c0d::242]) (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 431697788A; Thu, 20 Jul 2017 02:06:30 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: by mail-qt0-x242.google.com with SMTP id p25so1993395qtp.2; Wed, 19 Jul 2017 19:06:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version; bh=pVlwh4S1hNsxNocL8geIHr8QYEN8CtH7f7YKilZKA3A=; b=mDGgrgc+J/Bt1UDNw0pLPXvY1z+GqGq8ouw7PjRzTrV068ihG2NcPADk/ZG0asH+Jf s038LIpNz6xG8PugaQu9k76gEKrDDZzYW8EEmBZQr14gwlKMSeXz7wFqo7h5uhGakhpT okI/61i2u1ZqFFQ8ndZPbCS9iuUlZJCLG8iZqkq2WmlSorjoTUTH/nHS3B5FWeveOWQ2 TqZcBF+GAjPlY1Ze6VMFzHDRBWTYhf1hZDOK23byUPhYTq2JnIoQWZdBfDRCiiyYLBr6 TKLnfCosI2yRPxYqPM9GRNxDTgClXwm3klg5OOa/vKpX6vn/z6NNJciXZ8J1eMG9BdqQ 7Zjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version; bh=pVlwh4S1hNsxNocL8geIHr8QYEN8CtH7f7YKilZKA3A=; b=s9tMAZVnxTxqrkbhp44xVLu8E56TKoYO0/Zwn8CHtpiV4ifCIlMatbmZH65rJ0tdyk 2svs4tnKDXKPbTYM2K4Re2aONL4dwE9GH3Few5pnJr5UQgE9VlsHP1A8LEpbmwQO0IDK SudIV04mQX/08D0sEyUncdBSAByFpIrge2D/4z/VFSz/9dLAayV6Ou+B8jxzF5kGB+4K q9FBS0WIc2/X5ZRGU05w+jC7v6s8ZcQXYW/QH73b/aan1yHDCBt5OawN4Bv7lxrDQjYm qW/1C10iNJh6WuCLztHKdmUEP6qWznnA38u+j+IZVz7sBmwbRKN1+1fgmh4WyPScFlGo YyJw== X-Gm-Message-State: AIVw1139p9vslKXu4fVZhmcVUqugeYPYcTo6Xg/ZsoMH/5Z0R2d9qm/H aQZLKBB8FBnEdPD6hWU= X-Received: by 10.237.38.132 with SMTP id q4mr2735696qtd.321.1500516389475; Wed, 19 Jul 2017 19:06:29 -0700 (PDT) Received: from kan ([2601:18f:802:4680:226:18ff:fe00:232e]) by smtp.gmail.com with ESMTPSA id 43sm1033976qtn.91.2017.07.19.19.06.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 19 Jul 2017 19:06:28 -0700 (PDT) Date: Wed, 19 Jul 2017 22:06:13 -0400 From: Alexander Kabaev To: Gerald Pfeifer Cc: Pedro Giffuni , freebsd-ports@freebsd.org, freebsd-toolchain@freebsd.org Subject: Re: lang/gcc6-aux for head beyond __nonnull related issues: vm_ooffset_t and vm_pindex_t related changes (and more) Message-ID: <20170719220613.38149073@kan> In-Reply-To: References: <9758023E-1526-41F9-9416-6AC8AD3201B5@dsl-only.net> <20170414201952.69ccc472@kan> X-Mailer: Claws Mail 3.15.0 (GTK+ 2.24.31; amd64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/mePjb0cImo.p/M/.2kpPGdg"; protocol="application/pgp-signature" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jul 2017 02:06:30 -0000 --Sig_/mePjb0cImo.p/M/.2kpPGdg Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 19 Jul 2017 22:50:04 +0200 (CEST) Gerald Pfeifer wrote: > On Fri, 14 Apr 2017, Alexander Kabaev wrote: > > it was suggested multiple times that the whole fixinc step is > > ultimately harmful and serves no useful purpose and probably should > > be disabled in built packages outright. Is there a reason not to do > > it? Even Redhat appears to do the slimming in their rpms: =20 >=20 > For the more current lang/gcc* ports (not the gcc5-aux and gcc6-aux=20 > ports which I do not maintain) I have now removed packaging the > headers processed by fixincludes, so any problems in that direction > should be gone. >=20 > Gerald Thank you, Gerald! --=20 Alexander Kabaev --Sig_/mePjb0cImo.p/M/.2kpPGdg Content-Type: application/pgp-signature Content-Description: Цифровая подпись OpenPGP -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEExffZlZm2QeE8UVaRBxMimZJ5Ln4FAllwEBVfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEM1 RjdEOTk1OTlCNjQxRTEzQzUxNTY5MTA3MTMyMjk5OTI3OTJFN0UACgkQBxMimZJ5 Ln4F0w//YA5Pgo0ReBSTcc8n38kjNtve+CbKCzDD0sD72zcQakxh7y6ltiwJciAr fjTST7SqXkKcXKVmQx5GL6ZBXzPYOelNYH0GKTKOtAZsKryzakBCz0Il0dexPbFH Fhxd8KNqPkdfwdcgaEoQAogZWfuYcGu2S+rex61Y0AcUmFhzTDtfon83xmLZqn9J uXrgtdM2X6B4E7abn5fQAlu23WY2aQTg0pJSaMjtLtdHGtFxJS7ni99f/mr+gyBy hqYwvPHs2HDtLpJwldp/zMyqxLAiXEsYztiDfMOynFfucQziZh4jXacDIz+iv+vN T7ezGGrzEN0EliK0i5LoAv1BkHKRhWfcPDvRXlAAEmyDnXzWAacyinDTlFHAAntW I809bXaOcvczP5bVV8Ih5L4lmr2o0h+efMw788sFGWlJGi32Gdu0p0Uj10dSOMl2 aSgW6bJiropkOC9DZS/ZACf5jUPNT/KSGD2pj5WUVN7VAt7O7OMKWsCVlfYhrmVA a+r47eUyeilT9MHh/JChTW25cJ/L7BseRKF9+KdYyyEAQxooQBydR7kaPBJg5LLX TVv15yVbueo1i4b+3EouAJGXD8WWGbdNqFEHO9qQHEuPWxyJjc+KmtQik5ZGLINV S/VqFbr+8HBVrmLpdB/sg3x7qZVVwLVMg83AGTHFSoY2WgEwTf4= =Tye1 -----END PGP SIGNATURE----- --Sig_/mePjb0cImo.p/M/.2kpPGdg-- From owner-freebsd-toolchain@freebsd.org Thu Jul 20 06:19:06 2017 Return-Path: Delivered-To: freebsd-toolchain@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 E4F2ADA9951; Thu, 20 Jul 2017 06:19:06 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 55CBC82236; Thu, 20 Jul 2017 06:19:06 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id v6K6J1xY091268 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 20 Jul 2017 09:19:01 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua v6K6J1xY091268 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id v6K6J0WH091267; Thu, 20 Jul 2017 09:19:00 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 20 Jul 2017 09:19:00 +0300 From: Konstantin Belousov To: Alexander Kabaev Cc: Gerald Pfeifer , Pedro Giffuni , freebsd-ports@freebsd.org, freebsd-toolchain@freebsd.org Subject: Re: lang/gcc6-aux for head beyond __nonnull related issues: vm_ooffset_t and vm_pindex_t related changes (and more) Message-ID: <20170720061900.GF1935@kib.kiev.ua> References: <9758023E-1526-41F9-9416-6AC8AD3201B5@dsl-only.net> <20170414201952.69ccc472@kan> <20170719220613.38149073@kan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170719220613.38149073@kan> User-Agent: Mutt/1.8.3 (2017-05-23) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tom.home X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jul 2017 06:19:07 -0000 On Wed, Jul 19, 2017 at 10:06:13PM -0400, Alexander Kabaev wrote: > On Wed, 19 Jul 2017 22:50:04 +0200 (CEST) > Gerald Pfeifer wrote: > > > On Fri, 14 Apr 2017, Alexander Kabaev wrote: > > > it was suggested multiple times that the whole fixinc step is > > > ultimately harmful and serves no useful purpose and probably should > > > be disabled in built packages outright. Is there a reason not to do > > > it? Even Redhat appears to do the slimming in their rpms: > > > > For the more current lang/gcc* ports (not the gcc5-aux and gcc6-aux > > ports which I do not maintain) I have now removed packaging the > > headers processed by fixincludes, so any problems in that direction > > should be gone. > > > > Gerald > > Thank you, Gerald! This is very good news, thank you. Gcc should be much more usable now. From owner-freebsd-toolchain@freebsd.org Thu Jul 20 06:32:47 2017 Return-Path: Delivered-To: freebsd-toolchain@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 AD15ADA9DBB for ; Thu, 20 Jul 2017 06:32:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 94EEB82894 for ; Thu, 20 Jul 2017 06:32:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v6K6WlRn059226 for ; Thu, 20 Jul 2017 06:32:47 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 219484] cad/openvsp: fails to build with lang/gcc6 or later on 10.3 Date: Thu, 20 Jul 2017 06:32:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jul 2017 06:32:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219484 Jan Beich changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|cad/openvsp: fails to build |cad/openvsp: fails to build |with lang/gcc6 or later on |with lang/gcc6 or later on |10.* |10.3 --- Comment #7 from Jan Beich --- openvsp builds fine with lang/gcc6 on /stable/10@321237 --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Thu Jul 20 09:11:14 2017 Return-Path: Delivered-To: freebsd-toolchain@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 EC3A3DAD2A2 for ; Thu, 20 Jul 2017 09:11:14 +0000 (UTC) (envelope-from mm@freebsd.org) Received: from mail.vx.sk (mail.vx.sk [IPv6:2a01:4f8:190:61f0::4]) by mx1.freebsd.org (Postfix) with ESMTP id 9FC1B3C4C; Thu, 20 Jul 2017 09:11:14 +0000 (UTC) (envelope-from mm@freebsd.org) Received: from mail.vx.sk (localhost [IPv6:::1]) by mail.vx.sk (Postfix) with ESMTPSA id 785B2A2341; Thu, 20 Jul 2017 11:11:13 +0200 (CEST) Received: from [10.0.0.1] ([10.0.0.1]) by mail.vx.sk (Horde Framework) with HTTPS; Thu, 20 Jul 2017 11:11:13 +0200 Date: Thu, 20 Jul 2017 11:11:13 +0200 Message-ID: <20170720111113.Horde.B-b7Qp1sY_v9KbczM3KP_t9@mail.vx.sk> From: Martin Matuska To: Jung-uk Kim Cc: Ed Maste , FreeBSD toolchain Subject: Re: [VirtualBox-5.1.22 Build Failed on FreeBSD-12] References: <7bc831e2-778e-eb12-174e-c2426b87c2d2@FreeBSD.org> In-Reply-To: User-Agent: Horde Application Framework 5 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Description: =?utf-8?b?U3Byw6F2YQ==?= s =?utf-8?b?xI1pc3TDvW0=?= textom X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jul 2017 09:11:15 -0000 This sounds like a write buffer overflow in libarchive. It would be great to have the call to the ar command and the input data. Quoting Jung-uk Kim : > emulators/virtualbox-ose is failing on head for some time and I found ar > is causing the trouble.  The earliest failures noticed by package > builders are here: > > http://docs.freebsd.org/cgi/mid.cgi?201706170249.v5H2nUVZ039286 > http://docs.freebsd.org/cgi/mid.cgi?201706170238.v5H2cZTZ054493 > > The core file shows: > > (lldb) bt > * thread #1, name = 'ar', stop reason = signal SIGSEGV > * frame #0: 0x00000000004ac850 ar`memchr + 16 >    frame #1: 0x000000000044359a ar`strstr + 1082 >    frame #2: 0x000000000040649f ar`archive_write_ar_header + 2095 >    frame #3: 0x0000000000409423 ar`_archive_write_header + 259 >    frame #4: 0x00000000004051eb ar`write_archive + 3995 >    frame #5: 0x0000000000402be6 ar`yyparse + 1190 >    frame #6: 0x0000000000402715 ar`ar_mode_script + 69 >    frame #7: 0x0000000000400cdc ar`main + 2140 >    frame #8: 0x000000000040035f ar`_start + 383 > > I am not sure whether ar or libarchive is culprit here. > > Any idea? > > Jung-uk Kim > > -------- Forwarded Message -------- > Subject: Re: [VirtualBox-5.1.22 Build Failed on FreeBSD-12] > Date: Wed, 19 Jul 2017 11:11:51 -0400 > From: Jung-uk Kim > To: Ederson Corbari , freebsd-emulation@freebsd.org > > On 07/16/2017 13:25, Ederson Corbari wrote: >> Hello, >> >> I installed FreeBSD 12-CURRENT on my new laptop DELL Inspiron, because >> FreeBSD-11 does not work ACPI >> correctly. Apparently everything working, but to build VirtualBox is >> occurring the following error: >> >> ------------------------------------------------------- >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/include/iprt/assert.h:575:21: >> note: expanded from macro 'AssertReturn' >>             return (rc); \ >>                     ^~ >> kBuild: Compiling webtest - >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/src/VBox/Main/webservice/webtest.cpp >> kmk: *** >> [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/out/freebsd.amd64/release/obj/RuntimeBldProg/RuntimeBldProg.a] >> Segmentation fault (core dumped) >> The failing command: >> @/usr/local/bin/kmk_redirect -rti >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/out/freebsd.amd64/release/obj/RuntimeBldProg/RuntimeBldProg.a.ar-script >> -- ar -M >> kmk: *** >> [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/out/freebsd.amd64/release/obj/RuntimeBldProg/RuntimeBldProg.a] >> Deleting file >> `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/out/freebsd.amd64/release/obj/RuntimeBldProg/RuntimeBldProg.a.ar-script' >> kmk: *** Waiting for unfinished jobs.... >> 74 warnings generated. >> kmk: *** Exiting with status 2 >> *** Error code 2 >> >> Stop. >> make: stopped in /usr/ports/emulators/virtualbox-ose >> ------------------------------------------------------- >> >> The configuration used is default, simply run command: make -DBATCH install > > It seems something is wrong with ar on head since ino64. > >> Does anyone know how to fix the problem? > > I am not sure how to fix it but I worked around it by > replacing/usr/bin/ar with the one from 10.3. -- Martin Matuska FreeBSD committer http://blog.vx.sk From owner-freebsd-toolchain@freebsd.org Thu Jul 20 16:01:27 2017 Return-Path: Delivered-To: freebsd-toolchain@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 11D28C7B052 for ; Thu, 20 Jul 2017 16:01:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F35856E88D for ; Thu, 20 Jul 2017 16:01:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v6KG1QZR087733 for ; Thu, 20 Jul 2017 16:01:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 219484] cad/openvsp: fails to build with lang/gcc6 or later on 10.3 Date: Thu, 20 Jul 2017 16:01:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: fernando.apesteguia@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jul 2017 16:01:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219484 --- Comment #8 from fernando.apesteguia@gmail.com --- (In reply to Jan Beich from comment #7) Thanks for testing. I wonder, how ofter are snapshots of -STABLE created? I couldn't find any new enough to test the port with poudriere: http://ftp.freebsd.org/pub/FreeBSD/snapshots/amd64/10.3-STABLE/ --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Thu Jul 20 22:13:37 2017 Return-Path: Delivered-To: freebsd-toolchain@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 86C73CFD3CB for ; Thu, 20 Jul 2017 22:13:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 74F807E89E for ; Thu, 20 Jul 2017 22:13:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v6KMDbuG016952 for ; Thu, 20 Jul 2017 22:13:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 220883] clang crash: Assertion failed: (Result.isUninit() && "temporary created multiple times"), function createTemporary Date: Thu, 20 Jul 2017 22:13:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jul 2017 22:13:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220883 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-toolchain@FreeBSD.o | |rg --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Fri Jul 21 07:28:43 2017 Return-Path: Delivered-To: freebsd-toolchain@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 0CE56D9ADE8 for ; Fri, 21 Jul 2017 07:28:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E406366A74 for ; Fri, 21 Jul 2017 07:28:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v6L7Sggo079597 for ; Fri, 21 Jul 2017 07:28:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 220883] clang crash: Assertion failed: (Result.isUninit() && "temporary created multiple times"), function createTemporary Date: Fri, 21 Jul 2017 07:28:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: dim@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to cc bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jul 2017 07:28:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220883 Dimitry Andric changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-toolchain@FreeBSD.o |dim@FreeBSD.org |rg | CC| |dim@FreeBSD.org Status|New |In Progress --- Comment #1 from Dimitry Andric --- I can reproduce, but it has been fixed upstream in the mean time. Investigating. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Sat Jul 22 18:03:21 2017 Return-Path: Delivered-To: freebsd-toolchain@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 D9FF4DA97D7 for ; Sat, 22 Jul 2017 18:03:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C840514BB for ; Sat, 22 Jul 2017 18:03:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v6MI3LbE071286 for ; Sat, 22 Jul 2017 18:03:21 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 218808] www/firefox: usr/bin/ld: error: unknown argument: --warn-unresolved-symbols Date: Sat, 22 Jul 2017 18:03:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gecko@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jul 2017 18:03:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218808 --- Comment #6 from Jan Beich --- lld 5.0 per base r321369 does support --warn-unresolved-symbols, so comment= 1 shows the following: /usr/bin/ld.lld: warning: undefined symbol: environ >>> referenced by a.c >>> /tmp/a-e9e734.o:(foo) /usr/bin/ld.lld: warning: undefined symbol: environ >>> referenced by a.c >>> /tmp/a-e9e734.o:(foo) Can you try building www/firefox on -CURRENT again? --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Sat Jul 22 22:21:17 2017 Return-Path: Delivered-To: freebsd-toolchain@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 548E0DAE9CC for ; Sat, 22 Jul 2017 22:21:17 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-38.reflexion.net [208.70.210.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0C4AD673FE for ; Sat, 22 Jul 2017 22:21:16 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 11916 invoked from network); 22 Jul 2017 22:14:35 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 22 Jul 2017 22:14:35 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.40.1) with SMTP; Sat, 22 Jul 2017 18:14:35 -0400 (EDT) Received: (qmail 7241 invoked from network); 22 Jul 2017 22:14:35 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 22 Jul 2017 22:14:35 -0000 Received: from [192.168.1.109] (c-67-170-167-181.hsd1.or.comcast.net [67.170.167.181]) by iron2.pdx.net (Postfix) with ESMTPSA id 72AF1EC8173; Sat, 22 Jul 2017 15:14:34 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: A powerpc64 clang 4 vs. clang 5 patch difference for PltRel and GotRel for ELF Message-Id: Date: Sat, 22 Jul 2017 15:14:33 -0700 To: FreeBSD Toolchain , FreeBSD PowerPC ML X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jul 2017 22:21:17 -0000 I have been using the following personal patch for the clang 4 environment: # svnlite diff contrib/llvm/tools/lld/ELF/Target.cpp Index: contrib/llvm/tools/lld/ELF/Target.cpp =================================================================== --- contrib/llvm/tools/lld/ELF/Target.cpp (revision 321109) +++ contrib/llvm/tools/lld/ELF/Target.cpp (working copy) @@ -1070,7 +1070,8 @@ } PPC64TargetInfo::PPC64TargetInfo() { - PltRel = GotRel = R_PPC64_GLOB_DAT; + GotRel = R_PPC64_GLOB_DAT; + PltRel = R_PPC64_JMP_SLOT; RelativeRel = R_PPC64_RELATIVE; GotEntrySize = 8; GotPltEntrySize = 8; (This was not sufficient for lld to work overall but was definitely required --possibly it should have some sort conditional status making the change FreeBSD specific.) In clang 5 the code has moved: # svnlite diff /usr/src/contrib/llvm/tools/lld/ELF/Arch/PPC64.cpp Index: /usr/src/contrib/llvm/tools/lld/ELF/Arch/PPC64.cpp =================================================================== --- /usr/src/contrib/llvm/tools/lld/ELF/Arch/PPC64.cpp (revision 321371) +++ /usr/src/contrib/llvm/tools/lld/ELF/Arch/PPC64.cpp (working copy) @@ -60,7 +60,8 @@ static uint16_t applyPPCHighesta(uint64_t V) { return (V + 0x8000) >> 48; } PPC64::PPC64() { - PltRel = GotRel = R_PPC64_GLOB_DAT; + GotRel = R_PPC64_GLOB_DAT; + PltRel = R_PPC64_JMP_SLOT; RelativeRel = R_PPC64_RELATIVE; GotEntrySize = 8; GotPltEntrySize = 8; (So far I'm just guessing that the patch would still be required. I've barely started rebuilds.) === Mark Millard markmi at dsl-only.net From owner-freebsd-toolchain@freebsd.org Sat Jul 22 23:32:48 2017 Return-Path: Delivered-To: freebsd-toolchain@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 30DF7DB01F6 for ; Sat, 22 Jul 2017 23:32:48 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-38.reflexion.net [208.70.210.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E568D6942B for ; Sat, 22 Jul 2017 23:32:46 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 32241 invoked from network); 22 Jul 2017 23:34:23 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 22 Jul 2017 23:34:23 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.40.1) with SMTP; Sat, 22 Jul 2017 19:32:45 -0400 (EDT) Received: (qmail 2355 invoked from network); 22 Jul 2017 23:32:44 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 22 Jul 2017 23:32:44 -0000 Received: from [192.168.1.109] (c-67-170-167-181.hsd1.or.comcast.net [67.170.167.181]) by iron2.pdx.net (Postfix) with ESMTPSA id 21C87EC8173; Sat, 22 Jul 2017 16:32:44 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: amd64 -r321109 -> -r321371 buildworld update failed (spans clang 5 update); error: too few arguments provided to function-like macro invocation; , METAMODE and -j8 was used Message-Id: <056C30CC-72B8-41A4-AEAA-64B6B96854DB@dsl-only.net> Date: Sat, 22 Jul 2017 16:32:43 -0700 To: Dimitry Andric , FreeBSD Toolchain , FreeBSD Current X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jul 2017 23:32:48 -0000 My first attempt to update amd64 to a clang 5 based /usr/src failed ( -r321109 -> -r321371 ). Listing just the first error initially: --- ToolDrivers/llvm-lib/LibDriver.o --- In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:35: = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:= 92: error: too few arguments provided to function-like macro invocation OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, 0, = 0, nullptr, nullptr) = ^ /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:34:9: note: = macro 'OPTION' defined here #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, ^ I list the build context information before the full failure information. I've not tried a from scratch build yet. I'll start another build in a bit but it will take some time to get back t the same point once I start it. Build Context: # svnlite info /usr/src/ | grep "Re[plv]" Relative URL: ^/head Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 321371 Last Changed Rev: 321371 # more = ~/sys_build_scripts.amd64-host/make_amd64_nodebug_clang-amd64-host.sh=20 kldload -n filemon && \ script = ~/sys_typescripts/typescript_make_amd64_nodebug_clang-amd64-host-$(date = +%Y-%m-%d:%H:%M:%S) \ env __MAKE_CONF=3D"/root/src.configs/make.conf" SRCCONF=3D"/dev/null" = SRC_ENV_CONF=3D"/root/src.configs/src.conf.amd64-clang.amd64-host" \ WITH_META_MODE=3Dyes \ MAKEOBJDIRPREFIX=3D"/usr/obj/amd64_clang/amd64.amd64" \ make $* # more = ~/sys_build_scripts.amd64-host/make_amd64_nodebug_clang-amd64-host.sh=20 kldload -n filemon && \ script = ~/sys_typescripts/typescript_make_amd64_nodebug_clang-amd64-host-$(date = +%Y-%m-%d:%H:%M:%S) \ env __MAKE_CONF=3D"/root/src.configs/make.conf" SRCCONF=3D"/dev/null" = SRC_ENV_CONF=3D"/root/src.configs/src.conf.amd64-clang.amd64-host" \ WITH_META_MODE=3Dyes \ MAKEOBJDIRPREFIX=3D"/usr/obj/amd64_clang/amd64.amd64" \ make $* #WITH_META_MODE=3Dyes \ # FreeBSDx64OPC# more /root/src.configs/src.conf.amd64-clang.amd64-host TO_TYPE=3Damd64 # KERNCONF=3DGENERIC-NODBG TARGET=3D${TO_TYPE} .if ${.MAKE.LEVEL} =3D=3D 0 TARGET_ARCH=3D${TO_TYPE} .export TARGET_ARCH .endif # #WITH_CROSS_COMPILER=3D WITH_SYSTEM_COMPILER=3D # WITH_LIBCPLUSPLUS=3D WITH_BINUTILS_BOOTSTRAP=3D WITH_ELFTOOLCHAIN_BOOTSTRAP=3D #WITH_CLANG_BOOTSTRAP=3D WITH_CLANG=3D WITH_CLANG_IS_CC=3D WITH_CLANG_FULL=3D WITH_CLANG_EXTRAS=3D WITH_LLD=3D WITHOUT_LLD_IS_LD=3D WITH_LLVM_LIBUNWIND=3D WITH_LLDB=3D #PORTS_MODULES=3Demulators/virtualbox-ose-additions # WITH_BOOT=3D WITH_LIB32=3D # WITHOUT_GCC_BOOTSTRAP=3D WITHOUT_GCC=3D WITHOUT_GCC_IS_CC=3D WITHOUT_GNUCXX=3D # NO_WERROR=3D #WERROR=3D MALLOC_PRODUCTION=3D # WITH_REPRODUCIBLE_BUILD=3D Failure: --- ToolDrivers/llvm-lib/LibDriver.o --- In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:35: = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:= 92: error: too few arguments provided to function-like macro invocation OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, 0, = 0, nullptr, nullptr) = ^ /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:34:9: note: = macro 'OPTION' defined here #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, ^ In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:35: = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:28:= 98: error: too few arguments provided to function-like macro invocation OPTION(prefix_0, "", UNKNOWN, Unknown, INVALID, INVALID, = nullptr, 0, 0, nullptr, nullptr) = ^ /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:34:9: note: = macro 'OPTION' defined here #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, ^ In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:35: = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:= 7: error: missing ',' between enumerators OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, 0, = 0, nullptr, nullptr) ^ ,=20 = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:29:= 94: error: too few arguments provided to function-like macro invocation OPTION(prefix_1, "ignore:", ignore, Joined, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) = ^ /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:34:9: note: = macro 'OPTION' defined here #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, ^ In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:35: = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:28:= 1: error: redefinition of enumerator 'OPTION' OPTION(prefix_0, "", UNKNOWN, Unknown, INVALID, INVALID, = nullptr, 0, 0, nullptr, nullptr) ^ = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:= 1: note: previous definition is here OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, 0, = 0, nullptr, nullptr) ^ = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:28:= 7: error: missing ',' between enumerators OPTION(prefix_0, "", UNKNOWN, Unknown, INVALID, INVALID, = nullptr, 0, 0, nullptr, nullptr) ^ ,=20 = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:31:= 42: error: too few arguments provided to function-like macro invocation "Object file search path", nullptr) ^ /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:34:9: note: = macro 'OPTION' defined here #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, ^ In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:35: = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:29:= 1: error: redefinition of enumerator 'OPTION' OPTION(prefix_1, "ignore:", ignore, Joined, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) ^ = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:= 1: note: previous definition is here OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, 0, = 0, nullptr, nullptr) ^ = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:29:= 7: error: missing ',' between enumerators OPTION(prefix_1, "ignore:", ignore, Joined, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) ^ ,=20 = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:32:= 101: error: too few arguments provided to function-like macro invocation OPTION(prefix_1, "llvmlibthin", llvmlibthin, Flag, INVALID, INVALID, = nullptr, 0, 0, nullptr, nullptr) = ^ /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:34:9: note: = macro 'OPTION' defined here #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, ^ In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:35: = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:30:= 1: error: redefinition of enumerator 'OPTION' OPTION(prefix_1, "libpath:", libpath, Joined, INVALID, INVALID, nullptr, = 0, 0, ^ = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:= 1: note: previous definition is here OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, 0, = 0, nullptr, nullptr) ^ = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:30:= 7: error: missing ',' between enumerators OPTION(prefix_1, "libpath:", libpath, Joined, INVALID, INVALID, nullptr, = 0, 0, ^ ,=20 = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:33:= 96: error: too few arguments provided to function-like macro invocation OPTION(prefix_1, "machine:", machine, Joined, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) = ^ /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:34:9: note: = macro 'OPTION' defined here #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, ^ In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:35: = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:32:= 1: error: redefinition of enumerator 'OPTION' OPTION(prefix_1, "llvmlibthin", llvmlibthin, Flag, INVALID, INVALID, = nullptr, 0, 0, nullptr, nullptr) ^ = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:= 1: note: previous definition is here OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, 0, = 0, nullptr, nullptr) ^ = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:32:= 7: error: missing ',' between enumerators OPTION(prefix_1, "llvmlibthin", llvmlibthin, Flag, INVALID, INVALID, = nullptr, 0, 0, nullptr, nullptr) ^ ,=20 = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:34:= 91: error: too few arguments provided to function-like macro invocation OPTION(prefix_1, "nologo", nologo, Flag, INVALID, INVALID, nullptr, 0, = 0, nullptr, nullptr) = ^ /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:34:9: note: = macro 'OPTION' defined here #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, ^ In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:35: = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:33:= 1: error: redefinition of enumerator 'OPTION' OPTION(prefix_1, "machine:", machine, Joined, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) ^ = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:= 1: note: previous definition is here OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, 0, = 0, nullptr, nullptr) ^ = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:33:= 7: error: missing ',' between enumerators OPTION(prefix_1, "machine:", machine, Joined, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) ^ ,=20 = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:36:= 47: error: too few arguments provided to function-like macro invocation "Path to file to write output", nullptr) ^ /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:34:9: note: = macro 'OPTION' defined here #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, ^ fatal error: too many errors emitted, stopping now [-ferror-limit=3D] 20 errors generated. --- ToolDrivers/llvm-dlltool/DlltoolDriver.o --- In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:36: = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:= 92: error: too few arguments provided to function-like macro invocation OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, 0, = 0, nullptr, nullptr) = ^ = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:35:9:= note: macro 'OPTION' defined here #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, ^ In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:36: --- ToolDrivers/llvm-lib/LibDriver.o --- *** [ToolDrivers/llvm-lib/LibDriver.o] Error code 1 make[6]: stopped in /usr/src/lib/clang/libllvm .ERROR_TARGET=3D'ToolDrivers/llvm-lib/LibDriver.o' = .ERROR_META_FILE=3D'/usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/lib= llvm/_usr_obj_amd64_clang_amd64.amd64_usr_src_lib_clang_libllvm_ToolDriver= s_llvm-lib_LibDriver.o.meta' .MAKE.LEVEL=3D'6' MAKEFILE=3D'' .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes = verbose' _ERROR_CMD=3D'c++ -target x86_64-unknown-freebsd12.0 = --sysroot=3D/usr/obj/amd64_clang/amd64.amd64/usr/src/tmp = -B/usr/obj/amd64_clang/amd64.amd64/usr/src/tmp/usr/bin -O2 -pipe = -I/usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm = -I/usr/src/contrib/llvm/lib/Target/AArch64 = -I/usr/src/contrib/llvm/lib/Target/ARM = -I/usr/src/contrib/llvm/lib/Target/Mips = -I/usr/src/contrib/llvm/lib/Target/PowerPC = -I/usr/src/contrib/llvm/lib/Target/Sparc = -I/usr/src/contrib/llvm/lib/Target/X86 -I/usr/src/lib/clang/include = -I/usr/src/contrib/llvm/include -DLLVM_BUILD_GLOBAL_ISEL = -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS = -DLLVM_DEFAULT_TARGET_TRIPLE=3D\"x86_64-unknown-freebsd12.0\" = -DLLVM_HOST_TRIPLE=3D\"x86_64-unknown-freebsd12.0\" = -DDEFAULT_SYSROOT=3D\"\" -ffunction-sections -fdata-sections = -fstack-protector-strong -Qunused-arguments = -I/usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/llvm-lib = -std=3Dc++11 -fno-exceptions -fno-rtti -stdlib=3Dlibc++ = -Wno-c++11-extensions -c = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp -o = ToolDrivers/llvm-lib/LibDriver.o;' .CURDIR=3D'/usr/src/lib/clang/libllvm' .MAKE=3D'make' .OBJDIR=3D'/usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm' .TARGETS=3D'all' DESTDIR=3D'/usr/obj/amd64_clang/amd64.amd64/usr/src/tmp' LD_LIBRARY_PATH=3D'' MACHINE=3D'amd64' MACHINE_ARCH=3D'amd64' MAKEOBJDIRPREFIX=3D'/usr/obj/amd64_clang/amd64.amd64' MAKESYSPATH=3D'/usr/src/share/mk' MAKE_VERSION=3D'20170711' = PATH=3D'/usr/obj/amd64_clang/amd64.amd64/usr/src/tmp/legacy/usr/sbin:/usr/= obj/amd64_clang/amd64.amd64/usr/src/tmp/legacy/usr/bin:/usr/obj/amd64_clan= g/amd64.amd64/usr/src/tmp/legacy/bin:/usr/obj/amd64_clang/amd64.amd64/usr/= src/tmp/usr/sbin:/usr/obj/amd64_clang/amd64.amd64/usr/src/tmp/usr/bin:/sbi= n:/bin:/usr/sbin:/usr/bin' SRCTOP=3D'/usr/src' OBJTOP=3D'/usr/obj/amd64_clang/amd64.amd64/usr/src' .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk = /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk = /root/src.configs/src.conf.amd64-clang.amd64-host = /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/bsd.suffixes.mk = /root/src.configs/make.conf /usr/src/share/mk/local.sys.mk = /usr/src/share/mk/src.sys.mk /dev/null = /usr/src/lib/clang/libllvm/Makefile /usr/src/share/mk/src.opts.mk = /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.opts.mk = /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/bsd.compiler.mk = /usr/src/share/mk/bsd.linker.mk /usr/src/lib/clang/llvm.pre.mk = llvm/IR/Attributes.gen.d llvm/IR/Intrinsics.gen.d = AttributesCompatFunc.inc.d AArch64GenAsmMatcher.inc.d = AArch64GenAsmWriter.inc.d AArch64GenAsmWriter1.inc.d = AArch64GenCallingConv.inc.d AArch64GenDAGISel.inc.d = AArch64GenDisassemblerTables.inc.d AArch64GenFastISel.inc.d = AArch64GenInstrInfo.inc.d AArch64GenMCCodeEmitter.inc.d = AArch64GenMCPseudoLowering.inc.d AArch64GenRegisterInfo.inc.d = AArch64GenSubtargetInfo.inc.d AArch64GenSystemOperands.inc.d = ARMGenAsmMatcher.inc.d ARMGenAsmWriter.inc.d ARMGenCallingConv.inc.d = ARMGenDAGISel.inc.d ARMGenDisassemblerTables.inc.d ARMGenFastISel.inc.d = ARMGenInstrInfo.inc.d ARMGenMCCodeEmitter.inc.d = ARMGenMCPseudoLowering.inc.d ARMGenRegisterInfo.inc.d = ARMGenSubtargetInfo.inc.d MipsGenAsmMatcher.inc.d MipsGenAsmWriter.inc.d = MipsGenCallingConv.inc.d MipsGenDAGISel.inc.d = MipsGenDisassemblerTables.inc.d MipsGenFastISel.inc.d = MipsGenInstrInfo.inc.d MipsGenMCCodeEmitter.inc.d = MipsGenMCPseudoLowering.inc.d MipsGenRegisterInfo.inc.d = MipsGenSubtargetInfo.inc.d PPCGenAsmMatcher.inc.d PPCGenAsmWriter.inc.d = PPCGenCallingConv.inc.d PPCGenDAGISel.inc.d = PPCGenDisassemblerTables.inc.d PPCGenFastISel.inc.d = PPCGenInstrInfo.inc.d PPCGenMCCodeEmitter.inc.d PPCGenRegisterInfo.inc.d = PPCGenSubtargetInfo.inc.d SparcGenAsmMatcher.inc.d = SparcGenAsmWriter.inc.d SparcGenCallingConv.inc.d SparcGenDAGISel.inc.d = SparcGenDisassemblerTables.inc.d SparcGenInstrInfo.inc.d = SparcGenMCCodeEmitter.inc.d SparcGenRegisterInfo.inc.d = SparcGenSubtargetInfo.inc.d X86GenAsmMatcher.inc.d X86GenAsmWriter.inc.d = X86GenAsmWriter1.inc.d X86GenCallingConv.inc.d X86GenDAGISel.inc.d = X86GenDisassemblerTables.inc.d X86GenFastISel.inc.d = X86GenInstrInfo.inc.d X86GenRegisterInfo.inc.d X86GenSubtargetInfo.inc.d = /usr/src/lib/clang/llvm.build.mk /usr/src/share/mk/bsd.lib.mk = /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk = /usr/src/share/mk/src.init.mk /usr/src/share/mk/bsd.libnames.mk = /usr/src/share/mk/src.libnames.mk /usr/src/share/mk/bsd.symver.mk = /usr/src/share/mk/bsd.nls.mk /usr/src/share/mk/bsd.files.mk = /usr/src/share/mk/bsd.incs.mk /usr/src/share/mk/bsd.confs.mk = /usr/src/share/mk/bsd.links.mk /usr/src/share/mk/bsd.dep.mk = /usr/src/share/mk/bsd.clang-analyze.mk /usr/src/share/mk/bsd.obj.mk = /usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.sys.mk' .PATH=3D'. /usr/src/lib/clang/libllvm /usr/src/contrib/llvm/lib' --- ToolDrivers/llvm-dlltool/DlltoolDriver.o --- = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:28:= 98: error: too few arguments provided to function-like macro invocation OPTION(prefix_0, "", UNKNOWN, Unknown, INVALID, INVALID, = nullptr, 0, 0, nullptr, nullptr) = ^ = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:35:9:= note: macro 'OPTION' defined here #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, ^ In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:36: = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:= 7: error: missing ',' between enumerators OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, 0, = 0, nullptr, nullptr) ^ ,=20 = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:29:= 94: error: too few arguments provided to function-like macro invocation OPTION(prefix_1, "ignore:", ignore, Joined, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) = ^ = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:35:9:= note: macro 'OPTION' defined here #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, ^ In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:36: = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:28:= 1: error: redefinition of enumerator 'OPTION' OPTION(prefix_0, "", UNKNOWN, Unknown, INVALID, INVALID, = nullptr, 0, 0, nullptr, nullptr) ^ = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:= 1: note: previous definition is here OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, 0, = 0, nullptr, nullptr) ^ = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:28:= 7: error: missing ',' between enumerators OPTION(prefix_0, "", UNKNOWN, Unknown, INVALID, INVALID, = nullptr, 0, 0, nullptr, nullptr) ^ ,=20 = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:31:= 42: error: too few arguments provided to function-like macro invocation "Object file search path", nullptr) ^ = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:35:9:= note: macro 'OPTION' defined here #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, ^ In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:36: = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:29:= 1: error: redefinition of enumerator 'OPTION' OPTION(prefix_1, "ignore:", ignore, Joined, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) ^ = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:= 1: note: previous definition is here OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, 0, = 0, nullptr, nullptr) ^ = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:29:= 7: error: missing ',' between enumerators OPTION(prefix_1, "ignore:", ignore, Joined, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) ^ ,=20 = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:32:= 101: error: too few arguments provided to function-like macro invocation OPTION(prefix_1, "llvmlibthin", llvmlibthin, Flag, INVALID, INVALID, = nullptr, 0, 0, nullptr, nullptr) = ^ = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:35:9:= note: macro 'OPTION' defined here #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, ^ In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:36: = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:30:= 1: error: redefinition of enumerator 'OPTION' OPTION(prefix_1, "libpath:", libpath, Joined, INVALID, INVALID, nullptr, = 0, 0, ^ = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:= 1: note: previous definition is here OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, 0, = 0, nullptr, nullptr) ^ = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:30:= 7: error: missing ',' between enumerators OPTION(prefix_1, "libpath:", libpath, Joined, INVALID, INVALID, nullptr, = 0, 0, ^ ,=20 = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:33:= 96: error: too few arguments provided to function-like macro invocation OPTION(prefix_1, "machine:", machine, Joined, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) = ^ = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:35:9:= note: macro 'OPTION' defined here #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, ^ In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:36: = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:32:= 1: error: redefinition of enumerator 'OPTION' OPTION(prefix_1, "llvmlibthin", llvmlibthin, Flag, INVALID, INVALID, = nullptr, 0, 0, nullptr, nullptr) ^ = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:= 1: note: previous definition is here OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, 0, = 0, nullptr, nullptr) ^ = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:32:= 7: error: missing ',' between enumerators OPTION(prefix_1, "llvmlibthin", llvmlibthin, Flag, INVALID, INVALID, = nullptr, 0, 0, nullptr, nullptr) ^ ,=20 = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:34:= 91: error: too few arguments provided to function-like macro invocation OPTION(prefix_1, "nologo", nologo, Flag, INVALID, INVALID, nullptr, 0, = 0, nullptr, nullptr) = ^ = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:35:9:= note: macro 'OPTION' defined here #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, ^ In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:36: = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:33:= 1: error: redefinition of enumerator 'OPTION' OPTION(prefix_1, "machine:", machine, Joined, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) ^ = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:= 1: note: previous definition is here OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, 0, = 0, nullptr, nullptr) ^ = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:33:= 7: error: missing ',' between enumerators OPTION(prefix_1, "machine:", machine, Joined, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) ^ ,=20 = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:36:= 47: error: too few arguments provided to function-like macro invocation "Path to file to write output", nullptr) ^ = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:35:9:= note: macro 'OPTION' defined here #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, ^ fatal error: too many errors emitted, stopping now [-ferror-limit=3D] 20 errors generated. *** [ToolDrivers/llvm-dlltool/DlltoolDriver.o] Error code 1 =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-toolchain@freebsd.org Sat Jul 22 23:42:27 2017 Return-Path: Delivered-To: freebsd-toolchain@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 27D87DB0576; Sat, 22 Jul 2017 23:42:27 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from mail.protected-networks.net (mail.protected-networks.net [IPv6:2001:470:8d59:1::8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protected-networks.net", Issuer "Protected Networks CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E66D4698AA; Sat, 22 Jul 2017 23:42:26 +0000 (UTC) (envelope-from imb@protected-networks.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= protected-networks.net; h=content-transfer-encoding :content-language:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:subject:subject; s=201508; t=1500766943; bh=ZxOy1O33 9i3+EZFr66KI7x0NPh9AhNCaU3kOgTp9Azk=; b=dLRm7UEuy1uuCgrDrNShDCSl lA6G8YGx62EBqKNcp+47XhyN4Y3bXpBAfHyRGY/s/rxtBXqTfUpyNlDeSZ6W5oRB SGWYhJ4TMguRwrjt9o6RhJTX0jf5fbSD/tEfmW2r7HE1Pu86FiCwVMSNrYmqAuik ydZaBg20isDITbPIAgM= Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [192.168.1.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: imb@mail.protected-networks.net) by mail.protected-networks.net (Postfix) with ESMTPSA id 73F731C477; Sat, 22 Jul 2017 19:42:23 -0400 (EDT) Subject: Re: amd64 -r321109 -> -r321371 buildworld update failed (spans clang 5 update); error: too few arguments provided to function-like macro invocation; , METAMODE and -j8 was used To: Mark Millard , Dimitry Andric , FreeBSD Toolchain , FreeBSD Current References: <056C30CC-72B8-41A4-AEAA-64B6B96854DB@dsl-only.net> From: Michael Butler Message-ID: Date: Sat, 22 Jul 2017 19:42:22 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <056C30CC-72B8-41A4-AEAA-64B6B96854DB@dsl-only.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jul 2017 23:42:27 -0000 On 07/22/17 19:32, Mark Millard wrote: > My first attempt to update amd64 to a clang 5 based /usr/src > failed ( -r321109 -> -r321371 ). Listing just the first > error initially: > > --- ToolDrivers/llvm-lib/LibDriver.o --- > In file included from /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:35: > /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:92: error: too few arguments provided to function-like macro invocation > OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, 0, 0, nullptr, nullptr) > ^ > /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:34:9: note: macro 'OPTION' defined here > #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) OPT_##ID, I also saw this and resolved it by rebuilding from an empty /usr/obj, imb From owner-freebsd-toolchain@freebsd.org Sat Jul 22 23:43:21 2017 Return-Path: Delivered-To: freebsd-toolchain@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 C4257DB0658 for ; Sat, 22 Jul 2017 23:43:21 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-38.reflexion.net [208.70.210.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8527C69A14 for ; Sat, 22 Jul 2017 23:43:20 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 31409 invoked from network); 22 Jul 2017 23:43:19 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 22 Jul 2017 23:43:19 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v8.40.1) with SMTP; Sat, 22 Jul 2017 19:43:19 -0400 (EDT) Received: (qmail 14210 invoked from network); 22 Jul 2017 23:43:19 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 22 Jul 2017 23:43:19 -0000 Received: from [192.168.1.109] (c-67-170-167-181.hsd1.or.comcast.net [67.170.167.181]) by iron2.pdx.net (Postfix) with ESMTPSA id E1910EC86EE; Sat, 22 Jul 2017 16:43:18 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: amd64 -r321109 -> -r321371 buildworld update failed (spans clang 5 update); error: too few arguments provided to function-like macro invocation; , METAMODE and -j8 was used Date: Sat, 22 Jul 2017 16:43:18 -0700 References: <056C30CC-72B8-41A4-AEAA-64B6B96854DB@dsl-only.net> To: Dimitry Andric , FreeBSD Toolchain , FreeBSD Current In-Reply-To: <056C30CC-72B8-41A4-AEAA-64B6B96854DB@dsl-only.net> Message-Id: X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jul 2017 23:43:21 -0000 [I've added a "more" of /root/src.configs/make.conf that I had omitted but it only adds a "CFLAGS.gcc+=3D -v" to the build context. That should not matter here.] On 2017-Jul-22, at 4:32 PM, Mark Millard wrote: > My first attempt to update amd64 to a clang 5 based /usr/src > failed ( -r321109 -> -r321371 ). Listing just the first > error initially: >=20 > --- ToolDrivers/llvm-lib/LibDriver.o --- > In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:35: > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:= 92: error: too few arguments provided to function-like macro invocation > OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) > = ^ > /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:34:9: = note: macro 'OPTION' defined here > #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, > ^ >=20 > I list the build context information before the full failure > information. I've not tried a from scratch build yet. I'll > start another build in a bit but it will take some time to > get back t the same point once I start it. >=20 > Build Context: >=20 > # svnlite info /usr/src/ | grep "Re[plv]" > Relative URL: ^/head > Repository Root: svn://svn.freebsd.org/base > Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f > Revision: 321371 > Last Changed Rev: 321371 >=20 > # more = ~/sys_build_scripts.amd64-host/make_amd64_nodebug_clang-amd64-host.sh=20 > kldload -n filemon && \ > script = ~/sys_typescripts/typescript_make_amd64_nodebug_clang-amd64-host-$(date = +%Y-%m-%d:%H:%M:%S) \ > env __MAKE_CONF=3D"/root/src.configs/make.conf" SRCCONF=3D"/dev/null" = SRC_ENV_CONF=3D"/root/src.configs/src.conf.amd64-clang.amd64-host" \ > WITH_META_MODE=3Dyes \ > MAKEOBJDIRPREFIX=3D"/usr/obj/amd64_clang/amd64.amd64" \ > make $* # more /root/src.configs/make.conf CFLAGS.gcc+=3D -v > # more = ~/sys_build_scripts.amd64-host/make_amd64_nodebug_clang-amd64-host.sh=20 > kldload -n filemon && \ > script = ~/sys_typescripts/typescript_make_amd64_nodebug_clang-amd64-host-$(date = +%Y-%m-%d:%H:%M:%S) \ > env __MAKE_CONF=3D"/root/src.configs/make.conf" SRCCONF=3D"/dev/null" = SRC_ENV_CONF=3D"/root/src.configs/src.conf.amd64-clang.amd64-host" \ > WITH_META_MODE=3Dyes \ > MAKEOBJDIRPREFIX=3D"/usr/obj/amd64_clang/amd64.amd64" \ > make $* >=20 > #WITH_META_MODE=3Dyes \ > # > FreeBSDx64OPC# more /root/src.configs/src.conf.amd64-clang.amd64-host > TO_TYPE=3Damd64 > # > KERNCONF=3DGENERIC-NODBG > TARGET=3D${TO_TYPE} > .if ${.MAKE.LEVEL} =3D=3D 0 > TARGET_ARCH=3D${TO_TYPE} > .export TARGET_ARCH > .endif > # > #WITH_CROSS_COMPILER=3D > WITH_SYSTEM_COMPILER=3D > # > WITH_LIBCPLUSPLUS=3D > WITH_BINUTILS_BOOTSTRAP=3D > WITH_ELFTOOLCHAIN_BOOTSTRAP=3D > #WITH_CLANG_BOOTSTRAP=3D > WITH_CLANG=3D > WITH_CLANG_IS_CC=3D > WITH_CLANG_FULL=3D > WITH_CLANG_EXTRAS=3D > WITH_LLD=3D > WITHOUT_LLD_IS_LD=3D > WITH_LLVM_LIBUNWIND=3D > WITH_LLDB=3D > #PORTS_MODULES=3Demulators/virtualbox-ose-additions > # > WITH_BOOT=3D > WITH_LIB32=3D > # > WITHOUT_GCC_BOOTSTRAP=3D > WITHOUT_GCC=3D > WITHOUT_GCC_IS_CC=3D > WITHOUT_GNUCXX=3D > # > NO_WERROR=3D > #WERROR=3D > MALLOC_PRODUCTION=3D > # > WITH_REPRODUCIBLE_BUILD=3D >=20 >=20 > Failure: >=20 > --- ToolDrivers/llvm-lib/LibDriver.o --- > In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:35: > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:= 92: error: too few arguments provided to function-like macro invocation > OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) > = ^ > /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:34:9: = note: macro 'OPTION' defined here > #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, > ^ > In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:35: > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:28:= 98: error: too few arguments provided to function-like macro invocation > OPTION(prefix_0, "", UNKNOWN, Unknown, INVALID, INVALID, = nullptr, 0, 0, nullptr, nullptr) > = ^ > /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:34:9: = note: macro 'OPTION' defined here > #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, > ^ > In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:35: > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:= 7: error: missing ',' between enumerators > OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) > ^ > ,=20 > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:29:= 94: error: too few arguments provided to function-like macro invocation > OPTION(prefix_1, "ignore:", ignore, Joined, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) > = ^ > /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:34:9: = note: macro 'OPTION' defined here > #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, > ^ > In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:35: > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:28:= 1: error: redefinition of enumerator 'OPTION' > OPTION(prefix_0, "", UNKNOWN, Unknown, INVALID, INVALID, = nullptr, 0, 0, nullptr, nullptr) > ^ > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:= 1: note: previous definition is here > OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) > ^ > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:28:= 7: error: missing ',' between enumerators > OPTION(prefix_0, "", UNKNOWN, Unknown, INVALID, INVALID, = nullptr, 0, 0, nullptr, nullptr) > ^ > ,=20 > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:31:= 42: error: too few arguments provided to function-like macro invocation > "Object file search path", nullptr) > ^ > /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:34:9: = note: macro 'OPTION' defined here > #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, > ^ > In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:35: > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:29:= 1: error: redefinition of enumerator 'OPTION' > OPTION(prefix_1, "ignore:", ignore, Joined, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) > ^ > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:= 1: note: previous definition is here > OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) > ^ > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:29:= 7: error: missing ',' between enumerators > OPTION(prefix_1, "ignore:", ignore, Joined, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) > ^ > ,=20 > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:32:= 101: error: too few arguments provided to function-like macro invocation > OPTION(prefix_1, "llvmlibthin", llvmlibthin, Flag, INVALID, INVALID, = nullptr, 0, 0, nullptr, nullptr) > = ^ > /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:34:9: = note: macro 'OPTION' defined here > #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, > ^ > In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:35: > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:30:= 1: error: redefinition of enumerator 'OPTION' > OPTION(prefix_1, "libpath:", libpath, Joined, INVALID, INVALID, = nullptr, 0, 0, > ^ > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:= 1: note: previous definition is here > OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) > ^ > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:30:= 7: error: missing ',' between enumerators > OPTION(prefix_1, "libpath:", libpath, Joined, INVALID, INVALID, = nullptr, 0, 0, > ^ > ,=20 > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:33:= 96: error: too few arguments provided to function-like macro invocation > OPTION(prefix_1, "machine:", machine, Joined, INVALID, INVALID, = nullptr, 0, 0, nullptr, nullptr) > = ^ > /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:34:9: = note: macro 'OPTION' defined here > #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, > ^ > In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:35: > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:32:= 1: error: redefinition of enumerator 'OPTION' > OPTION(prefix_1, "llvmlibthin", llvmlibthin, Flag, INVALID, INVALID, = nullptr, 0, 0, nullptr, nullptr) > ^ > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:= 1: note: previous definition is here > OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) > ^ > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:32:= 7: error: missing ',' between enumerators > OPTION(prefix_1, "llvmlibthin", llvmlibthin, Flag, INVALID, INVALID, = nullptr, 0, 0, nullptr, nullptr) > ^ > ,=20 > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:34:= 91: error: too few arguments provided to function-like macro invocation > OPTION(prefix_1, "nologo", nologo, Flag, INVALID, INVALID, nullptr, 0, = 0, nullptr, nullptr) > = ^ > /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:34:9: = note: macro 'OPTION' defined here > #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, > ^ > In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:35: > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:33:= 1: error: redefinition of enumerator 'OPTION' > OPTION(prefix_1, "machine:", machine, Joined, INVALID, INVALID, = nullptr, 0, 0, nullptr, nullptr) > ^ > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:= 1: note: previous definition is here > OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) > ^ > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:33:= 7: error: missing ',' between enumerators > OPTION(prefix_1, "machine:", machine, Joined, INVALID, INVALID, = nullptr, 0, 0, nullptr, nullptr) > ^ > ,=20 > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:36:= 47: error: too few arguments provided to function-like macro invocation > "Path to file to write output", nullptr) > ^ > /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:34:9: = note: macro 'OPTION' defined here > #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, > ^ > fatal error: too many errors emitted, stopping now [-ferror-limit=3D] > 20 errors generated. > --- ToolDrivers/llvm-dlltool/DlltoolDriver.o --- > In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:36: > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:= 92: error: too few arguments provided to function-like macro invocation > OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) > = ^ > = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:35:9:= note: macro 'OPTION' defined here > #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, > ^ > In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:36: > --- ToolDrivers/llvm-lib/LibDriver.o --- > *** [ToolDrivers/llvm-lib/LibDriver.o] Error code 1 >=20 > make[6]: stopped in /usr/src/lib/clang/libllvm > .ERROR_TARGET=3D'ToolDrivers/llvm-lib/LibDriver.o' > = .ERROR_META_FILE=3D'/usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/lib= llvm/_usr_obj_amd64_clang_amd64.amd64_usr_src_lib_clang_libllvm_ToolDriver= s_llvm-lib_LibDriver.o.meta' > .MAKE.LEVEL=3D'6' > MAKEFILE=3D'' > .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes= verbose' > _ERROR_CMD=3D'c++ -target x86_64-unknown-freebsd12.0 = --sysroot=3D/usr/obj/amd64_clang/amd64.amd64/usr/src/tmp = -B/usr/obj/amd64_clang/amd64.amd64/usr/src/tmp/usr/bin -O2 -pipe = -I/usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm = -I/usr/src/contrib/llvm/lib/Target/AArch64 = -I/usr/src/contrib/llvm/lib/Target/ARM = -I/usr/src/contrib/llvm/lib/Target/Mips = -I/usr/src/contrib/llvm/lib/Target/PowerPC = -I/usr/src/contrib/llvm/lib/Target/Sparc = -I/usr/src/contrib/llvm/lib/Target/X86 -I/usr/src/lib/clang/include = -I/usr/src/contrib/llvm/include -DLLVM_BUILD_GLOBAL_ISEL = -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS = -DLLVM_DEFAULT_TARGET_TRIPLE=3D\"x86_64-unknown-freebsd12.0\" = -DLLVM_HOST_TRIPLE=3D\"x86_64-unknown-freebsd12.0\" = -DDEFAULT_SYSROOT=3D\"\" -ffunction-sections -fdata-sections = -fstack-protector-strong -Qunused-arguments = -I/usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/llvm-lib = -std=3Dc++11 -fno-exceptions -fno-rtti -stdlib=3Dlibc++ = -Wno-c++11-extensions -c /usr/src/contrib/llvm/li > b/ToolDrivers/llvm-lib/LibDriver.cpp -o = ToolDrivers/llvm-lib/LibDriver.o;' > .CURDIR=3D'/usr/src/lib/clang/libllvm' > .MAKE=3D'make' > .OBJDIR=3D'/usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm' > .TARGETS=3D'all' > DESTDIR=3D'/usr/obj/amd64_clang/amd64.amd64/usr/src/tmp' > LD_LIBRARY_PATH=3D'' > MACHINE=3D'amd64' > MACHINE_ARCH=3D'amd64' > MAKEOBJDIRPREFIX=3D'/usr/obj/amd64_clang/amd64.amd64' > MAKESYSPATH=3D'/usr/src/share/mk' > MAKE_VERSION=3D'20170711' > = PATH=3D'/usr/obj/amd64_clang/amd64.amd64/usr/src/tmp/legacy/usr/sbin:/usr/= obj/amd64_clang/amd64.amd64/usr/src/tmp/legacy/usr/bin:/usr/obj/amd64_clan= g/amd64.amd64/usr/src/tmp/legacy/bin:/usr/obj/amd64_clang/amd64.amd64/usr/= src/tmp/usr/sbin:/usr/obj/amd64_clang/amd64.amd64/usr/src/tmp/usr/bin:/sbi= n:/bin:/usr/sbin:/usr/bin' > SRCTOP=3D'/usr/src' > OBJTOP=3D'/usr/obj/amd64_clang/amd64.amd64/usr/src' > .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk = /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk = /root/src.configs/src.conf.amd64-clang.amd64-host = /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/bsd.suffixes.mk = /root/src.configs/make.conf /usr/src/share/mk/local.sys.mk = /usr/src/share/mk/src.sys.mk /dev/null = /usr/src/lib/clang/libllvm/Makefile /usr/src/share/mk/src.opts.mk = /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.opts.mk = /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/bsd.compiler.mk = /usr/src/share/mk/bsd.linker.mk /usr/src/lib/clang/llvm.pre.mk = llvm/IR/Attributes.gen.d llvm/IR/Intrinsics.gen.d = AttributesCompatFunc.inc.d AArch64GenAsmMatcher.inc.d = AArch64GenAsmWriter.inc.d AArch64GenAsmWriter1.inc.d = AArch64GenCallingConv.inc.d AArch64GenDAGISel.inc.d = AArch64GenDisassemblerTables.inc.d AArch64GenFastISel.inc.d = AArch64GenInstrInfo.inc.d AArch64GenMCCodeEmitter.inc.d = AArch64GenMCPseudoLowering.inc.d AArch64GenRegisterInfo.inc.d = AArch64GenSubtargetInfo.inc.d AArch64 > GenSystemOperands.inc.d ARMGenAsmMatcher.inc.d ARMGenAsmWriter.inc.d = ARMGenCallingConv.inc.d ARMGenDAGISel.inc.d = ARMGenDisassemblerTables.inc.d ARMGenFastISel.inc.d = ARMGenInstrInfo.inc.d ARMGenMCCodeEmitter.inc.d = ARMGenMCPseudoLowering.inc.d ARMGenRegisterInfo.inc.d = ARMGenSubtargetInfo.inc.d MipsGenAsmMatcher.inc.d MipsGenAsmWriter.inc.d = MipsGenCallingConv.inc.d MipsGenDAGISel.inc.d = MipsGenDisassemblerTables.inc.d MipsGenFastISel.inc.d = MipsGenInstrInfo.inc.d MipsGenMCCodeEmitter.inc.d = MipsGenMCPseudoLowering.inc.d MipsGenRegisterInfo.inc.d = MipsGenSubtargetInfo.inc.d PPCGenAsmMatcher.inc.d PPCGenAsmWriter.inc.d = PPCGenCallingConv.inc.d PPCGenDAGISel.inc.d = PPCGenDisassemblerTables.inc.d PPCGenFastISel.inc.d = PPCGenInstrInfo.inc.d PPCGenMCCodeEmitter.inc.d PPCGenRegisterInfo.inc.d = PPCGenSubtargetInfo.inc.d SparcGenAsmMatcher.inc.d = SparcGenAsmWriter.inc.d SparcGenCallingConv.inc.d SparcGenDAGISel.inc.d = SparcGenDisassemblerTables.inc.d SparcGenInstrInfo.inc.d = SparcGenMCCodeEmitter.inc.d Sp > arcGenRegisterInfo.inc.d SparcGenSubtargetInfo.inc.d = X86GenAsmMatcher.inc.d X86GenAsmWriter.inc.d X86GenAsmWriter1.inc.d = X86GenCallingConv.inc.d X86GenDAGISel.inc.d = X86GenDisassemblerTables.inc.d X86GenFastISel.inc.d = X86GenInstrInfo.inc.d X86GenRegisterInfo.inc.d X86GenSubtargetInfo.inc.d = /usr/src/lib/clang/llvm.build.mk /usr/src/share/mk/bsd.lib.mk = /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk = /usr/src/share/mk/src.init.mk /usr/src/share/mk/bsd.libnames.mk = /usr/src/share/mk/src.libnames.mk /usr/src/share/mk/bsd.symver.mk = /usr/src/share/mk/bsd.nls.mk /usr/src/share/mk/bsd.files.mk = /usr/src/share/mk/bsd.incs.mk /usr/src/share/mk/bsd.confs.mk = /usr/src/share/mk/bsd.links.mk /usr/src/share/mk/bsd.dep.mk = /usr/src/share/mk/bsd.clang-analyze.mk /usr/src/share/mk/bsd.obj.mk = /usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.sys.mk' > .PATH=3D'. /usr/src/lib/clang/libllvm /usr/src/contrib/llvm/lib' > --- ToolDrivers/llvm-dlltool/DlltoolDriver.o --- > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:28:= 98: error: too few arguments provided to function-like macro invocation > OPTION(prefix_0, "", UNKNOWN, Unknown, INVALID, INVALID, = nullptr, 0, 0, nullptr, nullptr) > = ^ > = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:35:9:= note: macro 'OPTION' defined here > #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, > ^ > In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:36: > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:= 7: error: missing ',' between enumerators > OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) > ^ > ,=20 > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:29:= 94: error: too few arguments provided to function-like macro invocation > OPTION(prefix_1, "ignore:", ignore, Joined, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) > = ^ > = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:35:9:= note: macro 'OPTION' defined here > #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, > ^ > In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:36: > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:28:= 1: error: redefinition of enumerator 'OPTION' > OPTION(prefix_0, "", UNKNOWN, Unknown, INVALID, INVALID, = nullptr, 0, 0, nullptr, nullptr) > ^ > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:= 1: note: previous definition is here > OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) > ^ > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:28:= 7: error: missing ',' between enumerators > OPTION(prefix_0, "", UNKNOWN, Unknown, INVALID, INVALID, = nullptr, 0, 0, nullptr, nullptr) > ^ > ,=20 > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:31:= 42: error: too few arguments provided to function-like macro invocation > "Object file search path", nullptr) > ^ > = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:35:9:= note: macro 'OPTION' defined here > #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, > ^ > In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:36: > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:29:= 1: error: redefinition of enumerator 'OPTION' > OPTION(prefix_1, "ignore:", ignore, Joined, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) > ^ > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:= 1: note: previous definition is here > OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) > ^ > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:29:= 7: error: missing ',' between enumerators > OPTION(prefix_1, "ignore:", ignore, Joined, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) > ^ > ,=20 > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:32:= 101: error: too few arguments provided to function-like macro invocation > OPTION(prefix_1, "llvmlibthin", llvmlibthin, Flag, INVALID, INVALID, = nullptr, 0, 0, nullptr, nullptr) > = ^ > = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:35:9:= note: macro 'OPTION' defined here > #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, > ^ > In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:36: > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:30:= 1: error: redefinition of enumerator 'OPTION' > OPTION(prefix_1, "libpath:", libpath, Joined, INVALID, INVALID, = nullptr, 0, 0, > ^ > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:= 1: note: previous definition is here > OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) > ^ > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:30:= 7: error: missing ',' between enumerators > OPTION(prefix_1, "libpath:", libpath, Joined, INVALID, INVALID, = nullptr, 0, 0, > ^ > ,=20 > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:33:= 96: error: too few arguments provided to function-like macro invocation > OPTION(prefix_1, "machine:", machine, Joined, INVALID, INVALID, = nullptr, 0, 0, nullptr, nullptr) > = ^ > = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:35:9:= note: macro 'OPTION' defined here > #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, > ^ > In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:36: > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:32:= 1: error: redefinition of enumerator 'OPTION' > OPTION(prefix_1, "llvmlibthin", llvmlibthin, Flag, INVALID, INVALID, = nullptr, 0, 0, nullptr, nullptr) > ^ > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:= 1: note: previous definition is here > OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) > ^ > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:32:= 7: error: missing ',' between enumerators > OPTION(prefix_1, "llvmlibthin", llvmlibthin, Flag, INVALID, INVALID, = nullptr, 0, 0, nullptr, nullptr) > ^ > ,=20 > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:34:= 91: error: too few arguments provided to function-like macro invocation > OPTION(prefix_1, "nologo", nologo, Flag, INVALID, INVALID, nullptr, 0, = 0, nullptr, nullptr) > = ^ > = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:35:9:= note: macro 'OPTION' defined here > #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, > ^ > In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:36: > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:33:= 1: error: redefinition of enumerator 'OPTION' > OPTION(prefix_1, "machine:", machine, Joined, INVALID, INVALID, = nullptr, 0, 0, nullptr, nullptr) > ^ > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:= 1: note: previous definition is here > OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) > ^ > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:33:= 7: error: missing ',' between enumerators > OPTION(prefix_1, "machine:", machine, Joined, INVALID, INVALID, = nullptr, 0, 0, nullptr, nullptr) > ^ > ,=20 > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:36:= 47: error: too few arguments provided to function-like macro invocation > "Path to file to write output", nullptr) > ^ > = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp:35:9:= note: macro 'OPTION' defined here > #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, > ^ > fatal error: too many errors emitted, stopping now [-ferror-limit=3D] > 20 errors generated. > *** [ToolDrivers/llvm-dlltool/DlltoolDriver.o] Error code 1 =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-toolchain@freebsd.org Sat Jul 22 23:50:40 2017 Return-Path: Delivered-To: freebsd-toolchain@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 BBCA7DB08B2; Sat, 22 Jul 2017 23:50:40 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 641D569C44; Sat, 22 Jul 2017 23:50:40 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:470:7a58::e4cb:e9ff:2f5b:885e] (unknown [IPv6:2001:470:7a58:0:e4cb:e9ff:2f5b:885e]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 4ECA2261A2; Sun, 23 Jul 2017 01:50:39 +0200 (CEST) From: Dimitry Andric Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_EF04BC04-C1F4-4772-BF52-ADF43AFAC684"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: amd64 -r321109 -> -r321371 buildworld update failed (spans clang 5 update); error: too few arguments provided to function-like macro invocation; , METAMODE and -j8 was used Date: Sun, 23 Jul 2017 01:50:25 +0200 In-Reply-To: <056C30CC-72B8-41A4-AEAA-64B6B96854DB@dsl-only.net> Cc: FreeBSD Toolchain , FreeBSD Current , Bryan Drewery To: Mark Millard References: <056C30CC-72B8-41A4-AEAA-64B6B96854DB@dsl-only.net> X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jul 2017 23:50:40 -0000 --Apple-Mail=_EF04BC04-C1F4-4772-BF52-ADF43AFAC684 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 23 Jul 2017, at 01:32, Mark Millard wrote: >=20 > My first attempt to update amd64 to a clang 5 based /usr/src > failed ( -r321109 -> -r321371 ). Listing just the first > error initially: >=20 > --- ToolDrivers/llvm-lib/LibDriver.o --- > In file included from = /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:35: > = /usr/obj/amd64_clang/amd64.amd64/usr/src/lib/clang/libllvm/Options.inc:27:= 92: error: too few arguments provided to function-like macro invocation > OPTION(prefix_0, "", INPUT, Input, INVALID, INVALID, nullptr, = 0, 0, nullptr, nullptr) > = ^ > /usr/src/contrib/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:34:9: = note: macro 'OPTION' defined here > #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) = OPT_##ID, > ^ Yeah, I think this can happen with an incremental build, and if you enable MK_CLANG_EXTRAS. There was only one Options.inc file first, in $WORLDTMP/usr/src/lib/clang/libllvm, but now there are two different ones, under $WORLDTMP/usr/src/lib/clang/libllvm/llvm-lib and $WORLDTMP/usr/src/lib/clang/libllvm/llvm-dlltool. This is a rather unfortunate change from upstream. I'm unsure what to do here, maybe it is a good idea to explicitly rm the incorrect file before make starts to search the directory. Bryan, any clues? IIRC there were some other precedents where stale objects could get in the way, and would have to be force-deleted before even the depend stage? -Dimitry --Apple-Mail=_EF04BC04-C1F4-4772-BF52-ADF43AFAC684 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.1 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCWXPkwQAKCRCwXqMKLiCW ozRnAKDuu+G6QS+jcgP2exJsLj0T4ZAVuwCfZCQBCBBAEVj0Zip5sW1JtKm+4gg= =0mea -----END PGP SIGNATURE----- --Apple-Mail=_EF04BC04-C1F4-4772-BF52-ADF43AFAC684--