mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Laight <David.Laight@ACULAB.COM>
To: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: kernel build generates invalid object files on Ubuntu 13.10
Date: Mon, 20 Nov 2017 17:09:41 +0000	[thread overview]
Message-ID: <28d99e9f57fc4a9f92462382f057fd69@AcuMS.aculab.com> (raw)

I've just updated a linux source tree to the latest version
(probably from Linus's public tree) and then tried to compile
it (for x86_64) using gcc 4.7.3 and binutils 2.32.2 on a 
system running Ubuntu 13.10.
While not the newest gcc, it isn't that old.

The linker is reporting that some of the compiled .o files
are not valid object files.
'file' reports them as valid ELF, but objdump just reports
them as invalid.

Something must be very wrong with the generated object files.

I don't build that often, so can't say when it last worked.
Probably not older than 4.12.
Everything builds ok with gcc 5.4.0 on Ububtu 16.04.

	David

                 reply	other threads:[~2017-11-20 17:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=28d99e9f57fc4a9f92462382f057fd69@AcuMS.aculab.com \
    --to=david.laight@aculab.com \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®