All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roland Dreier <rolandd@cisco.com>
To: Andi Kleen <ak@suse.de>
Cc: "Martin J. Bligh" <mbligh@mbligh.org>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.14-git1 (and -git2) build failure on AMD64
Date: Sun, 30 Oct 2005 08:15:40 -0800	[thread overview]
Message-ID: <52fyqjnfpv.fsf@cisco.com> (raw)
In-Reply-To: <200510301628.29560.ak@suse.de> (Andi Kleen's message of "Sun, 30 Oct 2005 16:28:29 +0100")

    Andi> What compiler do you use? I cannot make sense of the error -
    Andi> as far as I can see the function only has a single section
    Andi> attribute.  But gcc 4.0.2 reports the same error for me on a
    Andi> different function.

Yes, the gcc error is very strange.  The underlying cause is that
(with CONFIG_HOTPLUG=n so __devinit is not just defined away to
nothing) having toshiba_ohci1394_dmi_table[] declared __devinit makes
gcc think it has to put the array in a section along with code.  But
instead of complaining about the array declaration, gcc complains
about some random function earlier in the file -- and which function
it picks to complain about seems to change depending on gcc version
and the phase of the moon.

 - R.

  parent reply	other threads:[~2005-10-30 16:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-30 14:03 2.6.14-git1 (and -git2) build failure on AMD64 Martin J. Bligh
2005-10-30 14:17 ` Roland Dreier
2005-10-30 15:28 ` Andi Kleen
2005-10-30 15:50   ` Martin J. Bligh
2005-10-30 16:15   ` Roland Dreier [this message]
2005-10-30 15:49 ` [PATCH] x86_64: Work around " Andi Kleen
2005-10-30 16:17   ` Roland Dreier
2005-10-30 16:23     ` Andi Kleen
2005-10-30 16:32       ` Roland Dreier
2005-11-02  5:16     ` Martin J. Bligh

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=52fyqjnfpv.fsf@cisco.com \
    --to=rolandd@cisco.com \
    --cc=ak@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mbligh@mbligh.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 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.