From: Wolfgang Denk Date: Tue, 22 Feb 2011 20:39:20 +0100 Subject: [U-Boot] [PATCH] Introduce a new linker flag LDFLAGS_FINAL In-Reply-To: <1297975097.1973.20.camel@haiying-laptop> References: <1296498767-26408-1-git-send-email-Haiying.Wang@freescale.com> <20110131193309.745E7D4D67C@gemini.denx.de> <1296504850.2049.434.camel@haiying-laptop> <20110131203041.E3A12D4D67C@gemini.denx.de> <1297878184.1977.18.camel@haiying-laptop> <20110216182938.754031539C5@gemini.denx.de> <1297881643.1977.28.camel@haiying-laptop> <20110216185807.85766151B54@gemini.denx.de> <1297970902.1973.16.camel@haiying-laptop> <1297975097.1973.20.camel@haiying-laptop> Message-ID: <20110222193920.C2CE1D52302@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Haiying Wang, In message <1297975097.1973.20.camel@haiying-laptop> you 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.... You are using a broken or incorrectly configured (for the purpose) tool chain then. I don't see such problems with ELDK. > 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 these boards build fine for me. > All the other boards should not have difference in System.map/u-boot.map before and after applying the LDFLAGS_FINAL patch. As it's mostly unmaintained and/or Freescale boards that are untested because of your tool chain issues I guess we can assume the test passed. Thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de To get something done, a committee should consist of no more than three men, two of them absent.