From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] powerpc: Fix declaration type for I/O functions
Date: Thu, 23 Aug 2012 12:57:12 -0500 [thread overview]
Message-ID: <50366EF8.7010105@freescale.com> (raw)
In-Reply-To: <CAKWjMd6gQTJ-5p6ma+MnQH7ZB_eYLcyrHjXdyQLQSZATdEL4pQ@mail.gmail.com>
On 08/23/2012 12:24 PM, Andy Fleming wrote:
> This patch (commit 20959471b5d07fdeb8603b918d80385aa2954711),
> strangely, causes the error below to happen when I build
> P1010RDB_36BIT_NAND:
>
> Configuring for P1010RDB_36BIT_NAND - Board: P1010RDB, Options: P1010RDB,36BIT,N
> AND
> make[1]: *** [/local/afleming/u-boot/nand_spl/u-boot-spl] Error 1
> make: *** [nand_spl] Error 2
> /opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/bin/powerpc
> -linux-gnu-size: './u-boot': No such file
> /opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/bin/powerpc
> -linux-gnu-ld: section .bootpg loaded at [00000000ff801000,00000000ff80120f] ove
> rlaps section .data loaded at [00000000ff800e90,00000000ff80102b]
> make[1]: *** [/local/afleming/u-boot/nand_spl/u-boot-spl] Error 1
> make: *** [nand_spl] Error 2
> make: *** Waiting for unfinished jobs....
>
> ${CROSS_COMPILE}gcc --version:
> powerpc-linux-gnu-gcc (Sourcery G++ Lite 2010.09-55) 4.5.1
>
> I'm guessing this change increased the amount of inlining. Sadly, the
> subsequent patches, which were intended to shrink the SPL build, were
> not enough to fix this problem.
>
> My inclination is to revert this patch until we figure out what went wrong.
>
> On Wed, Apr 11, 2012 at 3:49 AM, Prabhakar Kushwaha
> <prabhakar@freescale.com> wrote:
>> Prototype declaration of I/O operation functions are not correct. as both
>> 'extern' and function definition are at same place.
>>
>> Chage protoype declaration as static.
>>
>> Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
>
It builds OK for me using that same toolchain. What SHA1 are you building?
-Scott
next prev parent reply other threads:[~2012-08-23 17:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-11 8:49 [U-Boot] [PATCH] powerpc: Fix declaration type for I/O functions Prabhakar Kushwaha
2012-08-09 20:24 ` Wolfgang Denk
2012-08-23 17:24 ` Andy Fleming
2012-08-23 17:29 ` Prabhakar Kushwaha
2012-08-23 17:57 ` Scott Wood [this message]
2012-08-23 18:03 ` Andy Fleming
2012-08-23 18:09 ` Scott Wood
2012-08-24 22:34 ` Scott Wood
2012-08-23 18:03 ` Tabi Timur-B04825
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=50366EF8.7010105@freescale.com \
--to=scottwood@freescale.com \
--cc=u-boot@lists.denx.de \
/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