[U-Boot] observing u-boot build error due to oversizing

Jain Priyanka-B32167 B32167 at freescale.com
Thu Aug 29 12:01:23 CEST 2013


Thanks Dave, I will try that.

> -----Original Message-----
> From: Liu Dave-R63238
> Sent: Thursday, August 29, 2013 1:21 PM
> To: Jain Priyanka-B32167; u-boot at lists.denx.de
> Subject: RE: observing u-boot build error due to oversizing
> 
> Priyanka,
> 
> If you use gcc version 4.7.2 (GCC), it will pass the build
> 
> Regards,
>  Dave
> 
> -----Original Message-----
> From: u-boot-bounces at lists.denx.de [mailto:u-boot-bounces at lists.denx.de]
> On Behalf Of Jain Priyanka-B32167
> Sent: Thursday, August 29, 2013 3:31 PM
> To: u-boot at lists.denx.de
> Subject: [U-Boot] observing u-boot build error due to oversizing
> 
> Hi,
> 
> When I do make P1021RDB-PC_36BIT_NAND in u-boot code base, I am getting
> below errors.
> Look like u-boot is getting oversized. Any idea how can this be resolved
> 
> 
> /opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-
> gnu/bin/powerpc-linux-gnu-gcc -E -g  -Os   -fpic -mrelocatable -
> ffunction-sections -fdata-sections -meabi -D__KERNEL__ -ffunction-
> sections -fdata-sections -DCONFIG_SYS_TEXT_BASE=0x00201000 -
> DCONFIG_SPL_TEXT_BASE=0xfffff000 -DCONFIG_SPL_PAD_TO=4096 -
> DCONFIG_SPL_BUILD -I/data_nmg/users/priyanka/u-boot/include -fno-builtin
> -ffreestanding -nostdinc -isystem /opt/freescale/usr/local/gcc-4.5.55-
> eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/include
> -pipe  -DCONFIG_PPC -D__powerpc__ -ffixed-r2 -Wa,-me500 -msoft-float -
> mno-string -mspe=yes -mno-spe -include /data_nmg/users/priyanka/u-
> boot/include/u-boot/u-boot.lds.h -include /data_nmg/users/priyanka/u-
> boot/include/config.h -DCPUDIR=arch/powerpc/cpu/mpc85xx  -
> I/data_nmg/users/priyanka/u-boot/spl/. -ansi -D__ASSEMBLY__ -P - <
> /data_nmg/users/priyanka/u-boot/arch/powerpc/cpu/mpc85xx/u-boot-spl.lds >
> /data_nmg/users/priyanka/u-boot/spl/u-boot-spl.lds
> cd /data_nmg/users/priyanka/u-boot/spl/ && /opt/freescale/usr/local/gcc-
> 4.5.55-eglibc-2.11.55/powerpc-linux-gnu/bin/powerpc-linux-gnu-ld  -n -T
> /data_nmg/users/priyanka/u-boot/spl/u-boot-spl.lds --gc-sections --gc-
> sections -Bstatic -Ttext 0xfffff000 arch/powerpc/cpu/mpc85xx/start.o
> arch/powerpc/cpu/mpc85xx/resetvec.o --start-group
> arch/powerpc/cpu/mpc85xx/libmpc85xx.o arch/powerpc/cpu/mpc8xxx/lib8xxx.o
> arch/powerpc/lib/libpowerpc.o board/freescale/common/libfreescale.o
> board/freescale/p1_p2_rdb_pc/libp1_p2_rdb_pc.o drivers/mtd/nand/libnand.o
> drivers/serial/libserial.o --end-group -L /opt/freescale/usr/local/gcc-
> 4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-
> gnu/4.5.1/nof -lgcc -Map u-boot-spl.map -o u-boot-spl
> /opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-
> gnu/bin/powerpc-linux-gnu-ld: section .resetvec loaded at
> [00000000fffffffc,00000000ffffffff] overlaps section .data loaded at
> [00000000fffffe88,00000000ffffffff]
> make[2]: *** [/data_nmg/users/priyanka/u-boot/spl/u-boot-spl] Error 1
> 
> Regards
> Priyanka



More information about the U-Boot mailing list