From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 927DDC43381 for ; Mon, 11 Mar 2019 09:56:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6B7B62084F for ; Mon, 11 Mar 2019 09:56:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727398AbfCKJ4s (ORCPT ); Mon, 11 Mar 2019 05:56:48 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:57898 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726074AbfCKJ4q (ORCPT ); Mon, 11 Mar 2019 05:56:46 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 44HtmX332yz1rghy; Mon, 11 Mar 2019 10:56:44 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 44HtmW6ghYz1qrh2; Mon, 11 Mar 2019 10:56:43 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id kACLItIAooB0; Mon, 11 Mar 2019 10:56:43 +0100 (CET) X-Auth-Info: dDZS6kxfS4Bc21ktbFoXlmXOBbWRVWVWLDOtQt27Td3JjumDNk7oHTaDX3jkRqdg Received: from hawking (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 mail.mnet-online.de (Postfix) with ESMTPSA; Mon, 11 Mar 2019 10:56:42 +0100 (CET) From: Andreas Schwab To: Geert Uytterhoeven Cc: Finn Thain , kbuild test robot , kbuild-all@01.org, linux-m68k , Arnd Bergmann , Linux Kernel Mailing List 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] References: <201903042049.npxcZzps%fengguang.wu@intel.com> X-Yow: What I need is a MATURE RELATIONSHIP with a FLOPPY DISK... Date: Mon, 11 Mar 2019 10:56:42 +0100 In-Reply-To: (Geert Uytterhoeven's message of "Mon, 11 Mar 2019 10:14:11 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (gnu/linux) MIME-Version: 1.0 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 On Mär 11 2019, Geert Uytterhoeven wrote: > Hi Finn, > > 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. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."