linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Ben Hutchings <ben@decadent.org.uk>
To: Arnd Bergmann <arnd@arndb.de>,
	kbuild test robot <fengguang.wu@intel.com>
Cc: Andrey Ryabinin <a.ryabinin@samsung.com>,
	kbuild-all@01.org, Ben Hutchings <bwh@kernel.org>,
	Andrey Konovalov <adech.fo@gmail.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Memory Management List <linux-mm@kvack.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	stable <stable@vger.kernel.org>
Subject: Re: [linux-stable-rc:linux-3.16.y 2872/3488] head64.c:undefined reference to `__gcov_exit'
Date: Sun, 11 Nov 2018 01:38:29 +0000	[thread overview]
Message-ID: <6f5448ebd339cd1dc7ffa8fdbe3a2fd813593260.camel@decadent.org.uk> (raw)
In-Reply-To: <CAK8P3a1E4=NJaZKM0z8b62ahSoBjR1K2oLsHhbY9C03Kkeeu8g@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1652 bytes --]

On Fri, 2018-02-16 at 21:28 +0100, Arnd Bergmann wrote:
> On Fri, Feb 16, 2018 at 7:21 PM, kbuild test robot
> <fengguang.wu@intel.com> wrote:
[...]
> > All errors (new ones prefixed by >>):
> > 
> >    arch/x86/kernel/head64.o: In function `_GLOBAL__sub_D_00100_1_early_pmd_flags':
> > > > head64.c:(.text.exit+0x5): undefined reference to `__gcov_exit'
> >    arch/x86/kernel/head.o: In function `_GLOBAL__sub_D_00100_1_reserve_ebda_region':
> >    head.c:(.text.exit+0x5): undefined reference to `__gcov_exit'
> >    init/built-in.o: In function `_GLOBAL__sub_D_00100_1___ksymtab_system_state':
> >    main.c:(.text.exit+0x5): undefined reference to `__gcov_exit'
> >    init/built-in.o: In function `_GLOBAL__sub_D_00100_1_root_mountflags':
> >    do_mounts.c:(.text.exit+0x10): undefined reference to `__gcov_exit'
> >    init/built-in.o: In function `_GLOBAL__sub_D_00100_1_initrd_load':
> >    do_mounts_initrd.c:(.text.exit+0x1b): undefined reference to `__gcov_exit'
> >    init/built-in.o:initramfs.c:(.text.exit+0x26): more undefined references to `__gcov_exit' follow
> 
> I think this is a result of using a too new compiler with the old 3.16
> kernel. In order
> to build with gcc-7.3, you need to backport
> 
> 05384213436a ("gcov: support GCC 7.1")
> 
> It's already part of stable-3.18 and later, but not 3.2 and 3.16.

Thanks.  I've queued up the following for 3.16:

3e44c471a2da gcov: add support for GCC 5.1
d02038f97253 gcov: add support for gcc version >= 6
05384213436a gcov: support GCC 7.1

Ben.

-- 
Ben Hutchings
Reality is just a crutch for people who can't handle science fiction.



[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2018-11-11  1:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-16 18:21 kbuild test robot
2018-02-16 20:28 ` Arnd Bergmann
2018-11-11  1:38   ` Ben Hutchings [this message]

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=6f5448ebd339cd1dc7ffa8fdbe3a2fd813593260.camel@decadent.org.uk \
    --to=ben@decadent.org.uk \
    --cc=a.ryabinin@samsung.com \
    --cc=adech.fo@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=arnd@arndb.de \
    --cc=bwh@kernel.org \
    --cc=fengguang.wu@intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=kbuild-all@01.org \
    --cc=linux-mm@kvack.org \
    --cc=stable@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox