Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp947997imc; Mon, 11 Mar 2019 03:08:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqwZURLNKpngi45QNKM284sYxcXu8mN6LtF5QN7FyhjVBXZdhD5W3ti6SX3v6DsiLVCowey0 X-Received: by 2002:a17:902:31c3:: with SMTP id x61mr32677556plb.113.1552298882258; Mon, 11 Mar 2019 03:08:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552298882; cv=none; d=google.com; s=arc-20160816; b=H6gV4YibzmPDy2/bH66EPk5hVa8nG7BjXobsBczFQSsQLvHVe5N8rfMWCY1VDXYrGy sXSJpx+1A7R9cfLwgSNGqS+hG9A5j9mo3Slilcrcdg9LAX5zo5yNwYHErjoolMBD7k/S knrGH3hQRNyoskjJQNB0B9wXggtQUyRx/UesHJexBmCsezoypOUCGJyPYeQMRlyumQ/u Ll/SVC7NihZUYSD+n87RhlsRhuS0X3HLfft7o4zDqVf6u5cjxAgMdULvG6oSdB2c/kUn KFwy7UzNORI8RaYJRXmxYkOUlD5nhwIVnvJGkE6Y7ztFLtkgsk9rQjqVYKtTzWa5H4cW 9X7w== 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=k0QXH75EhAqiBUtNkcp5jv+jDLdhaax4FI92kes/7b0=; b=KQ9l4ehJlug0C2DfxgSCC9pxbSTCt1R6wP8XAZzdMvFRC+2vYGfZX8sJi/0XXh1Zjz ix0dhqSfdAFGghcfDWyZtXPivZWPlRhMXltw79l2LGuHt6ZoH89waKfWQajfVKimWy/p 2tgtzqPDXLewo1LYCbdqhBll+X0XfwKVtM8YLc23wWNdwO4i/ysN8j/E5OxneniOKQE5 zZYDlR8pU8Ps9EKro4dazi70+U8xgNzvpuEG5QPmNEQaXiSYtagVZZWoczvk8ombuLRl 1mH1qUF+XmQWNmlsUY1kkc1d15YI6JzNdXKBN8vgClR/9buH+oaYmTZZH0mnGPL0BCO7 0rpA== 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 r9si4616974pfh.188.2019.03.11.03.07.46; Mon, 11 Mar 2019 03:08:02 -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 S1727082AbfCKKF5 convert rfc822-to-8bit (ORCPT + 99 others); Mon, 11 Mar 2019 06:05:57 -0400 Received: from mail-ua1-f68.google.com ([209.85.222.68]:34499 "EHLO mail-ua1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726864AbfCKKF5 (ORCPT ); Mon, 11 Mar 2019 06:05:57 -0400 Received: by mail-ua1-f68.google.com with SMTP id a42so1309282uad.1 for ; Mon, 11 Mar 2019 03:05:56 -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=L2HMx5KKQEe8WC+5Qb89o+URrteomOOaMW5YBpl6/bQ=; b=Y5r3Zn4exBXRpPbZ+mISKoo6UqW1+mZYMT5VpSi7klZAnWPilzQ9VVHpyoGquIhJC/ 4yEnksu+dnqEUbDGKt9tShKc9zexP3v7dgKX+onafYFLHTMsByOzPz/nGPrMOOSjccFZ u/sbAdPJA8okb3hlFcIDbQTWeHdp5eTd58x2QMYbYhjTyG7AMVhFH7XElUr/v38/QCj5 j9+TAqRpMIAt44aKg+ty2/NENFM8+CfV6eErWphj6qWf0qnZvGQwQC64jqBhXhLUYitX fjcaANBO8WH+fwujPPjbXt4pxhI4fqDrVmgJSBL5kQ4ChQqNtrA9AvRRZBvxm9Lascvm FX9Q== X-Gm-Message-State: APjAAAUOJqRH+1xD3xQlFUjJKOj3MkcSb8IlxhTloZ1W45DqxgrTPqsz FLeZAFKtKY2kr/Mor8AEnAJCC0weR6hxIgw+Rvw= X-Received: by 2002:ab0:6419:: with SMTP id x25mr16160492uao.20.1552298755936; Mon, 11 Mar 2019 03:05:55 -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:05:44 +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 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(), why would the compiler still emit references to the strlen() symbol? 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