Re: [edk2] Status of gcc link time optimization for EDK2 use

2014-11-11 Thread Sergey Isakov
ared here > --strip-unneeded -R .eh_frame > d:\uefi\buildtest-016\edk2\Build\ArmPlatform\RELEASE_GCC49\AARCH64\ArmPlatformPkg\Bds\Bds\DEBUG\ArmPlatformBds.dll > GLOBAL_REMOVE_IF_UNREFERENCED const UINT16 > _gPcd_FixedAtBuild_PcdFdtDevicePath[1] = {0 }; > > Thanks, > S

Re: [edk2] Status of gcc link time optimization for EDK2 use

2014-11-10 Thread Scott Duplichan
\ArmPlatformBds.dll GLOBAL_REMOVE_IF_UNREFERENCED const UINT16 _gPcd_FixedAtBuild_PcdFdtDevicePath[1] = {0 }; Thanks, Scott From: Sergey Isakov [mailto:isakov...@bk.ru] Sent: Saturday, November 08, 2014 06:14 AM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] Status of gcc link time

Re: [edk2] Status of gcc link time optimization for EDK2 use

2014-11-10 Thread Scott Duplichan
--Original Message- From: Olivier Martin [mailto:olivier.mar...@arm.com] Sent: Monday, November 10, 2014 04:11 AM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] Status of gcc link time optimization for EDK2 use Interesting work, I also tried earlier this year, but I did not man

Re: [edk2] Status of gcc link time optimization for EDK2 use

2014-11-10 Thread Olivier Martin
_ From: Scott Duplichan [sc...@notabs.org] Sent: 07 November 2014 06:05 To: edk2-devel@lists.sourceforge.net Subject: [edk2] Status of gcc link time optimization for EDK2 use http://notabs.org/u

Re: [edk2] Status of gcc link time optimization for EDK2 use

2014-11-08 Thread Sergey Isakov
Did you like my workaround? :) GenC.py: ——— @@ -1077,6 +1071,9 @@ def CreateLibraryPcdCode(Info, AutoGenC, if PcdItemType == TAB_PCDS_FIXED_AT_BUILD or PcdItemType == TAB_PCDS_FEATURE_FLAG: key = ".".join((Pcd.TokenSpaceGuidCName,Pcd.TokenCName)) +if DatumType == 'V

Re: [edk2] Status of gcc link time optimization for EDK2 use

2014-11-08 Thread Sergey Isakov
Declaration VOID* is wrong initially. It comes from IntelFrameworkModulePkg.dec —— [PcdsFixedAtBuild, PcdsPatchableInModule] ## FFS filename to find the default BMP Logo file. # @Prompt FFS Name of Boot Logo File gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile |{ 0x99, 0x8b, 0xB2, 0x7B

Re: [edk2] Status of gcc link time optimization for EDK2 use

2014-11-07 Thread Sergey Isakov
On 08 нояб. 2014 г., at 0:08, Scott Duplichan wrote: > > AutoGen.h:50:20: warning: > type of '_gPcd_FixedAtBuild_PcdShellFile' does not match original declaration > extern const VOID* _gPcd_FixedAtBuild_PcdShellFile[]; > > AutoGen.c:277:43: note: previously declared here > GLOBAL_REMOVE_IF_UNR

Re: [edk2] Status of gcc link time optimization for EDK2 use

2014-11-07 Thread Sergey Isakov
ugin. > > Thanks, > Scott > > From: Sergey Isakov [mailto:isakov...@bk.ru] > Sent: Friday, November 07, 2014 10:53 PM > To: edk2-devel@lists.sourceforge.net > Subject: Re: [edk2] Status of gcc link time optimization for EDK2 use > > Hello Scott, > It’s a pity I can’t repe

Re: [edk2] Status of gcc link time optimization for EDK2 use

2014-11-07 Thread Scott Duplichan
By default no. -Jordan From: Sergey Isakov [ <mailto:isakov...@bk.ru> mailto:isakov...@bk.ru] Sent: Friday, November 07, 2014 07:06 AM To: <mailto:edk2-devel@lists.sourceforge.net> edk2-devel@lists.sourceforge.net Subject: Re: [edk2] Status of gcc link time optimization for EDK

Re: [edk2] Status of gcc link time optimization for EDK2 use

2014-11-07 Thread Sergey Isakov
Sergey Isakov [mailto:isakov...@bk.ru] > Sent: Friday, November 07, 2014 01:52 PM > To: edk2-devel@lists.sourceforge.net > Subject: Re: [edk2] Status of gcc link time optimization for EDK2 use > > Comments online > > On 07 нояб. 2014 г., at 22:20, Jordan Justen > wrote:

Re: [edk2] Status of gcc link time optimization for EDK2 use

2014-11-07 Thread Scott Duplichan
ts.sourceforge.net> Subject: Re: [edk2] Status of gcc link time optimization for EDK2 use It is very interesting and I hope someone can apply this to EDK2. I failed. I created gcc-4.9.2 for linux-gnu target with --enable-plugin. And binutils with --enable-plugins. Success. But o

Re: [edk2] Status of gcc link time optimization for EDK2 use

2014-11-07 Thread Scott Duplichan
gt; Sent: Friday, November 07, 2014 07:06 AM > To: edk2-devel@lists.sourceforge.net > Subject: Re: [edk2] Status of gcc link time optimization for EDK2 use > > > > It is very interesting and I hope someone can apply this to EDK2. I failed. > > I created gcc-4.9.2 for li

Re: [edk2] Status of gcc link time optimization for EDK2 use

2014-11-07 Thread Sergey Isakov
ese: > * Convert GCC49 to LTO only > * Wait for GCC50 to enable LTO > * Add GCC49LTO I think it may be like conditional compilation ./build.sh -D WITH_LTO By default no. > > -Jordan > >> From: Sergey Isakov [mailto:isakov...@bk.ru] >> Sent: Friday, November 07, 2014 07:06

Re: [edk2] Status of gcc link time optimization for EDK2 use

2014-11-07 Thread Jordan Justen
nk we should do one of these: * Convert GCC49 to LTO only * Wait for GCC50 to enable LTO * Add GCC49LTO -Jordan > From: Sergey Isakov [mailto:isakov...@bk.ru] > Sent: Friday, November 07, 2014 07:06 AM > To: edk2-devel@lists.sourceforge.net > Subject: Re: [edk2] Status of gcc link tim

Re: [edk2] Status of gcc link time optimization for EDK2 use

2014-11-07 Thread Sergey Isakov
] > Sent: Friday, November 07, 2014 07:06 AM > To: edk2-devel@lists.sourceforge.net > Subject: Re: [edk2] Status of gcc link time optimization for EDK2 use > > It is very interesting and I hope someone can apply this to EDK2. I failed. > I created gcc-4.9.2 for linux-gnu target wit

Re: [edk2] Status of gcc link time optimization for EDK2 use

2014-11-07 Thread Scott Duplichan
] Sent: Friday, November 07, 2014 07:06 AM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] Status of gcc link time optimization for EDK2 use It is very interesting and I hope someone can apply this to EDK2. I failed. I created gcc-4.9.2 for linux-gnu target with --enable-plugin. And

Re: [edk2] Status of gcc link time optimization for EDK2 use

2014-11-07 Thread Sergey Isakov
It is very interesting and I hope someone can apply this to EDK2. I failed. I created gcc-4.9.2 for linux-gnu target with --enable-plugin. And binutils with --enable-plugins. Success. But option -flto brakes building. This advice - 2) Use gcc to launch the ld instead of invoking ld direct

[edk2] Status of gcc link time optimization for EDK2 use

2014-11-06 Thread Scott Duplichan
http://notabs.org/uefi/gcc-lto.htm Thanks, Scott -- ___ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel