[U-Boot] [PATCH] Introduce a new linker flag LDFLAGS_FINAL

Haiying Wang Haiying.Wang at freescale.com
Thu Feb 17 21:38:17 CET 2011


On Thu, 2011-02-17 at 14:28 -0500, Haiying Wang wrote:
> > 
> Your scripts works fine. Now I only get one pair of diff which are
> System.map.mpc7448hpc2.diff  u-boot.map.mpc7448hpc2.diff, because
> mpc7448hpc2 failed to build:
> "
> Configuring for mpc7448hpc2 board...
> cc1: error: AltiVec and E500 instructions cannot coexist
> cc1: error: AltiVec and E500 instructions cannot coexist
> lib/asm-offsets.c:1: error: AltiVec and E500 instructions cannot coexist
> make: *** [lib/asm-offsets.s] Error 1
> make: *** Waiting for unfinished jobs....
> 
> --------------------- SUMMARY ----------------------------
> Boards compiled: 1
> Boards with warnings or errors: 1 ( mpc7448hpc2 )
> ----------------------------------------------------------
> ".
> 
> Other than that, I think all the System.map and u-boot.map keep the same
> before and after applying the patch. 
> 
Sorry, I ignored some other info just now. Not only 7448 but also some
other boards failed to build, you can get the failed info from the
beforepatch.txt and afterpatch.txt I sent yesterday. The final result
should be:

haiying at haiying-laptop:~/Opensource/Denx/u-boot$ ls -s *.diff
0 System.map.ESTEEM192E.diff         0 System.map.P2020DS.diff
0 System.map.ETX094.diff             0 System.map.sbc8641d.diff
0 System.map.LANTEC.diff             0 System.map.SPD823TS.diff
0 System.map.mpc7448hpc2.diff        0 System.map.xpedite517x.diff
0 System.map.MPC8610HPCD.diff        0 u-boot.map.mpc7448hpc2.diff
0 System.map.MPC8641HPCN_36BIT.diff  0 u-boot.map.MPC8610HPCD.diff
0 System.map.MPC8641HPCN.diff        0 u-boot.map.MPC8641HPCN_36BIT.diff
0 System.map.mpq101.diff             0 u-boot.map.MPC8641HPCN.diff
0 System.map.P2020DS_36BIT.diff      0 u-boot.map.sbc8641d.diff
0 System.map.P2020DS_DDR2.diff       0 u-boot.map.xpedite517x.diff

The above boards failed to build thus the diff files were generated but the contents are all 0. 

All the other boards should not have difference in System.map/u-boot.map before and after applying the LDFLAGS_FINAL patch.

Haiying





More information about the U-Boot mailing list