public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* GenFv error 3000 building OvmfPkg X64 RELEASE
@ 2016-11-09 17:46 Bruce Cran
  2016-11-10  0:37 ` Wu, Hao A
  0 siblings, 1 reply; 3+ messages in thread
From: Bruce Cran @ 2016-11-09 17:46 UTC (permalink / raw)
  To: edk2-devel

I'm getting a failure when building (with gcc 6.2.1) OVMF X64 RELEASE 
(DEBUG builds fine) with the latest edk2 git master:

 > ./OvmfPkg/build.sh -a X64 -t GCC49 -b RELEASE

.....

Generating PEIFV FV
###################################
Generate Region at Offset 0x100000
    Region Size = 0xA00000
    Region Name = FV

Generating DXEFV FV
########################################
########################################
########################################
########################################
########################################
########################################
########################################
########################################
###########Return Value = 2


GenFv: ERROR 3000: Invalid
GenFds.py...
   RelocateImage() call failed on rebase of 
/home/bcran/workspace/edk2/Build/OvmfX64/RELEASE_GCC49/FV/Ffs/F6697AC4-A776-4EE1-B643-1FEFF2B615BBIncompatiblePciDeviceSupportDxe/F6697AC4-A776-4EE1-B643-1FEFF2B615BB.ffs
  : error 7000: Failed to generate FV
GenFv: ERROR 3000: Invalid

   Could not rebase 
/home/bcran/workspace/edk2/Build/OvmfX64/RELEASE_GCC49/FV/Ffs/F6697AC4-A776-4EE1-B643-1FEFF2B615BBIncompatiblePciDeviceSupportDxe/F6697AC4-A776-4EE1-B643-1FEFF2B615BB.ffs.


### ['GenFv', '-a', 
'/home/bcran/workspace/edk2/Build/OvmfX64/RELEASE_GCC49/FV/Ffs/DXEFV.inf', 
'-o', 
'/home/bcran/workspace/edk2/Build/OvmfX64/RELEASE_GCC49/FV/DXEFV.Fv', 
'-i', '/home/bcran/workspace/edk2/Build/OvmfX64/RELEASE_GCC49/FV/DXEFV.inf']


build.py...
  : error 7000: Failed to execute command
         GenFds -f /home/bcran/workspace/edk2/OvmfPkg/OvmfPkgX64.fdf 
--conf=/home/bcran/workspace/edk2/Conf -o 
/home/bcran/workspace/edk2/Build/OvmfX64/RELEASE_GCC49 -t GCC49 -b 
RELEASE -p /home/bcran/workspace/edk2/OvmfPkg/OvmfPkgX64.dsc -a X64 -D 
"EFI_SOURCE=/home/bcran/workspace/edk2/EdkCompatibilityPkg" -D 
"EDK_SOURCE=/home/bcran/workspace/edk2/EdkCompatibilityPkg" -D 
"TOOL_CHAIN_TAG=GCC49" -D "TOOLCHAIN=GCC49" -D "TARGET=RELEASE" -D 
"FAMILY=GCC" -D "WORKSPACE=/home/bcran/workspace/edk2" -D 
"EDK_TOOLS_PATH=/home/bcran/workspace/edk2/BaseTools" -D "ARCH=X64" -D 
"ECP_SOURCE=/home/bcran/workspace/edk2/EdkCompatibilityPkg" 
[/mnt/bcran/workspace/edk2]

- Failed -
Build end time: 10:42:33, Nov.09 2016
Build total time: 00:01:24

-- 
Bruce



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: GenFv error 3000 building OvmfPkg X64 RELEASE
  2016-11-09 17:46 GenFv error 3000 building OvmfPkg X64 RELEASE Bruce Cran
@ 2016-11-10  0:37 ` Wu, Hao A
  2016-11-10 15:50   ` Bruce Cran
  0 siblings, 1 reply; 3+ messages in thread
From: Wu, Hao A @ 2016-11-10  0:37 UTC (permalink / raw)
  To: Bruce Cran, edk2-devel@lists.01.org

Hi Cran,

This issue was introduced by commit 2ff3293. And it has been fixed via
commit 49d8f53.

Could you help to update the repository and see whether this issue still
exists? Thanks in advance.

Best Regards,
Hao Wu

> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Bruce
> Cran
> Sent: Thursday, November 10, 2016 1:46 AM
> To: edk2-devel@lists.01.org
> Subject: [edk2] GenFv error 3000 building OvmfPkg X64 RELEASE
> 
> I'm getting a failure when building (with gcc 6.2.1) OVMF X64 RELEASE
> (DEBUG builds fine) with the latest edk2 git master:
> 
>  > ./OvmfPkg/build.sh -a X64 -t GCC49 -b RELEASE
> 
> .....
> 
> Generating PEIFV FV
> ###################################
> Generate Region at Offset 0x100000
>     Region Size = 0xA00000
>     Region Name = FV
> 
> Generating DXEFV FV
> ########################################
> ########################################
> ########################################
> ########################################
> ########################################
> ########################################
> ########################################
> ########################################
> ###########Return Value = 2
> 
> 
> GenFv: ERROR 3000: Invalid
> GenFds.py...
>    RelocateImage() call failed on rebase of
> /home/bcran/workspace/edk2/Build/OvmfX64/RELEASE_GCC49/FV/Ffs/F6697A
> C4-A776-4EE1-B643-
> 1FEFF2B615BBIncompatiblePciDeviceSupportDxe/F6697AC4-A776-4EE1-B643-
> 1FEFF2B615BB.ffs
>   : error 7000: Failed to generate FV
> GenFv: ERROR 3000: Invalid
> 
>    Could not rebase
> /home/bcran/workspace/edk2/Build/OvmfX64/RELEASE_GCC49/FV/Ffs/F6697A
> C4-A776-4EE1-B643-
> 1FEFF2B615BBIncompatiblePciDeviceSupportDxe/F6697AC4-A776-4EE1-B643-
> 1FEFF2B615BB.ffs.
> 
> 
> ### ['GenFv', '-a',
> '/home/bcran/workspace/edk2/Build/OvmfX64/RELEASE_GCC49/FV/Ffs/DXEFV.
> inf',
> '-o',
> '/home/bcran/workspace/edk2/Build/OvmfX64/RELEASE_GCC49/FV/DXEFV.Fv',
> '-i',
> '/home/bcran/workspace/edk2/Build/OvmfX64/RELEASE_GCC49/FV/DXEFV.inf']
> 
> 
> build.py...
>   : error 7000: Failed to execute command
>          GenFds -f /home/bcran/workspace/edk2/OvmfPkg/OvmfPkgX64.fdf
> --conf=/home/bcran/workspace/edk2/Conf -o
> /home/bcran/workspace/edk2/Build/OvmfX64/RELEASE_GCC49 -t GCC49 -b
> RELEASE -p /home/bcran/workspace/edk2/OvmfPkg/OvmfPkgX64.dsc -a X64 -D
> "EFI_SOURCE=/home/bcran/workspace/edk2/EdkCompatibilityPkg" -D
> "EDK_SOURCE=/home/bcran/workspace/edk2/EdkCompatibilityPkg" -D
> "TOOL_CHAIN_TAG=GCC49" -D "TOOLCHAIN=GCC49" -D "TARGET=RELEASE" -
> D
> "FAMILY=GCC" -D "WORKSPACE=/home/bcran/workspace/edk2" -D
> "EDK_TOOLS_PATH=/home/bcran/workspace/edk2/BaseTools" -D "ARCH=X64"
> -D
> "ECP_SOURCE=/home/bcran/workspace/edk2/EdkCompatibilityPkg"
> [/mnt/bcran/workspace/edk2]
> 
> - Failed -
> Build end time: 10:42:33, Nov.09 2016
> Build total time: 00:01:24
> 
> --
> Bruce
> 
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: GenFv error 3000 building OvmfPkg X64 RELEASE
  2016-11-10  0:37 ` Wu, Hao A
@ 2016-11-10 15:50   ` Bruce Cran
  0 siblings, 0 replies; 3+ messages in thread
From: Bruce Cran @ 2016-11-10 15:50 UTC (permalink / raw)
  To: Wu, Hao A, edk2-devel@lists.01.org

On 11/9/2016 5:37 PM, Wu, Hao A wrote:

> This issue was introduced by commit 2ff3293. And it has been fixed via
> commit 49d8f53.
>
> Could you help to update the repository and see whether this issue still
> exists? Thanks in advance.

Thanks - after rebuilding BaseTools and regenerating the files in Conf 
the problem has been fixed.

-- 
Bruce


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-11-10 15:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-09 17:46 GenFv error 3000 building OvmfPkg X64 RELEASE Bruce Cran
2016-11-10  0:37 ` Wu, Hao A
2016-11-10 15:50   ` Bruce Cran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox