You can subscribe to this list here.
| 2010 |
Jan
(1) |
Feb
(2) |
Mar
(12) |
Apr
(3) |
May
(2) |
Jun
(16) |
Jul
(24) |
Aug
(3) |
Sep
(9) |
Oct
(9) |
Nov
(1) |
Dec
(10) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2011 |
Jan
(8) |
Feb
(4) |
Mar
(6) |
Apr
(9) |
May
(4) |
Jun
(32) |
Jul
(14) |
Aug
|
Sep
(24) |
Oct
(26) |
Nov
(34) |
Dec
(15) |
| 2012 |
Jan
(16) |
Feb
(27) |
Mar
(44) |
Apr
(10) |
May
(8) |
Jun
(15) |
Jul
(10) |
Aug
(15) |
Sep
(12) |
Oct
(4) |
Nov
(3) |
Dec
(16) |
| 2013 |
Jan
(8) |
Feb
(4) |
Mar
(8) |
Apr
(7) |
May
(22) |
Jun
(17) |
Jul
(18) |
Aug
(31) |
Sep
(19) |
Oct
(16) |
Nov
(26) |
Dec
(11) |
| 2014 |
Jan
(21) |
Feb
(23) |
Mar
(17) |
Apr
(19) |
May
(39) |
Jun
(33) |
Jul
(86) |
Aug
(11) |
Sep
(5) |
Oct
(19) |
Nov
(1) |
Dec
(2) |
| 2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(4) |
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
(6) |
Dec
|
| 2019 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Andrew F. <af...@ap...> - 2010-09-10 21:35:27
|
I have more data on this issue. It looks like it may be a combination of _ and - in the path. This seams really strange, but maybe it is a bug in a regular expression?
I was able to reproduce the failure in the edk2.
In MdeModulePkg/Include I added a T_EST directory. I then added eth and eth-phy subdirs to T_EST. In eth-phy I added ethphy.h. I then updated HelloWorld.c:
#include <T_EST/eth-phy/ethphy.h>
I built the UnixPkg and I got the following error:
build.py...
: error 0001: File open failure
/Users/fish/work/edk2/MdeModulePkg/Include/T_EST/eth
[Errno 21] Is a directory
This is the error I was seeing in my private tree.
I also tried on Windows XP and it looks like I get the same issue, with a slightly different error message.
build...
: error 0001: File open failure
c:\work\edk2tot\MdeModulePkg\Include\T_EST\eth
[Errno 13] Permission denied: 'c:\\work\\edk2tot\\MdeModulePkg\\Include\\T_EST\\eth'
- Failed -
14:27:19, Sep.10 2010 [00:25]
Andrew Fish
On Sep 9, 2010, at 8:40 PM, Huang, Qing wrote:
> Andrew,
>
> Our build spec does allow to use "-" in the name of our path. I tried renaming a module's path in my windows environment and it does work.
>
> Can you please let me know your python trace stack for me to diagnose?
>
> Best regards,
> Huang, Qing
>
> -----Original Message-----
> From: Andrew Fish [mailto:af...@ap...]
> Sent: Friday, September 10, 2010 3:07 AM
> To: edk...@li...
> Cc: edk...@li...
> Subject: [edk2-buildtools] Build system puts out crazy error if a file name contains a -
>
> I noticed the code in GetDependencyList() (GenMake.py) will generate a strange error if a file path has a '-' in it.
>
> build.py...
> : error 0001: File open failure
> /Users/fish/work/edk2/XPkg/pci
> [Errno 21] Is a directory
>
> When the file name is really /Users/fish/work/edk2/XPkg/pci-test/PciTest.h
>
> I was having this issue on OS X. I had to add lots of prints to the python to track this down as my issue was not as obvious as the example.
>
> Andrew Fish
>
> PS This is a big chunk of 3rd party code we ported to edk2, so we don't really what to change the paths and file names since we may need to diff against another code base in the future.
>
>
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> edk2-buildtools-devel mailing list
> edk...@li...
> https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel
|
|
From: Andrew F. <af...@ap...> - 2010-09-10 18:51:57
|
Qing, It looks like it is not a generic problem? I don't get a trace. I get this error. build.py... : error 0001: File open failure /Users/fish/work/Raven/XPkg/libh/h/eth [Errno 21] Is a directory It looks like the makefile generation dependency code (Not the EFI DEPEX) is building the list of .h files that a .c file depends on. This is one of the files: /Users/fish/work/Raven/XPkg/libh/h/eth-phy/EthPhy.h that should be depended on and it seems to generate the error. This directory exists in the tree. /Users/fish/work/Raven/XPkg/libh/h/eth and that is why we get the error message about it being a directory. But internally the tool had dir path, when it should have had a path to an include file. Andrew Fish On Sep 9, 2010, at 8:40 PM, Huang, Qing wrote: > Andrew, > > Our build spec does allow to use "-" in the name of our path. I tried renaming a module's path in my windows environment and it does work. > > Can you please let me know your python trace stack for me to diagnose? > > Best regards, > Huang, Qing > > -----Original Message----- > From: Andrew Fish [mailto:af...@ap...] > Sent: Friday, September 10, 2010 3:07 AM > To: edk...@li... > Cc: edk...@li... > Subject: [edk2-buildtools] Build system puts out crazy error if a file name contains a - > > I noticed the code in GetDependencyList() (GenMake.py) will generate a strange error if a file path has a '-' in it. > > build.py... > : error 0001: File open failure > /Users/fish/work/edk2/XPkg/pci > [Errno 21] Is a directory > > When the file name is really /Users/fish/work/edk2/XPkg/pci-test/PciTest.h > > I was having this issue on OS X. I had to add lots of prints to the python to track this down as my issue was not as obvious as the example. > > Andrew Fish > > PS This is a big chunk of 3rd party code we ported to edk2, so we don't really what to change the paths and file names since we may need to diff against another code base in the future. > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > edk2-buildtools-devel mailing list > edk...@li... > https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel |
|
From: Andrew F. <af...@ap...> - 2010-09-10 18:47:33
|
Qing, It looks like it is not a generic problem? I don't get a trace. I get this error. build.py... : error 0001: File open failure /Users/fish/work/Raven/XPkg/libh/h/eth [Errno 21] Is a directory It looks like the makefile generation dependency code (Not the EFI DEPEX) is building the list of .h files that a .c file depends on. This is one of the files: /Users/fish/work/Raven/XPkg/libh/h/eth-phy/EthPhy.h that should be depended on and it seems to generate the error. This directory exists in the tree. /Users/fish/work/Raven/XPkg/libh/h/eth and that is why we get the error message about it being a directory. But internally the tool had dir path, when it should have had a path to an include file. Andrew Fish On Sep 9, 2010, at 8:40 PM, Huang, Qing wrote: > Andrew, > > Our build spec does allow to use "-" in the name of our path. I tried renaming a module's path in my windows environment and it does work. > > Can you please let me know your python trace stack for me to diagnose? > > Best regards, > Huang, Qing > > -----Original Message----- > From: Andrew Fish [mailto:af...@ap...] > Sent: Friday, September 10, 2010 3:07 AM > To: edk...@li... > Cc: edk...@li... > Subject: [edk2-buildtools] Build system puts out crazy error if a file name contains a - > > I noticed the code in GetDependencyList() (GenMake.py) will generate a strange error if a file path has a '-' in it. > > build.py... > : error 0001: File open failure > /Users/fish/work/edk2/XPkg/pci > [Errno 21] Is a directory > > When the file name is really /Users/fish/work/edk2/XPkg/pci-test/PciTest.h > > I was having this issue on OS X. I had to add lots of prints to the python to track this down as my issue was not as obvious as the example. > > Andrew Fish > > PS This is a big chunk of 3rd party code we ported to edk2, so we don't really what to change the paths and file names since we may need to diff against another code base in the future. > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > edk2-buildtools-devel mailing list > edk...@li... > https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel |
|
From: Huang, Q. <qin...@in...> - 2010-09-10 03:40:39
|
Andrew, Our build spec does allow to use "-" in the name of our path. I tried renaming a module's path in my windows environment and it does work. Can you please let me know your python trace stack for me to diagnose? Best regards, Huang, Qing -----Original Message----- From: Andrew Fish [mailto:af...@ap...] Sent: Friday, September 10, 2010 3:07 AM To: edk...@li... Cc: edk...@li... Subject: [edk2-buildtools] Build system puts out crazy error if a file name contains a - I noticed the code in GetDependencyList() (GenMake.py) will generate a strange error if a file path has a '-' in it. build.py... : error 0001: File open failure /Users/fish/work/edk2/XPkg/pci [Errno 21] Is a directory When the file name is really /Users/fish/work/edk2/XPkg/pci-test/PciTest.h I was having this issue on OS X. I had to add lots of prints to the python to track this down as my issue was not as obvious as the example. Andrew Fish PS This is a big chunk of 3rd party code we ported to edk2, so we don't really what to change the paths and file names since we may need to diff against another code base in the future. ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ edk2-buildtools-devel mailing list edk...@li... https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel |
|
From: Andrew F. <af...@ap...> - 2010-09-09 19:06:58
|
I noticed the code in GetDependencyList() (GenMake.py) will generate a strange error if a file path has a '-' in it. build.py... : error 0001: File open failure /Users/fish/work/edk2/XPkg/pci [Errno 21] Is a directory When the file name is really /Users/fish/work/edk2/XPkg/pci-test/PciTest.h I was having this issue on OS X. I had to add lots of prints to the python to track this down as my issue was not as obvious as the example. Andrew Fish PS This is a big chunk of 3rd party code we ported to edk2, so we don't really what to change the paths and file names since we may need to diff against another code base in the future. |
|
From: Gao, L. <lim...@in...> - 2010-09-01 01:14:49
|
Andrew:
Thanks for your report. This is a real bug in GenFds tool. GenFds should report error message when it finds the invalid INF file.
-----Original Message-----
From: Andrew Fish [mailto:af...@ap...]
Sent: Wednesday, September 01, 2010 5:22 AM
To: edk...@li...
Subject: [edk2-buildtools] Please send email to edk...@li... for help, attaching following call stack trace!
I had a bug in the .fdf file and I noticed I get a crash. Seems like I should get an error message that the file is not a valid INF file?
INF RuleOverride = BINARY USE = IA32 FatBinPkg/EnhancedFatDxe/Ia32/Fat.efi
vs.
INF RuleOverride = BINARY USE = IA32 FatBinPkg/EnhancedFatDxe/Fat.inf
GenFds.py...
: error C0DE: Tools code failure
Please send email to edk...@li... for help, attaching following call stack trace!
Traceback (most recent call last):
File "/Users/fish/work/edk2/BaseTools/BinWrappers/Darwin-i386/../../Source/Python/GenFds/GenFds.py", line 245, in main
GenFds.GenFd('', FdfParserObj, BuildWorkSpace, ArchList)
File "/Users/fish/work/edk2/BaseTools/BinWrappers/Darwin-i386/../../Source/Python/GenFds/GenFds.py", line 346, in GenFd
FdObj.GenFd()
File "/Users/fish/work/edk2/BaseTools/Source/Python/GenFds/Fd.py", line 93, in GenFd
RegionObj.AddToBuffer (TempFdBuffer, self.BaseAddress, self.BlockSizeList, self.ErasePolarity, GenFds.ImageBinDict, self.vtfRawDict, self.DefineVarDict)
File "/Users/fish/work/edk2/BaseTools/Source/Python/GenFds/Region.py", line 112, in AddToBuffer
FvObj.AddToBuffer(FvBuffer, FvBaseAddress, BlockSize, BlockNum, ErasePolarity, vtfDict)
File "/Users/fish/work/edk2/BaseTools/Source/Python/GenFds/Fv.py", line 106, in AddToBuffer
FileName = FfsFile.GenFfs(MacroDict, FvParentAddr=BaseAddress)
File "/Users/fish/work/edk2/BaseTools/Source/Python/GenFds/FfsInfStatement.py", line 163, in GenFfs
self.__InfParse__(Dict)
File "/Users/fish/work/edk2/BaseTools/Source/Python/GenFds/FfsInfStatement.py", line 93, in __InfParse__
self.BaseName = Inf.BaseName
AttributeError: 'NoneType' object has no attribute 'BaseName'
Andrew Fish
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
edk2-buildtools-devel mailing list
edk...@li...
https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel
|
|
From: Andrew F. <af...@ap...> - 2010-08-31 21:22:16
|
I had a bug in the .fdf file and I noticed I get a crash. Seems like I should get an error message that the file is not a valid INF file?
INF RuleOverride = BINARY USE = IA32 FatBinPkg/EnhancedFatDxe/Ia32/Fat.efi
vs.
INF RuleOverride = BINARY USE = IA32 FatBinPkg/EnhancedFatDxe/Fat.inf
GenFds.py...
: error C0DE: Tools code failure
Please send email to edk...@li... for help, attaching following call stack trace!
Traceback (most recent call last):
File "/Users/fish/work/edk2/BaseTools/BinWrappers/Darwin-i386/../../Source/Python/GenFds/GenFds.py", line 245, in main
GenFds.GenFd('', FdfParserObj, BuildWorkSpace, ArchList)
File "/Users/fish/work/edk2/BaseTools/BinWrappers/Darwin-i386/../../Source/Python/GenFds/GenFds.py", line 346, in GenFd
FdObj.GenFd()
File "/Users/fish/work/edk2/BaseTools/Source/Python/GenFds/Fd.py", line 93, in GenFd
RegionObj.AddToBuffer (TempFdBuffer, self.BaseAddress, self.BlockSizeList, self.ErasePolarity, GenFds.ImageBinDict, self.vtfRawDict, self.DefineVarDict)
File "/Users/fish/work/edk2/BaseTools/Source/Python/GenFds/Region.py", line 112, in AddToBuffer
FvObj.AddToBuffer(FvBuffer, FvBaseAddress, BlockSize, BlockNum, ErasePolarity, vtfDict)
File "/Users/fish/work/edk2/BaseTools/Source/Python/GenFds/Fv.py", line 106, in AddToBuffer
FileName = FfsFile.GenFfs(MacroDict, FvParentAddr=BaseAddress)
File "/Users/fish/work/edk2/BaseTools/Source/Python/GenFds/FfsInfStatement.py", line 163, in GenFfs
self.__InfParse__(Dict)
File "/Users/fish/work/edk2/BaseTools/Source/Python/GenFds/FfsInfStatement.py", line 93, in __InfParse__
self.BaseName = Inf.BaseName
AttributeError: 'NoneType' object has no attribute 'BaseName'
Andrew Fish
|
|
From: Andrew F. <af...@ap...> - 2010-08-20 17:18:04
|
I noticed the check in of the Execution Order Tool add some *.pyd binary files. In the past these binary files were usually checked in a Bin directory? It looks like some version of these binaries are checked into BaseTools/Bin/Win32/? So how are these binaries created? How do I run the Eot tool on Windows? How to I run it on OS X? ~/work$ find BaseTools/Source/ -iname '*.pyd' BaseTools/Source//Python/Common/PyUtility.pyd BaseTools/Source//Python/Eot/EfiCompressor.pyd BaseTools/Source//Python/Eot/LzmaCompressor.pyd ~/work/edk2$ find BaseTools -iname '*.pyd' BaseTools/Bin/Win32/_hashlib.pyd BaseTools/Bin/Win32/_socket.pyd BaseTools/Bin/Win32/_sqlite3.pyd BaseTools/Bin/Win32/_ssl.pyd BaseTools/Bin/Win32/Common.PyUtility.pyd BaseTools/Bin/Win32/EfiCompressor.pyd BaseTools/Bin/Win32/Eot.EfiCompressor.pyd BaseTools/Bin/Win32/Eot.LzmaCompressor.pyd BaseTools/Bin/Win32/pyexpat.pyd BaseTools/Bin/Win32/select.pyd BaseTools/Source/Python/Common/PyUtility.pyd BaseTools/Source/Python/Eot/EfiCompressor.pyd BaseTools/Source/Python/Eot/LzmaCompressor.pyd Andrew Fish |
|
From: Andrew F. <af...@ap...> - 2010-08-12 20:08:06
|
It looks to me that the build does not produce correct GuidedSectionTools.txt files for non Windows builds? ee4e5898-3914-4259-9d6e-dc7bd79403cf LZMA /Users/fish/work/edk2/BaseTools/BinWrappers/PosixLike/RunBinToolFromBuildDir a31280ad-481e-41b6-95e8-127f4c984779 TIANO /Users/fish/work/edk2/BaseTools/BinWrappers/PosixLike/RunBinToolFromBuildDir If I replace RunBinToolFromBuildDir with the name of the tool everything seems to work. It looks like symbolic links are not being handled properly. You need to call RunBinToolFromBuildDir from a symbolic link so the script can get the name of the tool it is trying to launch. As I've pointed out before it would be cleaner to just have the build copy the binaries to this location and not deal with this complex symbolic link issue. Andrew Fish |
|
From: Qingpei W. <wa...@ma...> - 2010-07-30 10:08:16
|
Hi Qing,
It's fine now with ELFGCC & IA32 by UnixPkg
Thanks
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Huang, Qing [mailto:qin...@in...]
Sent: Friday, July 30, 2010 4:12 PM
To: Qingpei Wang; Andrew Fish
Cc: edk...@li...
Subject: RE: [edk2-buildtools] EDK 2 build process
QingPei,
The build errors are caused by source code defects in UnixPkg. I have checked in to fix them in Edk r10721. Please update UnixPkg and try again.
Thanks & Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 3:42 PM
To: Huang, Qing; Andrew Fish
Cc: edk...@li...
Subject: RE: [edk2-buildtools] EDK 2 build process
Sorry for missing the attach file.
I tried both ELFGCC and GCC44.
Neither of them could pass the building process.
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Huang, Qing [mailto:qin...@in...]
Sent: Friday, July 30, 2010 3:29 PM
To: Qingpei Wang; Andrew Fish
Cc: edk...@li...
Subject: RE: [edk2-buildtools] EDK 2 build process
QingPei,
What is the additional messages besides "ERROR 3000 Invalid"? GenFw reports quite a few invalid messages? The attachment of a complete build log will help to diagnose?
Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 3:21 PM
To: Huang, Qing; Andrew Fish
Cc: edk...@li...
Subject: RE: [edk2-buildtools] EDK 2 build process
Qing & Andrew,
You are right, now my building progress went deeper.
It stopped by GenFw:ERROR 3000 Invalid
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Huang, Qing [mailto:qin...@in...]
Sent: Friday, July 30, 2010 2:50 PM
To: Andrew Fish
Cc: Qingpei Wang; edk...@li...
Subject: RE: [edk2-buildtools] EDK 2 build process
Andrew,
I agree with you. I find that the default ASM_FLAG for EFLGCC for IA32 contains the -m32 option. But SecMain.inf in UnixPkg does not. I have checked in to fix this issue.
Qingpei,
Please update the UnixPkg to see if this issue gets fixed in your working environment?
Best regards,
Huang, Qing
From: Andrew Fish [mailto:af...@ap...]
Sent: Friday, July 30, 2010 1:44 PM
To: Huang, Qing
Cc: Qingpei Wang; edk...@li...
Subject: Re: [edk2-buildtools] EDK 2 build process
I'm thinking the same thing Qing. It looks like -m32 should have been passed to gcc to make sure it is 32-bit?
Andrew Fish
On Jul 29, 2010, at 10:39 PM, Huang, Qing wrote:
QingPei,
The stack.iii file looks OK. What is the version of your GCC compiler? Is it 32-bit or 64-bit GCC?
Thanks & Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 1:00 PM
To: Andrew Fish
Cc: edk...@li...<mailto:edk...@li...>
Subject: Re: [edk2-buildtools] EDK 2 build process
The file attached.
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Andrew Fish [mailto:af...@ap...]
Sent: Friday, July 30, 2010 11:50 AM
To: Qingpei Wang
Cc: Huang, Qing; edk...@li...<mailto:edk...@li...>
Subject: Re: [edk2-buildtools] EDK 2 build process
can you attach your /home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii
file.
push %eax
push %ebx
push %ecx
push %edx
...
pop %edx
And that looks legal???
Andrew Fish
On Jul 29, 2010, at 8:37 PM, Qingpei Wang wrote:
Hi Qing,
I got it. The Path of Trim should be added into $PATH.
The new problems is the assembly code cannot being compiled.
I tried:
Build -p UnixPkg/UnixPkg.dsc -t ELFGCC -a IA32.
The Error seems like:
Assembler messages:
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:39: Error: suffix or operands invalid for `push'
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:40: Error: suffix or operands invalid for `push'
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:41: Error: suffix or operands invalid for `push'
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:42: Error: suffix or operands invalid for `push'
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:91: Error: suffix or operands invalid for `pop'
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Huang, Qing [mailto:qin...@in...]
Sent: Friday, July 30, 2010 11:04 AM
To: Qingpei Wang
Subject: RE: EDK 2 build process
Can you further check your PATH environment variable?
Mine is "./BaseTools/Bin/BinWrapper/Linux-i686:..."
Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 10:42 AM
To: Huang, Qing
Subject: RE: EDK 2 build process
WORKSPACE=/home/work/wqp/work/temp/edk2/trunk/edk2
EDK_TOOLS_PATH=./BaseTools
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Huang, Qing [mailto:qin...@in...]
Sent: Friday, July 30, 2010 10:30 AM
To: Qingpei Wang; edk...@li...<mailto:edk...@li...>
Subject: RE: EDK 2 build process
Yes, I remember we need to "source" that script. i.e. type" . ./edksetup.sh BaseTools" under workspace directory.
After executing that script, WORKSPACE, EDK_TOOLS_PATH working environment will be set. Can you check that environment in your system?
Thanks & Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 10:22 AM
To: Huang, Qing; edk...@li...<mailto:edk...@li...>
Subject: RE: EDK 2 build process
Hi, Qing,
I assume that my path setting is fine. It is done by script edksetup.sh right?
I attach my build log. Hope it can bring some help.
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Huang, Qing [mailto:qin...@in...]
Sent: Friday, July 30, 2010 10:15 AM
To: Qingpei Wang; edk...@li...<mailto:edk...@li...>
Subject: RE: EDK 2 build process
Qingpei
Trim is a python tool in BaseTools package.
If the path is setting correctly, the make should invoke BaseTools/BinWrappers/Linix-i686/Trim (under 32-bit Linux), which will further invoke BaseToolsSource/Source/Python/Trim/Trim.py
Could you please check the path setting?
Thanks & Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 9:18 AM
To: edk...@li...<mailto:edk...@li...>
Subject: [edk2-buildtools] EDK 2 build process
Hi all,
I just started EFI things this week, I am so glad that EDK2 can support GCC building. But there seems have some problems for me.
I take the advices from
http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=Unix-like_systems
the BaseTools setting are fine.
But the make process always shows that
"Make: Trim: Command not found"
Did I miss certain package ?
Which package contains the "Trim"?
Any Suggestion would be appreciated.
Best wishes..
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm_______________________________________________
edk2-buildtools-devel mailing list
edk...@li...<mailto:edk...@li...>
https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel
|
|
From: Huang, Q. <qin...@in...> - 2010-07-30 08:12:44
|
QingPei,
The build errors are caused by source code defects in UnixPkg. I have checked in to fix them in Edk r10721. Please update UnixPkg and try again.
Thanks & Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 3:42 PM
To: Huang, Qing; Andrew Fish
Cc: edk...@li...
Subject: RE: [edk2-buildtools] EDK 2 build process
Sorry for missing the attach file.
I tried both ELFGCC and GCC44.
Neither of them could pass the building process.
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Huang, Qing [mailto:qin...@in...]
Sent: Friday, July 30, 2010 3:29 PM
To: Qingpei Wang; Andrew Fish
Cc: edk...@li...
Subject: RE: [edk2-buildtools] EDK 2 build process
QingPei,
What is the additional messages besides "ERROR 3000 Invalid"? GenFw reports quite a few invalid messages? The attachment of a complete build log will help to diagnose?
Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 3:21 PM
To: Huang, Qing; Andrew Fish
Cc: edk...@li...
Subject: RE: [edk2-buildtools] EDK 2 build process
Qing & Andrew,
You are right, now my building progress went deeper.
It stopped by GenFw:ERROR 3000 Invalid
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Huang, Qing [mailto:qin...@in...]
Sent: Friday, July 30, 2010 2:50 PM
To: Andrew Fish
Cc: Qingpei Wang; edk...@li...
Subject: RE: [edk2-buildtools] EDK 2 build process
Andrew,
I agree with you. I find that the default ASM_FLAG for EFLGCC for IA32 contains the -m32 option. But SecMain.inf in UnixPkg does not. I have checked in to fix this issue.
Qingpei,
Please update the UnixPkg to see if this issue gets fixed in your working environment?
Best regards,
Huang, Qing
From: Andrew Fish [mailto:af...@ap...]
Sent: Friday, July 30, 2010 1:44 PM
To: Huang, Qing
Cc: Qingpei Wang; edk...@li...
Subject: Re: [edk2-buildtools] EDK 2 build process
I'm thinking the same thing Qing. It looks like -m32 should have been passed to gcc to make sure it is 32-bit?
Andrew Fish
On Jul 29, 2010, at 10:39 PM, Huang, Qing wrote:
QingPei,
The stack.iii file looks OK. What is the version of your GCC compiler? Is it 32-bit or 64-bit GCC?
Thanks & Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 1:00 PM
To: Andrew Fish
Cc: edk...@li...<mailto:edk...@li...>
Subject: Re: [edk2-buildtools] EDK 2 build process
The file attached.
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Andrew Fish [mailto:af...@ap...]
Sent: Friday, July 30, 2010 11:50 AM
To: Qingpei Wang
Cc: Huang, Qing; edk...@li...<mailto:edk...@li...>
Subject: Re: [edk2-buildtools] EDK 2 build process
can you attach your /home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii
file.
push %eax
push %ebx
push %ecx
push %edx
...
pop %edx
And that looks legal???
Andrew Fish
On Jul 29, 2010, at 8:37 PM, Qingpei Wang wrote:
Hi Qing,
I got it. The Path of Trim should be added into $PATH.
The new problems is the assembly code cannot being compiled.
I tried:
Build -p UnixPkg/UnixPkg.dsc -t ELFGCC -a IA32.
The Error seems like:
Assembler messages:
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:39: Error: suffix or operands invalid for `push'
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:40: Error: suffix or operands invalid for `push'
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:41: Error: suffix or operands invalid for `push'
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:42: Error: suffix or operands invalid for `push'
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:91: Error: suffix or operands invalid for `pop'
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Huang, Qing [mailto:qin...@in...]
Sent: Friday, July 30, 2010 11:04 AM
To: Qingpei Wang
Subject: RE: EDK 2 build process
Can you further check your PATH environment variable?
Mine is "./BaseTools/Bin/BinWrapper/Linux-i686:..."
Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 10:42 AM
To: Huang, Qing
Subject: RE: EDK 2 build process
WORKSPACE=/home/work/wqp/work/temp/edk2/trunk/edk2
EDK_TOOLS_PATH=./BaseTools
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Huang, Qing [mailto:qin...@in...]
Sent: Friday, July 30, 2010 10:30 AM
To: Qingpei Wang; edk...@li...<mailto:edk...@li...>
Subject: RE: EDK 2 build process
Yes, I remember we need to "source" that script. i.e. type" . ./edksetup.sh BaseTools" under workspace directory.
After executing that script, WORKSPACE, EDK_TOOLS_PATH working environment will be set. Can you check that environment in your system?
Thanks & Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 10:22 AM
To: Huang, Qing; edk...@li...<mailto:edk...@li...>
Subject: RE: EDK 2 build process
Hi, Qing,
I assume that my path setting is fine. It is done by script edksetup.sh right?
I attach my build log. Hope it can bring some help.
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Huang, Qing [mailto:qin...@in...]
Sent: Friday, July 30, 2010 10:15 AM
To: Qingpei Wang; edk...@li...<mailto:edk...@li...>
Subject: RE: EDK 2 build process
Qingpei
Trim is a python tool in BaseTools package.
If the path is setting correctly, the make should invoke BaseTools/BinWrappers/Linix-i686/Trim (under 32-bit Linux), which will further invoke BaseToolsSource/Source/Python/Trim/Trim.py
Could you please check the path setting?
Thanks & Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 9:18 AM
To: edk...@li...<mailto:edk...@li...>
Subject: [edk2-buildtools] EDK 2 build process
Hi all,
I just started EFI things this week, I am so glad that EDK2 can support GCC building. But there seems have some problems for me.
I take the advices from
http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=Unix-like_systems
the BaseTools setting are fine.
But the make process always shows that
"Make: Trim: Command not found"
Did I miss certain package ?
Which package contains the "Trim"?
Any Suggestion would be appreciated.
Best wishes..
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm_______________________________________________
edk2-buildtools-devel mailing list
edk...@li...<mailto:edk...@li...>
https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel
|
|
From: Lu, K. <ke...@in...> - 2010-07-30 07:52:55
|
When you meet problem, you may use "build -v" or "build -j log.txt" to get additional information.
Thanks.
From: Huang, Qing [mailto:qin...@in...]
Sent: Friday, July 30, 2010 3:29 PM
To: Qingpei Wang; Andrew Fish
Cc: edk...@li...
Subject: Re: [edk2-buildtools] EDK 2 build process
QingPei,
What is the additional messages besides "ERROR 3000 Invalid"? GenFw reports quite a few invalid messages? The attachment of a complete build log will help to diagnose?
Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 3:21 PM
To: Huang, Qing; Andrew Fish
Cc: edk...@li...
Subject: RE: [edk2-buildtools] EDK 2 build process
Qing & Andrew,
You are right, now my building progress went deeper.
It stopped by GenFw:ERROR 3000 Invalid
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Huang, Qing [mailto:qin...@in...]
Sent: Friday, July 30, 2010 2:50 PM
To: Andrew Fish
Cc: Qingpei Wang; edk...@li...
Subject: RE: [edk2-buildtools] EDK 2 build process
Andrew,
I agree with you. I find that the default ASM_FLAG for EFLGCC for IA32 contains the -m32 option. But SecMain.inf in UnixPkg does not. I have checked in to fix this issue.
Qingpei,
Please update the UnixPkg to see if this issue gets fixed in your working environment?
Best regards,
Huang, Qing
From: Andrew Fish [mailto:af...@ap...]
Sent: Friday, July 30, 2010 1:44 PM
To: Huang, Qing
Cc: Qingpei Wang; edk...@li...
Subject: Re: [edk2-buildtools] EDK 2 build process
I'm thinking the same thing Qing. It looks like -m32 should have been passed to gcc to make sure it is 32-bit?
Andrew Fish
On Jul 29, 2010, at 10:39 PM, Huang, Qing wrote:
QingPei,
The stack.iii file looks OK. What is the version of your GCC compiler? Is it 32-bit or 64-bit GCC?
Thanks & Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 1:00 PM
To: Andrew Fish
Cc: edk...@li...<mailto:edk...@li...>
Subject: Re: [edk2-buildtools] EDK 2 build process
The file attached.
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Andrew Fish [mailto:af...@ap...]
Sent: Friday, July 30, 2010 11:50 AM
To: Qingpei Wang
Cc: Huang, Qing; edk...@li...<mailto:edk...@li...>
Subject: Re: [edk2-buildtools] EDK 2 build process
can you attach your /home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii
file.
push %eax
push %ebx
push %ecx
push %edx
...
pop %edx
And that looks legal???
Andrew Fish
On Jul 29, 2010, at 8:37 PM, Qingpei Wang wrote:
Hi Qing,
I got it. The Path of Trim should be added into $PATH.
The new problems is the assembly code cannot being compiled.
I tried:
Build -p UnixPkg/UnixPkg.dsc -t ELFGCC -a IA32.
The Error seems like:
Assembler messages:
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:39: Error: suffix or operands invalid for `push'
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:40: Error: suffix or operands invalid for `push'
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:41: Error: suffix or operands invalid for `push'
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:42: Error: suffix or operands invalid for `push'
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:91: Error: suffix or operands invalid for `pop'
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Huang, Qing [mailto:qin...@in...]
Sent: Friday, July 30, 2010 11:04 AM
To: Qingpei Wang
Subject: RE: EDK 2 build process
Can you further check your PATH environment variable?
Mine is "./BaseTools/Bin/BinWrapper/Linux-i686:..."
Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 10:42 AM
To: Huang, Qing
Subject: RE: EDK 2 build process
WORKSPACE=/home/work/wqp/work/temp/edk2/trunk/edk2
EDK_TOOLS_PATH=./BaseTools
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Huang, Qing [mailto:qin...@in...]
Sent: Friday, July 30, 2010 10:30 AM
To: Qingpei Wang; edk...@li...<mailto:edk...@li...>
Subject: RE: EDK 2 build process
Yes, I remember we need to "source" that script. i.e. type" . ./edksetup.sh BaseTools" under workspace directory.
After executing that script, WORKSPACE, EDK_TOOLS_PATH working environment will be set. Can you check that environment in your system?
Thanks & Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 10:22 AM
To: Huang, Qing; edk...@li...<mailto:edk...@li...>
Subject: RE: EDK 2 build process
Hi, Qing,
I assume that my path setting is fine. It is done by script edksetup.sh right?
I attach my build log. Hope it can bring some help.
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Huang, Qing [mailto:qin...@in...]
Sent: Friday, July 30, 2010 10:15 AM
To: Qingpei Wang; edk...@li...<mailto:edk...@li...>
Subject: RE: EDK 2 build process
Qingpei
Trim is a python tool in BaseTools package.
If the path is setting correctly, the make should invoke BaseTools/BinWrappers/Linix-i686/Trim (under 32-bit Linux), which will further invoke BaseToolsSource/Source/Python/Trim/Trim.py
Could you please check the path setting?
Thanks & Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 9:18 AM
To: edk...@li...<mailto:edk...@li...>
Subject: [edk2-buildtools] EDK 2 build process
Hi all,
I just started EFI things this week, I am so glad that EDK2 can support GCC building. But there seems have some problems for me.
I take the advices from
http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=Unix-like_systems
the BaseTools setting are fine.
But the make process always shows that
"Make: Trim: Command not found"
Did I miss certain package ?
Which package contains the "Trim"?
Any Suggestion would be appreciated.
Best wishes..
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm_______________________________________________
edk2-buildtools-devel mailing list
edk...@li...<mailto:edk...@li...>
https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel
|
|
From: Huang, Q. <qin...@in...> - 2010-07-30 07:29:30
|
QingPei,
What is the additional messages besides "ERROR 3000 Invalid"? GenFw reports quite a few invalid messages? The attachment of a complete build log will help to diagnose?
Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 3:21 PM
To: Huang, Qing; Andrew Fish
Cc: edk...@li...
Subject: RE: [edk2-buildtools] EDK 2 build process
Qing & Andrew,
You are right, now my building progress went deeper.
It stopped by GenFw:ERROR 3000 Invalid
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Huang, Qing [mailto:qin...@in...]
Sent: Friday, July 30, 2010 2:50 PM
To: Andrew Fish
Cc: Qingpei Wang; edk...@li...
Subject: RE: [edk2-buildtools] EDK 2 build process
Andrew,
I agree with you. I find that the default ASM_FLAG for EFLGCC for IA32 contains the -m32 option. But SecMain.inf in UnixPkg does not. I have checked in to fix this issue.
Qingpei,
Please update the UnixPkg to see if this issue gets fixed in your working environment?
Best regards,
Huang, Qing
From: Andrew Fish [mailto:af...@ap...]
Sent: Friday, July 30, 2010 1:44 PM
To: Huang, Qing
Cc: Qingpei Wang; edk...@li...
Subject: Re: [edk2-buildtools] EDK 2 build process
I'm thinking the same thing Qing. It looks like -m32 should have been passed to gcc to make sure it is 32-bit?
Andrew Fish
On Jul 29, 2010, at 10:39 PM, Huang, Qing wrote:
QingPei,
The stack.iii file looks OK. What is the version of your GCC compiler? Is it 32-bit or 64-bit GCC?
Thanks & Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 1:00 PM
To: Andrew Fish
Cc: edk...@li...<mailto:edk...@li...>
Subject: Re: [edk2-buildtools] EDK 2 build process
The file attached.
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Andrew Fish [mailto:af...@ap...]
Sent: Friday, July 30, 2010 11:50 AM
To: Qingpei Wang
Cc: Huang, Qing; edk...@li...<mailto:edk...@li...>
Subject: Re: [edk2-buildtools] EDK 2 build process
can you attach your /home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii
file.
push %eax
push %ebx
push %ecx
push %edx
...
pop %edx
And that looks legal???
Andrew Fish
On Jul 29, 2010, at 8:37 PM, Qingpei Wang wrote:
Hi Qing,
I got it. The Path of Trim should be added into $PATH.
The new problems is the assembly code cannot being compiled.
I tried:
Build -p UnixPkg/UnixPkg.dsc -t ELFGCC -a IA32.
The Error seems like:
Assembler messages:
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:39: Error: suffix or operands invalid for `push'
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:40: Error: suffix or operands invalid for `push'
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:41: Error: suffix or operands invalid for `push'
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:42: Error: suffix or operands invalid for `push'
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:91: Error: suffix or operands invalid for `pop'
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Huang, Qing [mailto:qin...@in...]
Sent: Friday, July 30, 2010 11:04 AM
To: Qingpei Wang
Subject: RE: EDK 2 build process
Can you further check your PATH environment variable?
Mine is "./BaseTools/Bin/BinWrapper/Linux-i686:..."
Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 10:42 AM
To: Huang, Qing
Subject: RE: EDK 2 build process
WORKSPACE=/home/work/wqp/work/temp/edk2/trunk/edk2
EDK_TOOLS_PATH=./BaseTools
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Huang, Qing [mailto:qin...@in...]
Sent: Friday, July 30, 2010 10:30 AM
To: Qingpei Wang; edk...@li...<mailto:edk...@li...>
Subject: RE: EDK 2 build process
Yes, I remember we need to "source" that script. i.e. type" . ./edksetup.sh BaseTools" under workspace directory.
After executing that script, WORKSPACE, EDK_TOOLS_PATH working environment will be set. Can you check that environment in your system?
Thanks & Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 10:22 AM
To: Huang, Qing; edk...@li...<mailto:edk...@li...>
Subject: RE: EDK 2 build process
Hi, Qing,
I assume that my path setting is fine. It is done by script edksetup.sh right?
I attach my build log. Hope it can bring some help.
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Huang, Qing [mailto:qin...@in...]
Sent: Friday, July 30, 2010 10:15 AM
To: Qingpei Wang; edk...@li...<mailto:edk...@li...>
Subject: RE: EDK 2 build process
Qingpei
Trim is a python tool in BaseTools package.
If the path is setting correctly, the make should invoke BaseTools/BinWrappers/Linix-i686/Trim (under 32-bit Linux), which will further invoke BaseToolsSource/Source/Python/Trim/Trim.py
Could you please check the path setting?
Thanks & Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 9:18 AM
To: edk...@li...<mailto:edk...@li...>
Subject: [edk2-buildtools] EDK 2 build process
Hi all,
I just started EFI things this week, I am so glad that EDK2 can support GCC building. But there seems have some problems for me.
I take the advices from
http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=Unix-like_systems
the BaseTools setting are fine.
But the make process always shows that
"Make: Trim: Command not found"
Did I miss certain package ?
Which package contains the "Trim"?
Any Suggestion would be appreciated.
Best wishes..
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm_______________________________________________
edk2-buildtools-devel mailing list
edk...@li...<mailto:edk...@li...>
https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel
|
|
From: Qingpei W. <wa...@ma...> - 2010-07-30 07:21:13
|
Qing & Andrew,
You are right, now my building progress went deeper.
It stopped by GenFw:ERROR 3000 Invalid
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Huang, Qing [mailto:qin...@in...]
Sent: Friday, July 30, 2010 2:50 PM
To: Andrew Fish
Cc: Qingpei Wang; edk...@li...
Subject: RE: [edk2-buildtools] EDK 2 build process
Andrew,
I agree with you. I find that the default ASM_FLAG for EFLGCC for IA32 contains the -m32 option. But SecMain.inf in UnixPkg does not. I have checked in to fix this issue.
Qingpei,
Please update the UnixPkg to see if this issue gets fixed in your working environment?
Best regards,
Huang, Qing
From: Andrew Fish [mailto:af...@ap...]
Sent: Friday, July 30, 2010 1:44 PM
To: Huang, Qing
Cc: Qingpei Wang; edk...@li...
Subject: Re: [edk2-buildtools] EDK 2 build process
I'm thinking the same thing Qing. It looks like -m32 should have been passed to gcc to make sure it is 32-bit?
Andrew Fish
On Jul 29, 2010, at 10:39 PM, Huang, Qing wrote:
QingPei,
The stack.iii file looks OK. What is the version of your GCC compiler? Is it 32-bit or 64-bit GCC?
Thanks & Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 1:00 PM
To: Andrew Fish
Cc: edk...@li...<mailto:edk...@li...>
Subject: Re: [edk2-buildtools] EDK 2 build process
The file attached.
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Andrew Fish [mailto:af...@ap...]
Sent: Friday, July 30, 2010 11:50 AM
To: Qingpei Wang
Cc: Huang, Qing; edk...@li...<mailto:edk...@li...>
Subject: Re: [edk2-buildtools] EDK 2 build process
can you attach your /home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii
file.
push %eax
push %ebx
push %ecx
push %edx
...
pop %edx
And that looks legal???
Andrew Fish
On Jul 29, 2010, at 8:37 PM, Qingpei Wang wrote:
Hi Qing,
I got it. The Path of Trim should be added into $PATH.
The new problems is the assembly code cannot being compiled.
I tried:
Build -p UnixPkg/UnixPkg.dsc -t ELFGCC -a IA32.
The Error seems like:
Assembler messages:
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:39: Error: suffix or operands invalid for `push'
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:40: Error: suffix or operands invalid for `push'
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:41: Error: suffix or operands invalid for `push'
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:42: Error: suffix or operands invalid for `push'
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:91: Error: suffix or operands invalid for `pop'
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Huang, Qing [mailto:qin...@in...]
Sent: Friday, July 30, 2010 11:04 AM
To: Qingpei Wang
Subject: RE: EDK 2 build process
Can you further check your PATH environment variable?
Mine is "./BaseTools/Bin/BinWrapper/Linux-i686:..."
Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 10:42 AM
To: Huang, Qing
Subject: RE: EDK 2 build process
WORKSPACE=/home/work/wqp/work/temp/edk2/trunk/edk2
EDK_TOOLS_PATH=./BaseTools
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Huang, Qing [mailto:qin...@in...]
Sent: Friday, July 30, 2010 10:30 AM
To: Qingpei Wang; edk...@li...<mailto:edk...@li...>
Subject: RE: EDK 2 build process
Yes, I remember we need to "source" that script. i.e. type" . ./edksetup.sh BaseTools" under workspace directory.
After executing that script, WORKSPACE, EDK_TOOLS_PATH working environment will be set. Can you check that environment in your system?
Thanks & Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 10:22 AM
To: Huang, Qing; edk...@li...<mailto:edk...@li...>
Subject: RE: EDK 2 build process
Hi, Qing,
I assume that my path setting is fine. It is done by script edksetup.sh right?
I attach my build log. Hope it can bring some help.
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Huang, Qing [mailto:qin...@in...]
Sent: Friday, July 30, 2010 10:15 AM
To: Qingpei Wang; edk...@li...<mailto:edk...@li...>
Subject: RE: EDK 2 build process
Qingpei
Trim is a python tool in BaseTools package.
If the path is setting correctly, the make should invoke BaseTools/BinWrappers/Linix-i686/Trim (under 32-bit Linux), which will further invoke BaseToolsSource/Source/Python/Trim/Trim.py
Could you please check the path setting?
Thanks & Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 9:18 AM
To: edk...@li...<mailto:edk...@li...>
Subject: [edk2-buildtools] EDK 2 build process
Hi all,
I just started EFI things this week, I am so glad that EDK2 can support GCC building. But there seems have some problems for me.
I take the advices from
http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=Unix-like_systems
the BaseTools setting are fine.
But the make process always shows that
"Make: Trim: Command not found"
Did I miss certain package ?
Which package contains the "Trim"?
Any Suggestion would be appreciated.
Best wishes..
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm_______________________________________________
edk2-buildtools-devel mailing list
edk...@li...<mailto:edk...@li...>
https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel
|
|
From: Huang, Q. <qin...@in...> - 2010-07-30 06:50:52
|
Andrew,
I agree with you. I find that the default ASM_FLAG for EFLGCC for IA32 contains the -m32 option. But SecMain.inf in UnixPkg does not. I have checked in to fix this issue.
Qingpei,
Please update the UnixPkg to see if this issue gets fixed in your working environment?
Best regards,
Huang, Qing
From: Andrew Fish [mailto:af...@ap...]
Sent: Friday, July 30, 2010 1:44 PM
To: Huang, Qing
Cc: Qingpei Wang; edk...@li...
Subject: Re: [edk2-buildtools] EDK 2 build process
I'm thinking the same thing Qing. It looks like -m32 should have been passed to gcc to make sure it is 32-bit?
Andrew Fish
On Jul 29, 2010, at 10:39 PM, Huang, Qing wrote:
QingPei,
The stack.iii file looks OK. What is the version of your GCC compiler? Is it 32-bit or 64-bit GCC?
Thanks & Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 1:00 PM
To: Andrew Fish
Cc: edk...@li...<mailto:edk...@li...>
Subject: Re: [edk2-buildtools] EDK 2 build process
The file attached.
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Andrew Fish [mailto:af...@ap...]
Sent: Friday, July 30, 2010 11:50 AM
To: Qingpei Wang
Cc: Huang, Qing; edk...@li...<mailto:edk...@li...>
Subject: Re: [edk2-buildtools] EDK 2 build process
can you attach your /home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii
file.
push %eax
push %ebx
push %ecx
push %edx
...
pop %edx
And that looks legal???
Andrew Fish
On Jul 29, 2010, at 8:37 PM, Qingpei Wang wrote:
Hi Qing,
I got it. The Path of Trim should be added into $PATH.
The new problems is the assembly code cannot being compiled.
I tried:
Build -p UnixPkg/UnixPkg.dsc -t ELFGCC -a IA32.
The Error seems like:
Assembler messages:
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:39: Error: suffix or operands invalid for `push'
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:40: Error: suffix or operands invalid for `push'
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:41: Error: suffix or operands invalid for `push'
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:42: Error: suffix or operands invalid for `push'
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:91: Error: suffix or operands invalid for `pop'
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Huang, Qing [mailto:qin...@in...]
Sent: Friday, July 30, 2010 11:04 AM
To: Qingpei Wang
Subject: RE: EDK 2 build process
Can you further check your PATH environment variable?
Mine is "./BaseTools/Bin/BinWrapper/Linux-i686:..."
Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 10:42 AM
To: Huang, Qing
Subject: RE: EDK 2 build process
WORKSPACE=/home/work/wqp/work/temp/edk2/trunk/edk2
EDK_TOOLS_PATH=./BaseTools
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Huang, Qing [mailto:qin...@in...]
Sent: Friday, July 30, 2010 10:30 AM
To: Qingpei Wang; edk...@li...<mailto:edk...@li...>
Subject: RE: EDK 2 build process
Yes, I remember we need to "source" that script. i.e. type" . ./edksetup.sh BaseTools" under workspace directory.
After executing that script, WORKSPACE, EDK_TOOLS_PATH working environment will be set. Can you check that environment in your system?
Thanks & Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 10:22 AM
To: Huang, Qing; edk...@li...<mailto:edk...@li...>
Subject: RE: EDK 2 build process
Hi, Qing,
I assume that my path setting is fine. It is done by script edksetup.sh right?
I attach my build log. Hope it can bring some help.
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Huang, Qing [mailto:qin...@in...]
Sent: Friday, July 30, 2010 10:15 AM
To: Qingpei Wang; edk...@li...<mailto:edk...@li...>
Subject: RE: EDK 2 build process
Qingpei
Trim is a python tool in BaseTools package.
If the path is setting correctly, the make should invoke BaseTools/BinWrappers/Linix-i686/Trim (under 32-bit Linux), which will further invoke BaseToolsSource/Source/Python/Trim/Trim.py
Could you please check the path setting?
Thanks & Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 9:18 AM
To: edk...@li...<mailto:edk...@li...>
Subject: [edk2-buildtools] EDK 2 build process
Hi all,
I just started EFI things this week, I am so glad that EDK2 can support GCC building. But there seems have some problems for me.
I take the advices from
http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=Unix-like_systems
the BaseTools setting are fine.
But the make process always shows that
"Make: Trim: Command not found"
Did I miss certain package ?
Which package contains the "Trim"?
Any Suggestion would be appreciated.
Best wishes..
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm_______________________________________________
edk2-buildtools-devel mailing list
edk...@li...<mailto:edk...@li...>
https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel
|
|
From: Andrew F. <af...@ap...> - 2010-07-30 05:44:06
|
I'm thinking the same thing Qing. It looks like -m32 should have been passed to gcc to make sure it is 32-bit? Andrew Fish On Jul 29, 2010, at 10:39 PM, Huang, Qing wrote: > QingPei, > > The stack.iii file looks OK. What is the version of your GCC compiler? Is it 32-bit or 64-bit GCC? > > Thanks & Best regards, > Huang, Qing > > From: Qingpei Wang [mailto:wa...@ma...] > Sent: Friday, July 30, 2010 1:00 PM > To: Andrew Fish > Cc: edk...@li... > Subject: Re: [edk2-buildtools] EDK 2 build process > > The file attached. > > QingPei Wang > Storage Software Engineer > Marvell Technology (Shanghai) Limited > > From: Andrew Fish [mailto:af...@ap...] > Sent: Friday, July 30, 2010 11:50 AM > To: Qingpei Wang > Cc: Huang, Qing; edk...@li... > Subject: Re: [edk2-buildtools] EDK 2 build process > > can you attach your /home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii > file. > > push %eax > push %ebx > push %ecx > push %edx > ... > pop %edx > > And that looks legal??? > > Andrew Fish > > > > > > On Jul 29, 2010, at 8:37 PM, Qingpei Wang wrote: > > > Hi Qing, > I got it. The Path of Trim should be added into $PATH. > The new problems is the assembly code cannot being compiled. > I tried: > Build –p UnixPkg/UnixPkg.dsc –t ELFGCC –a IA32. > The Error seems like: > Assembler messages: > /home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:39: Error: suffix or operands invalid for `push' > /home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:40: Error: suffix or operands invalid for `push' > /home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:41: Error: suffix or operands invalid for `push' > /home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:42: Error: suffix or operands invalid for `push' > /home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:91: Error: suffix or operands invalid for `pop' > > QingPei Wang > Storage Software Engineer > Marvell Technology (Shanghai) Limited > > From: Huang, Qing [mailto:qin...@in...] > Sent: Friday, July 30, 2010 11:04 AM > To: Qingpei Wang > Subject: RE: EDK 2 build process > > Can you further check your PATH environment variable? > Mine is “./BaseTools/Bin/BinWrapper/Linux-i686:…” > > Best regards, > Huang, Qing > > From: Qingpei Wang [mailto:wa...@ma...] > Sent: Friday, July 30, 2010 10:42 AM > To: Huang, Qing > Subject: RE: EDK 2 build process > > WORKSPACE=/home/work/wqp/work/temp/edk2/trunk/edk2 > EDK_TOOLS_PATH=./BaseTools > > > QingPei Wang > Storage Software Engineer > Marvell Technology (Shanghai) Limited > > From: Huang, Qing [mailto:qin...@in...] > Sent: Friday, July 30, 2010 10:30 AM > To: Qingpei Wang; edk...@li... > Subject: RE: EDK 2 build process > > Yes, I remember we need to “source” that script. i.e. type” . ./edksetup.sh BaseTools” under workspace directory. > After executing that script, WORKSPACE, EDK_TOOLS_PATH working environment will be set. Can you check that environment in your system? > > Thanks & Best regards, > Huang, Qing > > From: Qingpei Wang [mailto:wa...@ma...] > Sent: Friday, July 30, 2010 10:22 AM > To: Huang, Qing; edk...@li... > Subject: RE: EDK 2 build process > > Hi, Qing, > I assume that my path setting is fine. It is done by script edksetup.sh right? > I attach my build log. Hope it can bring some help. > > QingPei Wang > Storage Software Engineer > Marvell Technology (Shanghai) Limited > > From: Huang, Qing [mailto:qin...@in...] > Sent: Friday, July 30, 2010 10:15 AM > To: Qingpei Wang; edk...@li... > Subject: RE: EDK 2 build process > > Qingpei > Trim is a python tool in BaseTools package. > > If the path is setting correctly, the make should invoke BaseTools/BinWrappers/Linix-i686/Trim (under 32-bit Linux), which will further invoke BaseToolsSource/Source/Python/Trim/Trim.py > Could you please check the path setting? > > Thanks & Best regards, > Huang, Qing > > > From: Qingpei Wang [mailto:wa...@ma...] > Sent: Friday, July 30, 2010 9:18 AM > To: edk...@li... > Subject: [edk2-buildtools] EDK 2 build process > > Hi all, > I just started EFI things this week, I am so glad that EDK2 can support GCC building. But there seems have some problems for me. > I take the advices from > http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=Unix-like_systems > the BaseTools setting are fine. > But the make process always shows that > “Make: Trim: Command not found” > Did I miss certain package ? > Which package contains the “Trim”? > > Any Suggestion would be appreciated. > > Best wishes.. > > QingPei Wang > Storage Software Engineer > Marvell Technology (Shanghai) Limited > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://p.sf.net/sfu/dev2dev-palm_______________________________________________ > edk2-buildtools-devel mailing list > edk...@li... > https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel > |
|
From: Huang, Q. <qin...@in...> - 2010-07-30 05:40:24
|
QingPei,
The stack.iii file looks OK. What is the version of your GCC compiler? Is it 32-bit or 64-bit GCC?
Thanks & Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 1:00 PM
To: Andrew Fish
Cc: edk...@li...
Subject: Re: [edk2-buildtools] EDK 2 build process
The file attached.
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Andrew Fish [mailto:af...@ap...]
Sent: Friday, July 30, 2010 11:50 AM
To: Qingpei Wang
Cc: Huang, Qing; edk...@li...
Subject: Re: [edk2-buildtools] EDK 2 build process
can you attach your /home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii
file.
push %eax
push %ebx
push %ecx
push %edx
...
pop %edx
And that looks legal???
Andrew Fish
On Jul 29, 2010, at 8:37 PM, Qingpei Wang wrote:
Hi Qing,
I got it. The Path of Trim should be added into $PATH.
The new problems is the assembly code cannot being compiled.
I tried:
Build -p UnixPkg/UnixPkg.dsc -t ELFGCC -a IA32.
The Error seems like:
Assembler messages:
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:39: Error: suffix or operands invalid for `push'
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:40: Error: suffix or operands invalid for `push'
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:41: Error: suffix or operands invalid for `push'
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:42: Error: suffix or operands invalid for `push'
/home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:91: Error: suffix or operands invalid for `pop'
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Huang, Qing [mailto:qin...@in...]
Sent: Friday, July 30, 2010 11:04 AM
To: Qingpei Wang
Subject: RE: EDK 2 build process
Can you further check your PATH environment variable?
Mine is "./BaseTools/Bin/BinWrapper/Linux-i686:..."
Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 10:42 AM
To: Huang, Qing
Subject: RE: EDK 2 build process
WORKSPACE=/home/work/wqp/work/temp/edk2/trunk/edk2
EDK_TOOLS_PATH=./BaseTools
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Huang, Qing [mailto:qin...@in...]
Sent: Friday, July 30, 2010 10:30 AM
To: Qingpei Wang; edk...@li...<mailto:edk...@li...>
Subject: RE: EDK 2 build process
Yes, I remember we need to "source" that script. i.e. type" . ./edksetup.sh BaseTools" under workspace directory.
After executing that script, WORKSPACE, EDK_TOOLS_PATH working environment will be set. Can you check that environment in your system?
Thanks & Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 10:22 AM
To: Huang, Qing; edk...@li...<mailto:edk...@li...>
Subject: RE: EDK 2 build process
Hi, Qing,
I assume that my path setting is fine. It is done by script edksetup.sh right?
I attach my build log. Hope it can bring some help.
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
From: Huang, Qing [mailto:qin...@in...]
Sent: Friday, July 30, 2010 10:15 AM
To: Qingpei Wang; edk...@li...<mailto:edk...@li...>
Subject: RE: EDK 2 build process
Qingpei
Trim is a python tool in BaseTools package.
If the path is setting correctly, the make should invoke BaseTools/BinWrappers/Linix-i686/Trim (under 32-bit Linux), which will further invoke BaseToolsSource/Source/Python/Trim/Trim.py
Could you please check the path setting?
Thanks & Best regards,
Huang, Qing
From: Qingpei Wang [mailto:wa...@ma...]
Sent: Friday, July 30, 2010 9:18 AM
To: edk...@li...<mailto:edk...@li...>
Subject: [edk2-buildtools] EDK 2 build process
Hi all,
I just started EFI things this week, I am so glad that EDK2 can support GCC building. But there seems have some problems for me.
I take the advices from
http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=Unix-like_systems
the BaseTools setting are fine.
But the make process always shows that
"Make: Trim: Command not found"
Did I miss certain package ?
Which package contains the "Trim"?
Any Suggestion would be appreciated.
Best wishes..
QingPei Wang
Storage Software Engineer
Marvell Technology (Shanghai) Limited
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm_______________________________________________
edk2-buildtools-devel mailing list
edk...@li...<mailto:edk...@li...>
https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel
|
|
From: Andrew F. <af...@ap...> - 2010-07-30 03:50:02
|
can you attach your /home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii
file.
push %eax
push %ebx
push %ecx
push %edx
...
pop %edx
And that looks legal???
Andrew Fish
On Jul 29, 2010, at 8:37 PM, Qingpei Wang wrote:
> Hi Qing,
> I got it. The Path of Trim should be added into $PATH.
> The new problems is the assembly code cannot being compiled.
> I tried:
> Build –p UnixPkg/UnixPkg.dsc –t ELFGCC –a IA32.
> The Error seems like:
> Assembler messages:
> /home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:39: Error: suffix or operands invalid for `push'
> /home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:40: Error: suffix or operands invalid for `push'
> /home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:41: Error: suffix or operands invalid for `push'
> /home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:42: Error: suffix or operands invalid for `push'
> /home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:91: Error: suffix or operands invalid for `pop'
>
> QingPei Wang
> Storage Software Engineer
> Marvell Technology (Shanghai) Limited
>
> From: Huang, Qing [mailto:qin...@in...]
> Sent: Friday, July 30, 2010 11:04 AM
> To: Qingpei Wang
> Subject: RE: EDK 2 build process
>
> Can you further check your PATH environment variable?
> Mine is “./BaseTools/Bin/BinWrapper/Linux-i686:…”
>
> Best regards,
> Huang, Qing
>
> From: Qingpei Wang [mailto:wa...@ma...]
> Sent: Friday, July 30, 2010 10:42 AM
> To: Huang, Qing
> Subject: RE: EDK 2 build process
>
> WORKSPACE=/home/work/wqp/work/temp/edk2/trunk/edk2
> EDK_TOOLS_PATH=./BaseTools
>
>
> QingPei Wang
> Storage Software Engineer
> Marvell Technology (Shanghai) Limited
>
> From: Huang, Qing [mailto:qin...@in...]
> Sent: Friday, July 30, 2010 10:30 AM
> To: Qingpei Wang; edk...@li...
> Subject: RE: EDK 2 build process
>
> Yes, I remember we need to “source” that script. i.e. type” . ./edksetup.sh BaseTools” under workspace directory.
> After executing that script, WORKSPACE, EDK_TOOLS_PATH working environment will be set. Can you check that environment in your system?
>
> Thanks & Best regards,
> Huang, Qing
>
> From: Qingpei Wang [mailto:wa...@ma...]
> Sent: Friday, July 30, 2010 10:22 AM
> To: Huang, Qing; edk...@li...
> Subject: RE: EDK 2 build process
>
> Hi, Qing,
> I assume that my path setting is fine. It is done by script edksetup.sh right?
> I attach my build log. Hope it can bring some help.
>
> QingPei Wang
> Storage Software Engineer
> Marvell Technology (Shanghai) Limited
>
> From: Huang, Qing [mailto:qin...@in...]
> Sent: Friday, July 30, 2010 10:15 AM
> To: Qingpei Wang; edk...@li...
> Subject: RE: EDK 2 build process
>
> Qingpei
> Trim is a python tool in BaseTools package.
>
> If the path is setting correctly, the make should invoke BaseTools/BinWrappers/Linix-i686/Trim (under 32-bit Linux), which will further invoke BaseToolsSource/Source/Python/Trim/Trim.py
> Could you please check the path setting?
>
> Thanks & Best regards,
> Huang, Qing
>
>
> From: Qingpei Wang [mailto:wa...@ma...]
> Sent: Friday, July 30, 2010 9:18 AM
> To: edk...@li...
> Subject: [edk2-buildtools] EDK 2 build process
>
> Hi all,
> I just started EFI things this week, I am so glad that EDK2 can support GCC building. But there seems have some problems for me.
> I take the advices from
> http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=Unix-like_systems
> the BaseTools setting are fine.
> But the make process always shows that
> “Make: Trim: Command not found”
> Did I miss certain package ?
> Which package contains the “Trim”?
>
> Any Suggestion would be appreciated.
>
> Best wishes..
>
> QingPei Wang
> Storage Software Engineer
> Marvell Technology (Shanghai) Limited
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm_______________________________________________
> edk2-buildtools-devel mailing list
> edk...@li...
> https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel
|
|
From: Qingpei W. <wa...@ma...> - 2010-07-30 03:37:40
|
Hi Qing, I got it. The Path of Trim should be added into $PATH. The new problems is the assembly code cannot being compiled. I tried: Build -p UnixPkg/UnixPkg.dsc -t ELFGCC -a IA32. The Error seems like: Assembler messages: /home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:39: Error: suffix or operands invalid for `push' /home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:40: Error: suffix or operands invalid for `push' /home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:41: Error: suffix or operands invalid for `push' /home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:42: Error: suffix or operands invalid for `push' /home/wqp/work/temp/edk2/trunk/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/Ia32/Stack.iii:91: Error: suffix or operands invalid for `pop' QingPei Wang Storage Software Engineer Marvell Technology (Shanghai) Limited From: Huang, Qing [mailto:qin...@in...] Sent: Friday, July 30, 2010 11:04 AM To: Qingpei Wang Subject: RE: EDK 2 build process Can you further check your PATH environment variable? Mine is "./BaseTools/Bin/BinWrapper/Linux-i686:..." Best regards, Huang, Qing From: Qingpei Wang [mailto:wa...@ma...] Sent: Friday, July 30, 2010 10:42 AM To: Huang, Qing Subject: RE: EDK 2 build process WORKSPACE=/home/work/wqp/work/temp/edk2/trunk/edk2 EDK_TOOLS_PATH=./BaseTools QingPei Wang Storage Software Engineer Marvell Technology (Shanghai) Limited From: Huang, Qing [mailto:qin...@in...] Sent: Friday, July 30, 2010 10:30 AM To: Qingpei Wang; edk...@li... Subject: RE: EDK 2 build process Yes, I remember we need to "source" that script. i.e. type" . ./edksetup.sh BaseTools" under workspace directory. After executing that script, WORKSPACE, EDK_TOOLS_PATH working environment will be set. Can you check that environment in your system? Thanks & Best regards, Huang, Qing From: Qingpei Wang [mailto:wa...@ma...] Sent: Friday, July 30, 2010 10:22 AM To: Huang, Qing; edk...@li... Subject: RE: EDK 2 build process Hi, Qing, I assume that my path setting is fine. It is done by script edksetup.sh right? I attach my build log. Hope it can bring some help. QingPei Wang Storage Software Engineer Marvell Technology (Shanghai) Limited From: Huang, Qing [mailto:qin...@in...] Sent: Friday, July 30, 2010 10:15 AM To: Qingpei Wang; edk...@li... Subject: RE: EDK 2 build process Qingpei Trim is a python tool in BaseTools package. If the path is setting correctly, the make should invoke BaseTools/BinWrappers/Linix-i686/Trim (under 32-bit Linux), which will further invoke BaseToolsSource/Source/Python/Trim/Trim.py Could you please check the path setting? Thanks & Best regards, Huang, Qing From: Qingpei Wang [mailto:wa...@ma...] Sent: Friday, July 30, 2010 9:18 AM To: edk...@li... Subject: [edk2-buildtools] EDK 2 build process Hi all, I just started EFI things this week, I am so glad that EDK2 can support GCC building. But there seems have some problems for me. I take the advices from http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=Unix-like_systems the BaseTools setting are fine. But the make process always shows that "Make: Trim: Command not found" Did I miss certain package ? Which package contains the "Trim"? Any Suggestion would be appreciated. Best wishes.. QingPei Wang Storage Software Engineer Marvell Technology (Shanghai) Limited |
|
From: Huang, Q. <qin...@in...> - 2010-07-30 02:30:22
|
Yes, I remember we need to "source" that script. i.e. type" . ./edksetup.sh BaseTools" under workspace directory. After executing that script, WORKSPACE, EDK_TOOLS_PATH working environment will be set. Can you check that environment in your system? Thanks & Best regards, Huang, Qing From: Qingpei Wang [mailto:wa...@ma...] Sent: Friday, July 30, 2010 10:22 AM To: Huang, Qing; edk...@li... Subject: RE: EDK 2 build process Hi, Qing, I assume that my path setting is fine. It is done by script edksetup.sh right? I attach my build log. Hope it can bring some help. QingPei Wang Storage Software Engineer Marvell Technology (Shanghai) Limited From: Huang, Qing [mailto:qin...@in...] Sent: Friday, July 30, 2010 10:15 AM To: Qingpei Wang; edk...@li... Subject: RE: EDK 2 build process Qingpei Trim is a python tool in BaseTools package. If the path is setting correctly, the make should invoke BaseTools/BinWrappers/Linix-i686/Trim (under 32-bit Linux), which will further invoke BaseToolsSource/Source/Python/Trim/Trim.py Could you please check the path setting? Thanks & Best regards, Huang, Qing From: Qingpei Wang [mailto:wa...@ma...] Sent: Friday, July 30, 2010 9:18 AM To: edk...@li... Subject: [edk2-buildtools] EDK 2 build process Hi all, I just started EFI things this week, I am so glad that EDK2 can support GCC building. But there seems have some problems for me. I take the advices from http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=Unix-like_systems the BaseTools setting are fine. But the make process always shows that "Make: Trim: Command not found" Did I miss certain package ? Which package contains the "Trim"? Any Suggestion would be appreciated. Best wishes.. QingPei Wang Storage Software Engineer Marvell Technology (Shanghai) Limited |
|
From: Huang, Q. <qin...@in...> - 2010-07-30 02:15:55
|
Qingpei Trim is a python tool in BaseTools package. If the path is setting correctly, the make should invoke BaseTools/BinWrappers/Linix-i686/Trim (under 32-bit Linux), which will further invoke BaseToolsSource/Source/Python/Trim/Trim.py Could you please check the path setting? Thanks & Best regards, Huang, Qing From: Qingpei Wang [mailto:wa...@ma...] Sent: Friday, July 30, 2010 9:18 AM To: edk...@li... Subject: [edk2-buildtools] EDK 2 build process Hi all, I just started EFI things this week, I am so glad that EDK2 can support GCC building. But there seems have some problems for me. I take the advices from http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=Unix-like_systems the BaseTools setting are fine. But the make process always shows that "Make: Trim: Command not found" Did I miss certain package ? Which package contains the "Trim"? Any Suggestion would be appreciated. Best wishes.. QingPei Wang Storage Software Engineer Marvell Technology (Shanghai) Limited |
|
From: Qingpei W. <wa...@ma...> - 2010-07-30 01:17:59
|
Hi all, I just started EFI things this week, I am so glad that EDK2 can support GCC building. But there seems have some problems for me. I take the advices from http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=Unix-like_systems the BaseTools setting are fine. But the make process always shows that "Make: Trim: Command not found" Did I miss certain package ? Which package contains the "Trim"? Any Suggestion would be appreciated. Best wishes.. QingPei Wang Storage Software Engineer Marvell Technology (Shanghai) Limited |
|
From: Huang, Q. <qin...@in...> - 2010-07-29 06:19:55
|
Hi, Chirag, Hacking build tools is the last approach to address such requirements. Could you please first try specifying additional build options (e.g. *_*_*_DLINK_FLAGS) in module INF or platform DSC files? Maybe you can take the example in edk2\Nt32Pkg\Sec\SecMain.inf. It forces to link additional windows libraries to generate the final image. Thanks & Best regards, Huang, Qing From: Chirag Shah [mailto:ce...@gm...] Sent: Thursday, July 29, 2010 2:01 PM To: edk...@li... Subject: [edk2-buildtools] Help with linking against a prebuilt library Hi, I have just started working with the EDK2 and am using the Beagle Board. I would like to link in a prebuilt library for some utilities and am not able to add it to any of the tags. I can bring in objects, sadly do not have the objects of the library that I want to link in. All of the makefiles are autogenerated and I am not as astute with python...have been trying to make changes to GenMake.py and AutoGen.py (specifically to the FileMacroList[]) to check if the library exists in a pre-defined location to add it from there. I would greatly appreciate any help.... Thanks in advance, Chirag |
|
From: Chirag S. <ce...@gm...> - 2010-07-29 06:01:36
|
Hi, I have just started working with the EDK2 and am using the Beagle Board. I would like to link in a prebuilt library for some utilities and am not able to add it to any of the tags. I can bring in objects, sadly do not have the objects of the library that I want to link in. All of the makefiles are autogenerated and I am not as astute with python...have been trying to make changes to GenMake.py and AutoGen.py (specifically to the FileMacroList[]) to check if the library exists in a pre-defined location to add it from there. I would greatly appreciate any help.... Thanks in advance, Chirag |
|
From: Huang, Q. <qin...@in...> - 2010-07-16 03:21:03
|
Andrew, This file should be the meta data database file, i.e. $(WORKSPACE)\Conf\.cache.db. This error occurs when we cannot open this database to write. Exclusively locked by other process? Thanks & Best regards, Huang, Qing -----Original Message----- From: Andrew Fish [mailto:af...@ap...] Sent: Friday, July 16, 2010 3:31 AM To: edk...@li... Cc: edk...@li... Subject: [edk2-buildtools] What file this this error referencing? Intermittently I see this error when running from a VMware Fusion 3.1.0 on OS X. What is the file causing this issue so I can investigate this issue, or find a fix? 12:27:32, Jul.15 2010 [Windows-XP-5.1.2600] WORKSPACE = c:\work\edk2tot ECP_SOURCE = c:\work\edk2tot\edkcompatibilitypkg EDK_SOURCE = c:\work\edk2tot\edkcompatibilitypkg EFI_SOURCE = c:\work\edk2tot EDK_TOOLS_PATH = c:\work\edk2tot\basetools build... : error C0DE: Unknown fatal error when processing [c:\work\edk2tot\MdeModulePkg\Universal\WatchdogTimerDxe\WatchdogTimer.inf] (Please send email to edk...@li... for help, attaching following call stack trace!) (Python 2.5.2 on win32) Traceback (most recent call last): File "build.py", line 1861, in Main File "build.py", line 1627, in Launch File "build.py", line 1462, in _MultiThreadBuildPlatform File "C:\NightlyTest\FreezeTool\BaseTools\Source\Python\AutoGen\AutoGen.py", line 82, in __new__ File "C:\NightlyTest\FreezeTool\BaseTools\Source\Python\AutoGen\AutoGen.py", line 185, in _Init File "C:\NightlyTest\FreezeTool\BaseTools\Source\Python\AutoGen\AutoGen.py", line 434, in CollectPlatformDynamicPcds File "C:\NightlyTest\FreezeTool\BaseTools\Source\Python\AutoGen\AutoGen.py", line 1812, in _GetModulePcdList File "C:\NightlyTest\FreezeTool\BaseTools\Source\Python\AutoGen\AutoGen.py", line 1363, in _GetModule File "C:\NightlyTest\FreezeTool\BaseTools\Source\Python\Workspace\WorkspaceDatabase.py", line 2083, in __getitem__ File "C:\NightlyTest\FreezeTool\BaseTools\Source\Python\Workspace\WorkspaceDatabase.py", line 2332, in __getitem__ File "C:\NightlyTest\FreezeTool\BaseTools\Source\Python\Workspace\MetaDataTable.py", line 65, in Create OperationalError: unable to open database file - Failed - 12:27:35, Jul.15 2010 [00:03] Andrew Fish ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ edk2-buildtools-devel mailing list edk...@li... https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel |