|
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
|