Re: [edk2] Build error with latest code

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

From: Girish KS <girishks2000@gmail.com>

To: edk2-devel@lists.sourceforge.net

Date: 2011-11-16 18:07:33

Hi Olivier,
If i replace the FixedPcdGet32 with PcdGet32 then i dont face this problem.
So  i am currently using Pcdget32 and going ahead with my work

regards
Girish K S

On Wed, Nov 16, 2011 at 9:54 AM, Girish KS  wrote:
> Hi Olivier,
> Even after rebuild the problem still exist.
>
> am i missing something.
> regards
> Girish K S
>
> On Tue, Nov 15, 2011 at 3:59 PM, Olivier Martin  =
wrote:
>> Hi Girish,
>> EDK2 revision 12708 should contain the patch to fix the build issue.
>>
>> 1. Update your tree
>> 2. Apply pending patches
>> $ patch -p0 <
>> ArmPlatformPkg/Documentation/patches/BaseTools-Pending-Patches.patch
>> 3. Rebuild your BaseTools
>> $ make -C BaseTools
>>
>> Regards,
>> Olivier
>>
>> -----Original Message-----
>> From: Girish KS [mailto:girishks2000@gmail.com]
>> Sent: 15 November 2011 03:57
>> To: edk2-devel@lists.sourceforge.net
>> Subject: Re: [edk2] Build error with latest code
>>
>> Hello,
>> How to resolve this problem can anybody let me know.
>>
>> regards
>> Girish K S
>>
>> On Mon, Nov 14, 2011 at 11:03 PM, Girish KS  wro=
te:
>>> Hi,
>>> adding to it, there is samw issue with SecEntryPoint.S =A0in ArmPlatfor=
mPkg
>>>
>>> Girish K S
>>>
>>> On Mon, Nov 14, 2011 at 9:38 PM, Kuan Po Huang  wrot=
e:
>>>> Hi Olivier,
>>>> Thanks for help. :)
>>>> Kurt
>>>> On Tue, Nov 15, 2011 at 12:02 AM, Olivier Martin 
>>>> wrote:
>>>>>
>>>>> Hi Kuan,
>>>>>
>>>>>
>>>>>
>>>>> I also noticed this error last week while I was using the BaseTools f=
rom
>>>>> the BaseTools repository.
>>>>>
>>>>> I have just reported the issue to the BaseTools team (I CC=92ed you t=
o 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=A0ModuleEntryPoint.iii seems to be generated from build tool.
>>>>>
>>>>> Does anyone encounter the same situation?
>>>>>
>>>>>
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Kurt
>>>>>
>>>>>
>>>>>
>>>>> "arm-none-eabi-as" -march=3Darmv7-a -mlittle-endian -g -o
>>>>>
>> /home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/Ar=
mPla
>> tformPkg/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/=
ArmP
>> latformPkg/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/Ar=
mPla
>> tformPkg/PrePi/PeiUniCore/OUTPUT/./ModuleEntryPoint.iii
>>>>>
>>>>>
>>>>>
>> /home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/Ar=
mPla
>> tformPkg/PrePi/PeiUniCore/OUTPUT/./ModuleEntryPoint.iii:
>>>>> Assembler messages:
>>>>>
>>>>>
>>>>>
>> /home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/Ar=
mPla
>> tformPkg/PrePi/PeiUniCore/OUTPUT/./ModuleEntryPoint.iii:33:
>>>>> Error: garbage following instruction -- `ldr r1,=3D0xF03U'
>>>>>
>>>>>
>>>>>
>> /home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/Ar=
mPla
>> tformPkg/PrePi/PeiUniCore/OUTPUT/./ModuleEntryPoint.iii:46:
>>>>> Error: garbage following instruction -- `ldr r1,=3D0x80000000U'
>>>>>
>>>>>
>>>>>
>> /home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/Ar=
mPla
>> tformPkg/PrePi/PeiUniCore/OUTPUT/./ModuleEntryPoint.iii:47:
>>>>> Error: garbage following instruction -- `ldr r2,=3D0x08000000U'
>>>>>
>>>>>
>>>>>
>> /home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/Ar=
mPla
>> tformPkg/PrePi/PeiUniCore/OUTPUT/./ModuleEntryPoint.iii:51:
>>>>> Error: garbage following instruction -- `ldr r2,=3D0x80008000U'
>>>>>
>>>>>
>>>>>
>> /home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/Ar=
mPla
>> tformPkg/PrePi/PeiUniCore/OUTPUT/./ModuleEntryPoint.iii:52:
>>>>> Error: garbage following instruction -- `ldr r3,=3D0x00080000U'
>>>>>
>>>>>
>>>>>
>> /home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/Ar=
mPla
>> tformPkg/PrePi/PeiUniCore/OUTPUT/./ModuleEntryPoint.iii:56:
>>>>> Error: garbage following instruction -- `ldr r4,=3D0x01000000U'
>>>>>
>>>>>
>>>>>
>> /home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/Ar=
mPla
>> tformPkg/PrePi/PeiUniCore/OUTPUT/./ModuleEntryPoint.iii:87:
>>>>> Error: garbage following instruction -- `ldr r2,=3D0x10000U'
>>>>>
>>>>>
>>>>>
>> /home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/Ar=
mPla
>> tformPkg/PrePi/PeiUniCore/OUTPUT/./ModuleEntryPoint.iii:90:
>>>>> Error: garbage following instruction -- `ldr r2,=3D1U'
>>>>>
>>>>>
>>>>>
>> /home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/Ar=
mPla
>> tformPkg/PrePi/PeiUniCore/OUTPUT/./ModuleEntryPoint.iii:92:
>>>>> Error: garbage following instruction -- `ldr r3,=3D0x1000U'
>>>>>
>>>>>
>>>>>
>> /home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/Ar=
mPla
>> tformPkg/PrePi/PeiUniCore/OUTPUT/./ModuleEntryPoint.iii:100:
>>>>> Error: garbage following instruction -- `ldr r4,=3D0U'
>>>>>
>>>>>
>>>>>
>> /home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/Ar=
mPla
>> tformPkg/PrePi/PeiUniCore/OUTPUT/./ModuleEntryPoint.iii:119:
>>>>> Error: garbage following instruction -- `ldr r2,=3D0x4U'
>>>>>
>>>>>
>>>>>
>> /home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/Ar=
mPla
>> tformPkg/PrePi/PeiUniCore/OUTPUT/./ModuleEntryPoint.iii:157:
>>>>> Error: garbage following instruction -- `ldr r2,=3D0x4U'
>>>>>
>>>>>
>>>>>
>> /home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/Ar=
mPla
>> tformPkg/PrePi/PeiUniCore/OUTPUT/./ModuleEntryPoint.iii:158:
>>>>> Error: garbage following instruction -- `ldr r3,=3D0x10000U'
>>>>>
>>>>> make: ***
>>>>>
>> [/home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/A=
rmPl
>> atformPkg/PrePi/PeiUniCore/OUTPUT/ModuleEntryPoint.obj]
>>>>> Error 1
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> build.py...
>>>>>
>>>>> =A0: error 7000: Failed to execute command
>>>>>
>>>>> make --no-print-directory tbuild
>>>>>
>> [/home/kph/EDK2/Intel/TrustZone/mod/Build/BeagleBoard/DEBUG_ARMGCC/ARM/A=
rmPl
>> atformPkg/PrePi/PeiUniCore]
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> build.py...
>>>>>
>>>>> =A0: 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
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>> ------------------------------------------------------------------------=
----
>> --
>>>>> RSA(R) Conference 2012
>>>>> Save $700 by Nov 18
>>>>> Register now
>>>>> http://p.sf.net/sfu/rsa-sfdev2dev1
>>>>> _______________________________________________
>>>>> edk2-devel mailing list
>>>>> edk2-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>>>>>
>>>>
>>>>
>>>>
>> ------------------------------------------------------------------------=
----
>> --
>>>> RSA(R) Conference 2012
>>>> Save $700 by Nov 18
>>>> Register now
>>>> http://p.sf.net/sfu/rsa-sfdev2dev1
>>>> _______________________________________________
>>>> edk2-devel mailing list
>>>> edk2-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>>>>
>>>>
>>>
>>
>> ------------------------------------------------------------------------=
----
>> --
>> RSA(R) Conference 2012
>> Save $700 by Nov 18
>> Register now
>> http://p.sf.net/sfu/rsa-sfdev2dev1
>> _______________________________________________
>> edk2-devel mailing list
>> edk2-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------=
------
>> RSA(R) Conference 2012
>> Save $700 by Nov 18
>> Register now
>> http://p.sf.net/sfu/rsa-sfdev2dev1
>> _______________________________________________
>> edk2-devel mailing list
>> edk2-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>>
>

---------------------------------------------------------------------------=
---
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel