From owner-freebsd-current@freebsd.org Sun May 6 22:58:30 2018 Return-Path: Delivered-To: freebsd-current@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 5E893FC9C59 for ; Sun, 6 May 2018 22:58:30 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x229.google.com (mail-it0-x229.google.com [IPv6:2607:f8b0:4001:c0b::229]) (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 D94BC7532D for ; Sun, 6 May 2018 22:58:29 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x229.google.com with SMTP id z6-v6so9265380iti.4 for ; Sun, 06 May 2018 15:58:29 -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=hdCOeYALxQCcekDjzUC5siL9zI8lWfMijwqt2prmPcI=; b=OGUNHOfP6HKVP75q0D66TiEz+bMxbeUYzIJspcxkelm6v7bg7+S4qfiIa5CXNLnYm8 fFkM0DLzKj0gfdLNS4rRi4WO84bPpNkDYoKuGe78AJx6ROBvUbnLIHZtQCU5Qcje4Its iZr5VFK9l/AMSdifiebr0IgiOeNbRNFnmn5fDYsdZquJt0v9g5lrU1PKBQnPbszuxQ8g DhxsBnM7qrBy8KBZtqBRSZrHfP/t5seK6OLzj/UWJG1ILpuRG1qpzkgIcs40bsZyj4lN fp3ob+2A3+5p16Tz2KrAZ+Dhv6Nz2H+SnOxlR8VVVXliF4SHpr9p0q3M5U4aRBXGXq9R 1VYw== 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=hdCOeYALxQCcekDjzUC5siL9zI8lWfMijwqt2prmPcI=; b=AR8iKw+8ejFXJ88nhkDYOyhuls9yTJaNt76CIljhw/cICSIjas86kog7MFBXbdL3c+ ZYh0Y3pszLBfDmMKpLUCAqxeMkxj9DhDQQE/YNVUhGqWoVFSTxWgtI6KhTi0Q0ITQ0B8 SlF1uLX6TV0L42pOnz12ll4iGZqHf7TVkyYCk4hzg2KwEhORV0/X+QQ8rHwZVis7Pfwz qnaQqtlUqo34UeP542vUgaZ/+1rzx7aRADqq2NqbVaR8un6Z/kptSTSFQ8PkHYX4hO5I zEs3HD2xg0C9jS0rjLkEWr0SnWekbzmXYxSblBlxaohRWd0WOpUmyrWMLa+gRjttAkde Dnhg== X-Gm-Message-State: ALQs6tCB0tcp+5aNh5LMC1HHN1PE6eClTP8XlIUKpnIhD06gDz3nzqPu iqrZkAbmzf2GJHq0NBN2jv/PkHQeYnf2eeUQsJNqEQ== X-Google-Smtp-Source: AB8JxZpZ2gr8dtj6VfEdUDQN6U0qd7fjx2Zfk/kLD/ztoIiQzzO/iwFc+uOz5j+5Khzk5xFfofiE+y+giaX7UJE3PRs= X-Received: by 2002:a24:42c6:: with SMTP id i189-v6mr36178754itb.73.1525647508982; Sun, 06 May 2018 15:58:28 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 2002:a4f:a65a:0:0:0:0:0 with HTTP; Sun, 6 May 2018 15:58:28 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:1052:acc7:f9de:2b6d] In-Reply-To: References: <9D64510E-32AE-45DC-87EC-4DFB41B9369F@yahoo.com> From: Warner Losh Date: Sun, 6 May 2018 16:58:28 -0600 X-Google-Sender-Auth: BjESRxHpxq2JsYTf5yILkQ1Eg0Y Message-ID: Subject: Re: svn commit: r333240 - in head/sys: powerpc/powerpc sys [appears to have broken the builds of head for riscv64] To: "Conrad E. Meyer" Cc: Mark Millard , FreeBSD Current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 May 2018 22:58:30 -0000 What we really need to do is to make bcopy a wrapper around memmove on all architectures, not just some. It's this lack of uniformity that's causing problems. Warner On Sun, May 6, 2018 at 4:32 PM, Conrad Meyer wrote: > The same change as for powerpc needs to be made for riscv =E2=80=94 the > (bcopy) trick =E2=80=94 to avoid expansion. > > Best, > Conrad > > P.S., Mark, your email server is misconfigured and most/all of your > emails get flagged as spam. I only saw this because I occasionally > check the spam folder. > > On Sat, May 5, 2018 at 4:39 PM, Mark Millard > wrote: > > --- bcopy.o --- > > In file included from /workspace/src/sys/riscv/riscv/bcopy.c:39:0: > > /workspace/src/sys/sys/systm.h:262:31: error: expected identifier or > '(' before '{' token > > #define bcopy(from, to, len) ({ \ > > ^ > > /workspace/src/sys/riscv/riscv/bcopy.c:134:1: note: in expansion of > macro 'bcopy' > > bcopy(const void *src0, void *dst0, size_t length) > > ^~~~~ > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " >