From owner-freebsd-toolchain@freebsd.org Mon Aug 20 00:12:33 2018 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90F64107CD87 for ; Mon, 20 Aug 2018 00:12:33 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io0-x242.google.com (mail-io0-x242.google.com [IPv6:2607:f8b0:4001:c06::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2492070FE7; Mon, 20 Aug 2018 00:12:33 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io0-x242.google.com with SMTP id l14-v6so11195776iob.7; Sun, 19 Aug 2018 17:12:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=2PiJ9b9WKfCFh9lcmi3kig7psyitZhI1mk0n2YRHE7I=; b=e8VJoRu2r0KFd0AzipRQGXX+/l1xszATtGuLlU50RoyM20jSqy1cK+HFCkHJcdksRW 2HIG2hJIEKtcZDA0Mv+Ehtv4WiJlelOhD9DoI6BdUzFFitjhsK5yp9yQLgILLQWTPU3d pZvhqJbFjcPwENarEfNUyFdU26Z0mLFvvNIE+5IyPjaWnvMJ6WOpsKn2oohfe2fktxH7 6Q7ljlZ/LXUdw7agCPRIwVW1YtGJBW9wSPRsQqm803MKpqpGcqTO60bzdQSF1s8Ewzdy 56FpvbeL/RoDvQAW2cjZYHqNTSqLTBCddVB/x7JLrSqUUTUiVjG8MAF0CBeumoM2z3LV w5gg== 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=2PiJ9b9WKfCFh9lcmi3kig7psyitZhI1mk0n2YRHE7I=; b=V4A0a0NmORAJ/dEObnD8XSVAIH28JrwnPLlhCr/COKcmu6m/VFTuf+8GqqqLJ/cHUy F3F6Mkw7A2U/DTGCS234lysDkPuaAri5FwPB8lOFzP3Luvz+egdIsCZjXN12T/g99q2i k6KirE/xg774ZeztTNhL9BWRrTkSTAHggVpwgTHbbebiQAjCN/ic1ES/2Ks1dfBKylXc qrPNN/BrEWYOdwi1tQENB5oQdAQpyywEkYLGwds2ESy3RLUX3qi3a1lbpg55o3iyvlxc mpHqjpx+7OMqW9F7v01mhbn7dJMDCoRHrgWt+5Yv5ePf24gCxt4zfPTtcjg1RyGLVaKa xIyA== X-Gm-Message-State: AOUpUlEqZLaDFx9/m4g5cDJ6F+nmJFJNfIbLynQ+Hc2MMzTmqlrTs/HN +8xLePzy9fxL0vloGWNjlmKw6CO5qXeLAPDrnk3Trg== X-Google-Smtp-Source: AA+uWPwhPxmmGdmZrf1QWg/OqJGUzdNSRnZkKsDvpe5K5mk0SDZ6QqhDPvdfqKFcPPV7APx2iUjc0veQvhIt7BsvyCA= X-Received: by 2002:a6b:ac45:: with SMTP id v66-v6mr34066579ioe.66.1534723952467; Sun, 19 Aug 2018 17:12:32 -0700 (PDT) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 2002:a6b:4a08:0:0:0:0:0 with HTTP; Sun, 19 Aug 2018 17:12:11 -0700 (PDT) In-Reply-To: References: <1880880F-9D9D-47E0-A7A4-5369A3770F89@FreeBSD.org> <8B467E75-A6D3-41A5-8EA1-4DDFE0E14CC5@nexustechnology.com> <230C1E7D-04DB-4E45-8A40-F6B2F5E557E9@yahoo.com> <86844298-1268-4F5E-A6CD-64CADC022FB9@yahoo.com> From: Ed Maste Date: Sun, 19 Aug 2018 20:12:11 -0400 X-Google-Sender-Auth: yQk88jUk-YMC0zNfsHSLQINvVHg Message-ID: Subject: Re: Broken arm support in clang now? To: Mark Millard Cc: Warner Losh , "freebsd-toolchain@FreeBSD.org" , Dimitry Andric Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.27 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, 20 Aug 2018 00:12:33 -0000 On 16 August 2018 at 10:49, Mark Millard wrote: > > Ahh. Okay. 32-bit non-armv7+ cannot be fully llvm based. > Intersting. Indeed; there are a couple of patches in review upstream to address the outstanding issues involved with using lld to link armv5/armv6. > The implication would be that ld was then directly > invoked instead of via cc (clang). Yes, the issue I encountered appears to be a bug in recent logic that shares a single clang and lld for multiple architectures in "make tinderbox." It's directly invoking a newly-built lld. The other issue observed with lld errors from linking arm or armv6 appears to be due to a failure to execute "make buildworld" or "make kernel-toolchain" before "make buildkernel." In this case the build invokes the host's system linker (ld). Previously on amd64 this was the GNU BFD ld, not a cross-linker, and this resulted in an error. Now that amd64's system ld is lld it's inherently a cross linker. From owner-freebsd-toolchain@freebsd.org Sat Aug 25 13:01:21 2018 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 811CE108A07C for ; Sat, 25 Aug 2018 13:01:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1F0DD97214 for ; Sat, 25 Aug 2018 13:01:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id D4972108A079; Sat, 25 Aug 2018 13:01:20 +0000 (UTC) Delivered-To: toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C33CC108A078 for ; Sat, 25 Aug 2018 13:01:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6529C9720E for ; Sat, 25 Aug 2018 13:01:20 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id B2E5D1B481 for ; Sat, 25 Aug 2018 13:01:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w7PD1J8R061010 for ; Sat, 25 Aug 2018 13:01:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w7PD1JwQ060986 for toolchain@FreeBSD.org; Sat, 25 Aug 2018 13:01:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 230888] Missing 64 bit atomic functions for i386 Date: Sat, 25 Aug 2018 13:01:19 +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 Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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.27 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, 25 Aug 2018 13:01:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230888 Dimitry Andric changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emaste@freebsd.org Assignee|bugs@FreeBSD.org |toolchain@FreeBSD.org --- Comment #1 from Dimitry Andric --- See also bug 220822, bug 229605, and probably lots more. Assigning to toolchain@ since that is a better place than bugs@, which I th= ink nobody reads. :) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Sat Aug 25 21:59:20 2018 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B63521097789 for ; Sat, 25 Aug 2018 21:59:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 535AC83637 for ; Sat, 25 Aug 2018 21:59:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 1462A1097788; Sat, 25 Aug 2018 21:59:20 +0000 (UTC) Delivered-To: toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0140D1097787 for ; Sat, 25 Aug 2018 21:59:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7D4C883634 for ; Sat, 25 Aug 2018 21:59:19 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id C1DFB1FF6B for ; Sat, 25 Aug 2018 21:59:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w7PLxIi7051946 for ; Sat, 25 Aug 2018 21:59:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w7PLxIdC051945 for toolchain@FreeBSD.org; Sat, 25 Aug 2018 21:59:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 230888] Missing 64 bit atomic functions for i386 Date: Sat, 25 Aug 2018 21:59:18 +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 Some People X-Bugzilla-Who: cem@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: 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.27 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, 25 Aug 2018 21:59:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230888 Conrad Meyer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cem@freebsd.org --- Comment #2 from Conrad Meyer --- Isn't (1) just: kernel: mask all interrupts, do operation, unmask; userspac= e: take a global mutex over the op? Do we care if 64-bit atomics don't work from NMI contexts on i486-class hardware? I doubt it. I'm also pro gone_in(12)'ing i486 and lower. --=20 You are receiving this mail because: You are the assignee for the bug.=