[Buildroot] AVR32 toolchain build failure

Thomas De Schampheleire patrickdepinguin+buildroot at gmail.com
Thu Aug 8 20:24:53 UTC 2013


On Thu, Aug 8, 2013 at 10:09 PM, Thomas De Schampheleire
<patrickdepinguin+buildroot at gmail.com> wrote:
> Hi Simon,
>
> On Thu, Aug 8, 2013 at 9:42 PM, Simon Dawson <spdawson at gmail.com> wrote:
>> Hi Thomas,
>>
>> On 8 August 2013 18:34, Thomas De Schampheleire
>> <patrickdepinguin+buildroot at gmail.com> wrote:
>>> That's interesting. I've tried building the atngw100_defconfig on
>>> 2013.05, 2013.02, and 2012.02, and none of them build successfully if
>>> I enable C++ support (nothing else changed).
>>> Could you send your config file for the working C++ build, then I can
>>> try here. Either there is some build system difference, or (more
>>> likely) there is a combination of config options that doesn't work.
>>
>> Oops. I had provided some misinformation, I'm afraid. I'm actually
>> using gcc 4.6 to build the toolchain --- I had forgotten that I'd
>> exported HOSTCC and HOSTCXX for the build.
>>
>> That probably explains why your builds fail...
>>
>
> So you are saying that if I upgrade my host gcc (the native one) to
> 4.6, that the cross AVR32 gcc will build successfully, and not suffer
> from the relocation truncation messages?
> Can you explain how this can happen, do you have more details?

By the way, my host gcc is:
$ gcc --version
gcc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



More information about the buildroot mailing list