[U-Boot] [PATCH 1/7 V2] GCC4.6: Convert various empty macros to inline functions
Marek Vasut
marek.vasut at gmail.com
Tue Oct 4 00:58:42 CEST 2011
On Monday, October 03, 2011 08:42:59 PM Marek Vasut wrote:
> On Monday, October 03, 2011 08:36:58 PM Wolfgang Denk wrote:
> > Dear Marek Vasut,
> >
> > In message <201110032032.25013.marek.vasut at gmail.com> you wrote:
> > > Wolfgang, can you please revert this patch ? It should get the PPCs
> > > building again, but I feel like it's more like hiding errors. As a
> > > temporary solution (until I come up with something better), this should
> > > work.
> > >
> > > I'll give a final confirmation that this fixes the problem after I do
> > > build on all PPC and ARM boards, but TQM823L builds fine.
> >
> > OK, I'm waiting for your confirmation then.
>
> Building like never before :-( Good so far, I know I screwed very badly
> this time.
I was compiling like there was no tomorrow:
* BMW board builds with some warnings (unrelated)
* MPC8360ERDK, MPC8360ERDK_33, MPC8360ERDK_66, socrates, TQM8548_BE doesn't
build (mtd related issues)
Configuring for MPC8360ERDK board...
fsl_upm.c:151: error: static declaration of 'nand_read_buf' follows non-static
declaration
/home/marex/u-boot/include/nand.h:139: error: previous declaration of
'nand_read_buf' was here
make[1]: *** [fsl_upm.o] Error 1
make: *** [drivers/mtd/nand/libnand.o] Error 2
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes. Stop.
powerpc-linux-size: './u-boot': No such file
NOTE: This can be fixed by the patch Message-Id: <1317682569-4896-1-git-send-
email-marek.vasut at gmail.com> and Message-Id: <1317682569-4896-3-git-send-email-
marek.vasut at gmail.com>
* P1011RDB and variants:
cmd_sf.c: In function 'do_spi_flash':
cmd_sf.c:164: warning: 'skipped' may be used uninitialized in this function
cmd_sf.c:164: note: 'skipped' was declared here
NOTE: Patch Message-Id: <1317682569-4896-2-git-send-email-marek.vasut at gmail.com>
should fix the problem.
* mpq101 board:
Configuring for mpq101 board...
powerpc-linux-ld: section .bootpg [fffff000 -> fffff22f] overlaps section .data
[ffffe258 -> fffffe1b]
powerpc-linux-ld: u-boot: section .bootpg lma 0xfffff000 overlaps previous
sections
powerpc-linux-ld: u-boot: section .u_boot_cmd lma 0xfffffe1c overlaps previous
sections
powerpc-linux-ld: u-boot: section .resetvec lma 0xfffffffc overlaps previous
sections
powerpc-linux-ld: u-boot: section .ppcenv lma 0xfffc0000 overlaps previous
sections
make: *** [u-boot] Error 1
powerpc-linux-size: './u-boot': No such file
I'll re-run the tests with the reverted GCC4.6 debug() patch and the three
patches I submitted (Referenced in this mail) and reply in the morning.
Cheers
More information about the U-Boot
mailing list