Hi Guys , We are trying to enable LTO on our code base for clang(3.8) using gold linker , and we are stuck with below error bash-4.1$ /arm-install/bin/armeb-linux-gnueabi-ld.gold --be8 /arm-install/bin/armeb-linux-gnueabi-ld.gold: --be8: unknown option And found that ,Be8 (byte invariant addressing) is not supported in the gold linker, Questions is ,how do we go from here ? Do be8 format is very mandatory for armv7(big endian) ? Or we can proceed without –be8 option ?? Or What else options we have Any comments or suggestion are appreciated here guys ?? Thank you ~Umesh
On 18 May 2016 at 01:27, Umesh Kalappa via llvm-dev <llvm-dev at lists.llvm.org> wrote:> Do be8 format is very mandatory for armv7(big endian) ? Or we can > proceed without –be8 option ??You should be fine. It looks like gold does support big-endian on ARM, and the default is almost certainly BE8 (BE32 is widely regarded as a mistake best forgotten). Cheers. Tim.
Thank you Tim and Doug you said that BE8 is not supported and i'm bit confused now :( ~Umesh On Wed, May 18, 2016 at 7:16 PM, Tim Northover <t.p.northover at gmail.com> wrote:> On 18 May 2016 at 01:27, Umesh Kalappa via llvm-dev > <llvm-dev at lists.llvm.org> wrote: >> Do be8 format is very mandatory for armv7(big endian) ? Or we can >> proceed without –be8 option ?? > > You should be fine. It looks like gold does support big-endian on ARM, > and the default is almost certainly BE8 (BE32 is widely regarded as a > mistake best forgotten). > > Cheers. > > Tim.