From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Mikael Pettersson <mikpe@csd.uu.se>,
Marcelo Tosatti <marcelo@conectiva.com.br>
Cc: linux-kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH][2.4.22-pre3] fix PPC32 compile failure due to SPRN_HID2 being undefined
Date: 07 Jul 2003 07:51:04 +0200 [thread overview]
Message-ID: <1057557063.503.108.camel@gaston> (raw)
In-Reply-To: <200307062243.h66MheGM023893@harpo.it.uu.se>
On Mon, 2003-07-07 at 00:43, Mikael Pettersson wrote:
> Compiling 2.4.22-pre3 for a 6xx-class PowerPC fails in cpu_setup_6xx.S:
>
> ppc-unknown-linux-gcc -D__ASSEMBLY__ -D__KERNEL__ -I/tmp/linux-2.4.22-pre3/include -I/tmp/linux-2.4.22-pre3/arch/ppc -c -o cpu_setup_6xx.o cpu_setup_6xx.S
> cpu_setup_6xx.S: Assembler messages:
> cpu_setup_6xx.S:325: Error: unsupported relocation against SPRN_HID2
> cpu_setup_6xx.S:416: Error: unsupported relocation against SPRN_HID2
> make[1]: *** [cpu_setup_6xx.o] Error 1
> make[1]: Leaving directory `/tmp/linux-2.4.22-pre3/arch/ppc/kernel'
> make: *** [_dir_arch/ppc/kernel] Error 2
>
> SPRN_HID2 should be a #defined constant, but it isn't. The patch
> below from 2.4.21-ben2 (rediffed for 2.4.22-pre3) fixes the problem.
Yup, Marcelo, please apply.
next prev parent reply other threads:[~2003-07-07 5:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-06 22:43 Mikael Pettersson
2003-07-07 5:51 ` Benjamin Herrenschmidt [this message]
2003-07-07 6:45 ` Paul Mackerras
2003-07-07 18:30 ` Marcelo Tosatti
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=1057557063.503.108.camel@gaston \
--to=benh@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
--cc=mikpe@csd.uu.se \
/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®