Re: v8 LTO build fails on arm-linux-gnueabihf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2015.04.06 at 04:01 +0530, Prathamesh Kulkarni wrote:
> On 6 April 2015 at 02:03, Prathamesh Kulkarni
> <prathamesh.kulkarni@xxxxxxxxxx> wrote:
> > Hi,
> > I tried to build v8 with LTO enabled on arm-linux-gnueabihf and got
> > following error
> > messages:
> >
> > /tmp/cckZwLk4.s: Assembler messages:
> > /tmp/cckZwLk4.s:30417: Error: offset out of range
> > /tmp/cckZwLk4.s:30563: Error: offset out of range
> > lto-wrapper: fatal error:
> > /home/prathamesh.kulkarni/arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++
> > returned 1 exit status
> > compilation terminated.
> >
> > Please find attached complete log, and changes to build/toolchain.gyi.
> >
> > GYP_DEFINES="v8_target_arch=arm arm_float_abi=hard clang=0
> > host_clang=0 linux_use_gold_flags=1 linux_use_bundled_gold=0
> > linux_use_bundled_binutils=0 werror="
> >
> > Thread model: posix
> > gcc version 5.0.0 20150330 (experimental) (GCC)
> >
> > Am I building it incorrectly or is this a GCC bug ?
> Build succeeds with LTO enabled with gcc-4.8.2 on native arm-linux-gnueabihf
> However with 4.9 fails with the same error messages from assembler
> (tried on native arm-linux-gnueabihf).

Looks like a gcc bug. You could try to reduce the issue:
https://gcc.gnu.org/wiki/A_guide_to_testcase_reduction#Reducing_LTO_bugs

-- 
Markus




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux