[Buildroot] segfault when running a simple c program on env build with buildroot

Eial Czerwacki eial at scalemp.com
Thu Feb 9 15:16:51 UTC 2012


On 02/09/2012 05:09 PM, Thomas Petazzoni wrote:

> Le Thu, 09 Feb 2012 16:48:30 +0200,
> Eial Czerwacki <eial at scalemp.com> a écrit :
>
>> my buildroot config is attached and the version in use a snapshot from
>> the date 10/9/2011.
>
> What is your hardware platform?
>
> Thomas

any generic Intel/AMD cpu

On 02/09/2012 05:11 PM, Thomas Petazzoni wrote:

> Le Thu, 09 Feb 2012 16:48:30 +0200,
> Eial Czerwacki <eial at scalemp.com> a écrit :
> 
>> sh-4.1# gcc -o a test.c
> 
> You're using the native gcc on the target, while Buildroot is mostly
> designed for cross-compilation. Our native gcc on the target mechanism
> isn't used/tested a lot, so I would really recommend using the
> cross-compiler on the build machine to build your applications.
> 
> Thomas


I've compiled iasl, dmidecode and biosdecode with same image, you say
that I cannot do that?
I need the bin linked to uclibc and my desktop doesn't support uclibc

Thanks,

Eial.



More information about the buildroot mailing list