From: "Raúl Porcel" <armin76@gentoo.org>
To: Matt Turner <mattst88@gmail.com>
Cc: linux-alpha@vger.kernel.org
Subject: Re: kernel fails to build without CONFIG_ALPHA_LEGACY_START_ADDRESS
Date: Mon, 07 Dec 2009 20:53:00 +0100 [thread overview]
Message-ID: <4B1D5D1C.9040501@gentoo.org> (raw)
In-Reply-To: <b4198de60912051113s55ac98fbj658d19f989221855@mail.gmail.com>
Matt Turner wrote:
> On Sat, Dec 5, 2009 at 1:27 PM, Raúl Porcel <armin76@gentoo.org> wrote:
>> If CONFIG_ALPHA_LEGACY_START_ADDRESS is not set, which is needed to be
>> unset if the machine is Marvel/Titan/Wildfire, it fails to build:
>>
>> CC arch/alpha/kernel/err_marvel.o
>> cc1: warnings being treated as errors
>> arch/alpha/kernel/err_marvel.c: In function 'marvel_print_err_cyc':
>> arch/alpha/kernel/err_marvel.c:119: error: format '%ld' expects type
>> 'long int', but argument 6 has type 'u64'
>> arch/alpha/kernel/err_marvel.c: In function 'marvel_print_po7_ugbge_sym':
>> arch/alpha/kernel/err_marvel.c:321: error: format '%ld' expects type
>> 'long int', but argument 4 has type 'u64'
>> arch/alpha/kernel/err_marvel.c:321: error: format '%ld' expects type
>> 'long int', but argument 5 has type 'u64'
>> arch/alpha/kernel/err_marvel.c: In function 'marvel_print_pox_spl_cmplt':
>> arch/alpha/kernel/err_marvel.c:560: error: format '%ld' expects type
>> 'long int', but argument 4 has type 'long long unsigned int'
>> arch/alpha/kernel/err_marvel.c:560: error: format '%ld' expects type
>> 'long int', but argument 5 has type 'long long unsigned int'
>> arch/alpha/kernel/err_marvel.c:560: error: format '%ld' expects type
>> 'long int', but argument 6 has type 'long long unsigned int'
>> make[1]: *** [arch/alpha/kernel/err_marvel.o] Error 1
>> make: *** [arch/alpha/kernel] Error 2
>
> Attached is a completely untested patch. It just tries to get rid of
> u64 by replacing them with unsigned long.
>
> Matt
Patch made it compile. Unfortunately its not tested as the DS15 machine
where it was needed its not a Marvel but a Titan.
--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2009-12-07 19:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-05 18:27 kernel fails to build without CONFIG_ALPHA_LEGACY_START_ADDRESS Raúl Porcel
2009-12-05 19:13 ` Matt Turner
2009-12-07 19:53 ` Raúl Porcel [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=4B1D5D1C.9040501@gentoo.org \
--to=armin76@gentoo.org \
--cc=linux-alpha@vger.kernel.org \
--cc=mattst88@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).