All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Finn Thain <fthain@telegraphics.com.au>,
	kbuild test robot <lkp@intel.com>,
	kbuild-all@01.org, linux-m68k <linux-m68k@lists.linux-m68k.org>,
	Arnd Bergmann <arnd@arndb.de>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
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]
Date: Mon, 11 Mar 2019 11:13:39 +0100	[thread overview]
Message-ID: <mvmimwpvhv0.fsf@linux-m68k.org> (raw)
In-Reply-To: <CAMuHMdU9gke1=5PfjpJWuUbSBQ=bPQjpEVD3+t3F3tHvh9szWg@mail.gmail.com> (Geert Uytterhoeven's message of "Mon, 11 Mar 2019 11:05:44 +0100")

On Mär 11 2019, Geert Uytterhoeven <geert@linux-m68k.org> wrote:

> Hi Andreas,
>
> On Mon, Mar 11, 2019 at 10:56 AM Andreas Schwab <schwab@linux-m68k.org> wrote:
>> On Mär 11 2019, Geert Uytterhoeven <geert@linux-m68k.org> wrote:
>> > On Thu, Mar 7, 2019 at 10:42 PM Finn Thain <fthain@telegraphics.com.au> 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?

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."

  reply	other threads:[~2019-03-11 10:13 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <201903042049.npxcZzps%fengguang.wu@intel.com>
2019-03-04 13:05 ` [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] Geert Uytterhoeven
2019-03-05  2:56   ` Finn Thain
2019-03-05  2:59     ` Finn Thain
2019-03-05  7:49       ` Geert Uytterhoeven
2019-03-05  8:58         ` Finn Thain
2019-03-05  9:03           ` Geert Uytterhoeven
2019-03-05  9:04           ` Andreas Schwab
2019-03-07  2:59             ` Finn Thain
2019-03-07  8:30               ` Geert Uytterhoeven
2019-03-07 21:43                 ` Finn Thain
2019-03-11  9:14                   ` Geert Uytterhoeven
2019-03-11  9:56                     ` Andreas Schwab
2019-03-11 10:05                       ` Geert Uytterhoeven
2019-03-11 10:13                         ` Andreas Schwab [this message]
2019-03-11 10:20                           ` Geert Uytterhoeven
2019-03-11 22:31                             ` Finn Thain
2019-03-18  2:53                               ` Finn Thain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=mvmimwpvhv0.fsf@linux-m68k.org \
    --to=schwab@linux-m68k.org \
    --cc=arnd@arndb.de \
    --cc=fthain@telegraphics.com.au \
    --cc=geert@linux-m68k.org \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-m68k@lists.linux-m68k.org \
    --cc=lkp@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.