rtems gcc 4.6.1 can not compile stop at check TLS

Steven Grunza grunza at ulticom.com
Wed Aug 24 09:10:52 CDT 2011


You seem to be trying to build the compiler.  Why build the compiler
when you can use pre-built tools?  You seem to be using a Ubuntu host.
There is some work to be done in converting the .RPM files into .DEB
files for Ubuntu but the Wiki page has some information on it.  See
http://wiki.rtems.org/wiki/index.php/Debian_and_Ubuntu



-----Original Message-----
From: rtems-users-bounces at rtems.org
[mailto:rtems-users-bounces at rtems.org] On Behalf Of Xiangfu Liu
Sent: Wednesday, August 24, 2011 2:52 AM
To: RTEMS
Subject: Re: rtems gcc 4.6.1 can not compile stop at check TLS

On 08/24/2011 02:23 PM, Xiangfu Liu wrote:
> the configure commands is like:
>      (cd b-gcc/;\
>        ../gcc-$(GCC_CORE_VERSION)/configure --target=lm32-rtems4.11 \
>        --with-gnu-as --with-gnu-ld --with-newlib --verbose
--enable-threads \
>        --enable-languages="c" --disable-shared
--prefix=$(RTEMS_PREFIX); \
>       make all; \
>       make info; \
>      )
>
> more info see the attach makefile
>
> On 08/24/2011 01:51 PM, Xiangfu Liu wrote:
>> Hi
>>
>> I have tried compile lm32-rtems-gcc 4.6.1 with:
>> ubuntu 11.04 64bit with gcc-core-4.6.1-rtems4.11-20110621.diff
>> ubuntu 11.04 64bit with gcc-core-4.6.1-rtems4.11-20110715.diff
>> $ gcc --version
>> gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
>>
>>
>> debian 6 32bit with gcc-core-4.6.1-rtems4.11-20110621.diff
>> debian 6 32bit with gcc-core-4.6.1-rtems4.11-20110715.diff
>> $ gcc --version
>> gcc (Debian 4.3.2-1.1) 4.3.2
>>
>>
>> all of them stop at: "checking whether the target assembler supports
thread-local storage... "
>> then 'cc1' eat all memories and swap. system became very very slow
then.
>>
>> do I have to update my system gcc to 4.6.1? any help will be great.
>>
Hi

after install gcc 4.6.1 compile again. get same result. stop at
"checking whether the ..... "



_______________________________________________
rtems-users mailing list
rtems-users at rtems.org
http://www.rtems.org/mailman/listinfo/rtems-users




More information about the rtems-users mailing list