Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp957135imc; Mon, 11 Mar 2019 03:20:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqwAHldwWOZZGzh5Ubn4d8v5sgflrL1BsX+EqBUUhbqhvTeZ4/SmY1zd8qaTjz4lT2ZyxLfa X-Received: by 2002:a65:62c7:: with SMTP id m7mr782045pgv.50.1552299647072; Mon, 11 Mar 2019 03:20:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552299647; cv=none; d=google.com; s=arc-20160816; b=gCRwTDX+08b3UfzHUW7joGmfQ6hhzPmakD8XYJGbyI0tkgf3pNO/hjsOPncZo9mZbX W6kF+K1V1xa3lWKQaftIuPDfRppe5oArL7r0gEnwavi7cB8CchnNyYkwdC+XmKl+BamM oTd7C/7Zr3UdXIetkRhFU1oz+/xoo7J4qHHM4peYoQcvKMAXBmhYOAkBpZGFbVuDIrni onk+Dbxs32f2tH7RsqDSx6Si77/TETD2ZSUp9CgGnvnnzoEWxmGin3MS7I6HxjnHu1NU sRjdBbwCS6L9GB5eKtCfayhUJeAHOBoFHKCDGO39XKzbs+6ZV9GakbEwOEw0YDzm92td jtjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=VsRmLCP0xOWGOvssK5i34ihh6cd79Cxqxjuj0eKrdzo=; b=iB1LHpEkiBNOFauYiwRzbc7W/1Db9FAPAVmpGFr6NLJVcywk6Wv6uug3q9zFv5nXGk 0cqrbF/m/rtU65vOKfpubt6v8e/UPoRVa248vILEIg+iCw94gBFb9MwCkLalu7p+ovZD kI+lvNK+kWEcLNWo7or591Yem26/2662/o2HbiNWtkWmnwfrEV2VLLabhejKgeia0P2m XJ34VUKkPC9XW1DFVlxAhjc0abvCmLyFXc4xhmMzDw0NIN6nRAyKF5kxgVExoi8Qi+Pa T6hnuRPmRLtvjo6nO0ovbPCaHtfJb+GHKRcm1EFGoUBJ+wof+dC+vcAZXqoO1q7pWlOZ 8JFQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c13si4892849pgj.301.2019.03.11.03.20.31; Mon, 11 Mar 2019 03:20:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727026AbfCKKUM convert rfc822-to-8bit (ORCPT + 99 others); Mon, 11 Mar 2019 06:20:12 -0400 Received: from mail-vs1-f68.google.com ([209.85.217.68]:37620 "EHLO mail-vs1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726826AbfCKKUM (ORCPT ); Mon, 11 Mar 2019 06:20:12 -0400 Received: by mail-vs1-f68.google.com with SMTP id y19so2339123vsc.4 for ; Mon, 11 Mar 2019 03:20:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=D+l8XbFpJ/06yiuS3RlcQehxz9psPep5a7z9i8IdF8s=; b=lXibHv+UwFGdopFXxKJPirHYoIdgZPgFSyX+7kBZ2DXU9txAMu33eCsbZkp6c7x8VK QmBKbYp9+6imrvOMUzjreGnUlKdlMGaJE7Y9trBHQhRUi4vqQmDEc+cnnM4e8aB8ot+C 25Mroi3h0Qhb5OfuQK0oOHvQgpq33iSrHqz7sQjvMnXlBi09azgIxWeA+pWdEh9TH7bq 4Y2NB364RxzuP2VA8zurEL3VKzm6R5RjfwKxRXsKTuFsiM4YTOm2kok9kDbjf1kf+LQE WpDF2B86cbwGf7rnvvajIhMVzwQZq0yc4nNc70uoPdfBO7gmS1D0STv2ub/hn2pwLsMA kXww== X-Gm-Message-State: APjAAAU40lmv1eQiHGYu7lR3ouae1HRzl/oN/3HIgklxjncItrEBRXdj lBj6IvFCj9Dwqt5itMcChKG0js0fpZ6fYULePEs= X-Received: by 2002:a67:ead0:: with SMTP id s16mr15827495vso.63.1552299611552; Mon, 11 Mar 2019 03:20:11 -0700 (PDT) MIME-Version: 1.0 References: <201903042049.npxcZzps%fengguang.wu@intel.com> In-Reply-To: From: Geert Uytterhoeven Date: Mon, 11 Mar 2019 11:20:00 +0100 Message-ID: Subject: Re: [m68k:master 1174/1174] arch/m68k/include/asm/string.h:72:25: warning: '__builtin_memcpy' forming offset 8 is out of the bounds [0, 7] To: Andreas Schwab Cc: Finn Thain , kbuild test robot , kbuild-all@01.org, linux-m68k , Arnd Bergmann , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andreas, On Mon, Mar 11, 2019 at 11:13 AM Andreas Schwab wrote: > On Mär 11 2019, Geert Uytterhoeven wrote: > > On Mon, Mar 11, 2019 at 10:56 AM Andreas Schwab wrote: > >> On Mär 11 2019, Geert Uytterhoeven wrote: > >> > On Thu, Mar 7, 2019 at 10:42 PM Finn Thain wrote: > >> >> No, the link fails because the compiler still emits some references to > >> >> strlen(). > >> > > >> > Despite -ffreestanding?!? > >> > >> *Because* of -ffreestanding. Without that, strlen would be recognized > >> and turned into __builtin_strlen. > > > > Now I'm confused: if we have a static inline or #define for strlen(), > > Do you? I don't, but Finn's patch has, IINM. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds