[if gte mso 9]>

Re: [edk2] Build error with latest code

Subject: Re: [edk2] Build error with latest code

From: "Olivier Martin" <olivier.martin@arm.com>

To: <edk2-devel@lists.sourceforge.net>

Date: 2011-11-15 00:02:14

Hi Kuan,

 

I also noticed this error last week while I was using the BaseTools from the BaseTools repository.

I have just reported the issue to the BaseTools team (I CC’ed you to the email).

 

Thanks for reporting the error,

Olivier

 

From: Kuan Po Huang [mailto:kphuang@gmail.com]
Sent: 14 November 2011 11:23
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] Build error with latest code

 

Hi edk2 developers,

 

Build latest code on Ubuntu today and get error shown below.

I remake BaseTools and build again, still get the same error.

The ModuleEntryPoint.iii seems to be generated from build tool.

Does anyone encounter the same situation?

 

Thanks,

Kurt

 

"arm-none-eabi-as" -march=armv7-a -mlittle-endian -g -o /home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/ArmPlatformPkg/PrePi/PeiUniCore/OUTPUT/./ModuleEntryPoint.obj -I/home/kph/EDK2/Intel/TrustZone/mod/ArmPlatformPkg/PrePi -I/home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/ArmPlatformPkg/PrePi/PeiUniCore/DEBUG -I/home/kph/EDK2/Intel/TrustZone/mod/MdePkg -I/home/kph/EDK2/Intel/TrustZone/mod/MdePkg/Include -I/home/kph/EDK2/Intel/TrustZone/mod/MdePkg/Include/Arm -I/home/kph/EDK2/Intel/TrustZone/mod/MdeModulePkg -I/home/kph/EDK2/Intel/TrustZone/mod/MdeModulePkg/Include -I/home/kph/EDK2/Intel/TrustZone/mod/EmbeddedPkg -I/home/kph/EDK2/Intel/TrustZone/mod/EmbeddedPkg/Include -I/home/kph/EDK2/Intel/TrustZone/mod/ArmPkg -I/home/kph/EDK2/Intel/TrustZone/mod/ArmPkg/Include -I/home/kph/EDK2/Intel/TrustZone/mod/ArmPlatformPkg -I/home/kph/EDK2/Intel/TrustZone/mod/ArmPlatformPkg/Include -I/home/kph/EDK2/Intel/TrustZone/mod/IntelFrameworkModulePkg -I/home/kph/EDK2/Intel/TrustZone/mod/IntelFrameworkModulePkg/Include /home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/ArmPlatformPkg/PrePi/PeiUniCore/OUTPUT/./ModuleEntryPoint.iii

/home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/ArmPlatformPkg/PrePi/PeiUniCore/OUTPUT/./ModuleEntryPoint.iii: Assembler messages:

/home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/ArmPlatformPkg/PrePi/PeiUniCore/OUTPUT/./ModuleEntryPoint.iii:33: Error: garbage following instruction -- `ldr r1,=0xF03U'

/home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/ArmPlatformPkg/PrePi/PeiUniCore/OUTPUT/./ModuleEntryPoint.iii:46: Error: garbage following instruction -- `ldr r1,=0x80000000U'

/home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/ArmPlatformPkg/PrePi/PeiUniCore/OUTPUT/./ModuleEntryPoint.iii:47: Error: garbage following instruction -- `ldr r2,=0x08000000U'

/home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/ArmPlatformPkg/PrePi/PeiUniCore/OUTPUT/./ModuleEntryPoint.iii:51: Error: garbage following instruction -- `ldr r2,=0x80008000U'

/home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/ArmPlatformPkg/PrePi/PeiUniCore/OUTPUT/./ModuleEntryPoint.iii:52: Error: garbage following instruction -- `ldr r3,=0x00080000U'

/home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/ArmPlatformPkg/PrePi/PeiUniCore/OUTPUT/./ModuleEntryPoint.iii:56: Error: garbage following instruction -- `ldr r4,=0x01000000U'

/home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/ArmPlatformPkg/PrePi/PeiUniCore/OUTPUT/./ModuleEntryPoint.iii:87: Error: garbage following instruction -- `ldr r2,=0x10000U'

/home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/ArmPlatformPkg/PrePi/PeiUniCore/OUTPUT/./ModuleEntryPoint.iii:90: Error: garbage following instruction -- `ldr r2,=1U'

/home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/ArmPlatformPkg/PrePi/PeiUniCore/OUTPUT/./ModuleEntryPoint.iii:92: Error: garbage following instruction -- `ldr r3,=0x1000U'

/home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/ArmPlatformPkg/PrePi/PeiUniCore/OUTPUT/./ModuleEntryPoint.iii:100: Error: garbage following instruction -- `ldr r4,=0U'

/home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/ArmPlatformPkg/PrePi/PeiUniCore/OUTPUT/./ModuleEntryPoint.iii:119: Error: garbage following instruction -- `ldr r2,=0x4U'

/home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/ArmPlatformPkg/PrePi/PeiUniCore/OUTPUT/./ModuleEntryPoint.iii:157: Error: garbage following instruction -- `ldr r2,=0x4U'

/home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/ArmPlatformPkg/PrePi/PeiUniCore/OUTPUT/./ModuleEntryPoint.iii:158: Error: garbage following instruction -- `ldr r3,=0x10000U'

make: *** [/home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/ArmPlatformPkg/PrePi/PeiUniCore/OUTPUT/ModuleEntryPoint.obj] Error 1

 

 

build.py...

 : error 7000: Failed to execute command

make --no-print-directory tbuild [/home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/ArmPlatformPkg/PrePi/PeiUniCore]

 

 

build.py...

 : error F002: Failed to build module

/home/kph/EDK2/Intel/TrustZone/mod/ArmPlatformPkg/PrePi/PeiUniCore.inf [ARM, ARMGCC, DEBUG]

 

- Failed -

Build end time: 19:16:22, Nov.14 2011

Build total time: 00:00:22