Yes, you are right!On 04/03/2014 12:36 AM, Ryan Harkin wrote:
> On 2 April 2014 16:56, Fu Wei <fu.wei@linaro.org> wrote:
>
>> On 04/02/2014 11:13 PM, Ryan Harkin wrote:
>>> On 2 April 2014 15:38, Steven Kinney <steven.kinney@linaro.org> wrote:
>>>
>>>> Hi Fu Wei,
>>>>
>>>> I will take a peek at the results as well, also
>>>> looking at a GCC 4.8 toolchain issue regarding SCT; although it is not
>>>> exactly the same issue.
>>>>
>>>> BR,
>>>>
>>>> Steve
>>>>
>>>> On 2 April 2014 09:26, Fu Wei <fu.wei@linaro.org> wrote:
>>>>>
>>>>>
>>>>>
>>>>> -------- Original Message --------
>>>>> Subject: Test result for linaro-edk2 tree
>>>>> Date: Wed, 02 Apr 2014 13:15:56 +0800
>>>>> From: Fu Wei <fu.wei@linaro.org>
>>>>> Reply-To: Fu Wei <fu.wei@linaro.org>
>>>>> Organization: Linaro
>>>>> To: Leif Lindholm <leif.lindholm@linaro.org>
>>>>> CC: anmar.oueja@linaro.org <anmar.oueja@linaro.org>, Ilias Biris <
>>>> ilias.biris@linaro.org>
>>>>>
>>>>> Hi guys,
>>>>> Today, I tested the linaro-edk2 tree, and met some problem. So I report
>>>> it below:
>>>>>
>>>>> First of all, tree info :
>>>>> ------------------------------------
>>>>> $ git remote show linaro-edk2
>>>>> * remote linaro-edk2
>>>>> Fetch URL: git://git.linaro.org/uefi/linaro-edk2.git
>>>>> Push URL: git://git.linaro.org/uefi/linaro-edk2.git
>>>>> HEAD branch: master
>>>>> Remote branches:
>>>>> linaro-topic-a5 tracked
>>>>> linaro-topic-a9 tracked
>>>>> master tracked
>>>>> release tracked
>>>>> release-prep tracked
>>>>> tianocore-edk2 tracked
>>>>>
>>>>> $ git log --oneline linaro-edk2/master
>>>>> 4533f02 Merge branch 'linaro-topic-tc2' into release-prep
>>>>> b6782ab Merge branch 'linaro-topic-tc1' into release-prep
>>>>> 3eab5ef Merge branch 'linaro-topic-pxeboot' into release-prep
>>>>> 9bb8bcf Merge branch 'linaro-topic-panda' into release-prep
>>>>> 366381f Merge branch 'linaro-topic-misc' into release-prep
>>>>> 55fdc3a Merge branch 'linaro-topic-leg' into release-prep
>>>>> e9ec942 Merge branch 'linaro-topic-fvp' into release-prep
>>>>> 9832fea Merge branch 'linaro-topic-bds' into release-prep
>>>>> ebb9a3a Merge branch 'linaro-topic-arndale' into release-prep
>>>>> 59b3d2f Merge branch 'linaro-topic-a9' into release-prep
>>>>> 06f642c ArmPlatformPkg/ArmVExpressPkg: add acpi support
>>>>> 35560e5 arm: gic: Disable local interrupts on ExitBootServices()
>>>>> 123cf61 SMBIOS:VE: Add SMBIOS support for ARM VE models
>>>>> e65c9f0 SMBIOS:ARM: Add SMBIOS base driver on ARM Platform
>>>>> -----------------------------------
>>>>>
>>>>> the uefi-tools info:
>>>>> ------------------------------------
>>>>> $ git remote show origin
>>>>> * remote origin
>>>>> Fetch URL: git://git.linaro.org/arm/uefi/uefi-tools.git
>>>>> Push URL: git://git.linaro.org/arm/uefi/uefi-tools.git
>>>>> HEAD branch: master
>>>>> Remote branches:
>>>>> add-args tracked
>>>>> boot-menu-arg tracked
>>>>> master tracked
>>>>> Local branch configured for 'git pull':
>>>>> master merges with remote master
>>>>> Local ref configured for 'git push':
>>>>> master pushes to master (up to date)
>>>>>
>>>>> $ git log --oneline
>>>>> bd82729 remove unused and obsolete tools
>>>>> 16f279f Major update to build scripts.
>>>>> c729af7 rtsm_common: add FVP A9 model
>>>>> cb271b3 Align uefi-build.sh for current tree.
>>>>> 825f628 Fix uefi-build to work with updated upstream edksetup.sh
>>>>> 09738bd rtsm_common: add support for FVP A15 models
>>>>> cc88db0 rtsm_common: update uefi links
>>>>>
>>>>> -----------------------------------
>>>>>
>>>>> (1) recompile linaro-edk2/master and linaro-edk2/release-prep (FAIL)
>>>>> The part of the compile log is attached : uefi_test_build.error1.log
>>>>>
>>>>> (2) recompile linaro-edk2/release (PASS)
>>>>>
>>>>> (3) test linaro-edk2/release binary (FAIL on TFTP boot linux) (PASS on
>>>> TFTP boot GRUB, not PXE)
>>>>> *The problems described in [Bug 1274126] still exist.*
>>>>> But I think it is not the tftp problem, maybe there are some
>>>> problems on "loader"
>>>>>
>>>>> (4) recompile linaro-edk2/release with the latest uefi-tools. (FAIL)
>>>>> The latest uefi-tools means "After fffbbc3":
>>>>> ----------------------------------
>>>>> [tekkamanninja@fuwei uefi-tools]$ git log origin/master --oneline
>>>>> 023efc2 More TOOLCHAIN debug
>>>>> e6875fd Add debug to workout TOOLCHAIN issues
>>>>> 351ccd6 Add Juno build
>>>>>
>>>>> *fffbbc3 uefi-build: update TOOLCHAIN configuration*
>>>>>
>>>>> bd82729 remove unused and obsolete tools
>>>>> 16f279f Major update to build scripts.
>>>>> c729af7 rtsm_common: add FVP A9 model
>>>>> cb271b3 Align uefi-build.sh for current tree.
>>>>> ----------------------------------
>>>>> (i) Unknown toolchain version '4.8.3'
>>>>> The part of the compile log is attached :
>>>> uefi_tools_build.error1.log
>>>>>
>>>>> (ii) apply a patch to solve (i)
>>>>> The patch is attached :
>> uefi-tools_Unknown_toolchain_version.patch
>>>>
>>>
>>> I've applied your patch, tested it locally and pushed it to the repo now.
>>> Thanks!
>>
>> Got it for the repo, Thanks! :-)
>>
>>>
>>>
>>>>
>>>>> (iii) [GCC48] not defined
>>>>> The part of the compile log is attached :
>>>> uefi_tools_build.error2.log
>>>>
>>>
>>> I don't know why you would see this error. If you are using the latest
>>> code from linaro-edk2 or Tianocore, the tools definitions for GCC48
>> should
>>> be in there.
>>>
>>
>> To confirm this, I try to checkout again:
>> [tekkamanninja@fuwei uefi-next]$ git log --oneline
>> 4533f02 Merge branch 'linaro-topic-tc2' into release-prep
>> b6782ab Merge branch 'linaro-topic-tc1' into release-prep
>> 3eab5ef Merge branch 'linaro-topic-pxeboot' into release-prep
>> 9bb8bcf Merge branch 'linaro-topic-panda' into release-prep
>> 366381f Merge branch 'linaro-topic-misc' into release-prep
>> 55fdc3a Merge branch 'linaro-topic-leg' into release-prep
>> e9ec942 Merge branch 'linaro-topic-fvp' into release-prep
>> 9832fea Merge branch 'linaro-topic-bds' into release-prep
>> ebb9a3a Merge branch 'linaro-topic-arndale' into release-prep
>> 59b3d2f Merge branch 'linaro-topic-a9' into release-prep
>> 06f642c ArmPlatformPkg/ArmVExpressPkg: add acpi support
>> 35560e5 arm: gic: Disable local interrupts on ExitBootServices()
>> 123cf61 SMBIOS:VE: Add SMBIOS support for ARM VE models
>> e65c9f0 SMBIOS:ARM: Add SMBIOS base driver on ARM Platform
>> b3b81db TC2: update default kernel commandline
>> 87635df TC2: fix debug builds after ACPI was added
>> 23dc219 TC2: Increase the size of the flash image
>> b0f648f TC2: Added LAN9118 Dxe driver to the VE-TC2
>> c42c439 TC2: use Linaro default config
>> 8b5129b TC2: Add support for EDK2_OUT_DIR build parameter
>> ----------------------------
>>
>> And build again:
>>
>> make[2]: Leaving directory
>> `/home/tekkamanninja/development/aarch64/uefi-grub/UEFI/uefi-next/BaseTools/Tests'
>> make[1]: Leaving directory
>> `/home/tekkamanninja/development/aarch64/uefi-grub/UEFI/uefi-next/BaseTools'
>> AARCH64 other
>> Building aarch64 FVP RTSM
>> CROSS_COMPILE="aarch64-linux-gnu-"
>> fvp_BUILDFLAGS=' '
>> Setting TOOLCHAIN GCC48
>> Setting toolchain prefix: GCC48_AARCH64_PREFIX=aarch64-linux-gnu-
>> CROSS_COMPILE=aarch64-linux-gnu- build -a AARCH64 -t GCC48 -p
>> ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-FVP-AArch64.dsc -b RELEASE
>> Build environment: Linux-3.8.0-35-generic-x86_64-with-Ubuntu-13.04-raring
>> Build start time: 23:54:05, Apr.02 2014
>>
>> build: : warning: Tool chain [GCC48] is not defined
>>
>>
>> build.py...
>> : error 4000: Not available
>> [GCC48] not defined. No toolchain available for build!
>>
>>
>> - Failed -
>> Build end time: 23:54:05, Apr.02 2014
>> Build total time: 00:00:00
>>
>> ------------------------------------------------------------
>> aarch64 FVP RTSM RELEASE fail
>> ------------------------------------------------------------
>> pass 0
>> fail 1
>> make: *** [uefi_v8] Error 1
>>
>> ---------------------------------
>>
>> Is there any wrong in my build environment???
>>
>
> Did you clean your repo before building?
>
> You might have an old/dirty BaseTools directory.
I checked out the code to another dir, then the compile is successful.
Maybe we can add a clean function in uefi-tools. :-)
Enterprise Server Engineer From Red Hat
>
>
>
>> Thanks
>>
>>>
>>>
>>>
>>>>>
>>>>>
>>>>> Those are all the tests I have tried. If you feel any test is in the
>>>> wrong way, please let me know, I will try again.
>>>>>
>>>>>
>>>>> --
>>>>> Best regards,
>>>>>
>>>>> Fu Wei
>>>>> LAVA Engineer From Red Hat
>>>>> LAVA Team
>>>>> Linaro.org | Open source software for ARM SoCs
>>>>> Ph: +86 186 2020 4684 (mobile)
>>>>> IRC: fuwei
>>>>> Skype: tekkamanninja
>>>>> Room 1512, Regus One Corporate Avenue,Level 15,
>>>>> One Corporate Avenue,222 Hubin Road,Huangpu District,
>>>>> Shanghai,China 200021
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>>
>> --
>> Best regards,
>>
>> Fu Wei
>> LAVA Engineer From Red Hat
>> LAVA Team
>> Linaro.org | Open source software for ARM SoCs
>> Ph: +86 186 2020 4684 (mobile)
>> IRC: fuwei
>> Skype: tekkamanninja
>> Room 1512, Regus One Corporate Avenue,Level 15,
>> One Corporate Avenue,222 Hubin Road,Huangpu District,
>> Shanghai,China 200021
>>
>
--
Best regards,
Fu Wei
LEG Team
Linaro.org | Open source software for ARM SoCs
Ph: +86 186 2020 4684 (mobile)
IRC: fuwei
Skype: tekkamanninja
Room 1512, Regus One Corporate Avenue,Level 15,
One Corporate Avenue,222 Hubin Road,Huangpu District,
Shanghai,China 200021