From mboxrd@z Thu Jan 1 00:00:00 1970 From: stefan_seefeld@mentor.com (Stefan Seefeld) Date: Thu, 27 Mar 2014 08:41:53 -0400 Subject: [lttng-dev] arm gcc compile lttng-tool fail In-Reply-To: References: Message-ID: <53341C91.3040602@mentor.com> On 2014-03-27 08:26, loody wrote: > hi all: > I try to compile lttng-tool for arm platform but get below message > > CC kernel-consumer.lo > kernel-consumer.c: In function 'lttng_kconsumer_snapshot_ > channel': > kernel-consumer.c:324:1: internal compiler error: in gen_movsi, at > config/arm/arm.md:5680 > > after ask gcc for help, they said this will be fixed in gcc 4.9.0 > http://gcc.gnu.org/ml/gcc-help/2014-03/msg00107.html > > the stable release version of gcc is 4.8.2. > Could I get the conclusion that no one can compile it for arm platform before? We have been working around this GCC 4.8 bug by disabling optimization on individual compilation units. Stefan -- Stefan Seefeld CodeSourcery / Mentor Embedded http://www.mentor.com/embedded-software/