[Buildroot] svn commit: trunk/buildroot/package

danieljlaird at hotmail.com danieljlaird at hotmail.com
Sat Nov 15 09:22:47 UTC 2008

We have some issues regarding this patch.
The problem is that buildroot when it builds its own compiler gets rpath etc 
setup properly.
If you try to build buildroot with an external toolchain then this fails and 
various issues are seen.

Currently Thomas and myself have posted various forms of a patch that tries 
to get buildroot working
with an external toolchain as both of us (I believe) require this 

The problem appears to be that if *-gcc is compiling to a object file then 
the --rpath-link options are not necessary and it complains.
currently however when gcc is doing the linking then it requires the --rpath 

I am not a gcc expert or a particular toolchain expert so I would love 
someone who might know to try and
help us on how to use an external toolchain with buildroot and the 
correct --rpath flags at the right time.

I have found some stuff on LD_RUN_PATH, maybe this could be used? any help 
is really appreciated,
it currently seems a shame that buildroot and external toolchain support is 
not quite as good as it could be!

daniel Laird
From: "Roberto A. Foglietta" <roberto.foglietta at gmail.com>
Sent: Saturday, November 15, 2008 6:06 AM
To: "Arnar Mar Sig" <antab at valka.is>
Cc: <buildroot at uclibc.org>
Subject: Re: [Buildroot] svn commit: trunk/buildroot/package

> 2008/11/12 Arnar Mar Sig <antab at valka.is>:
>> On Nov 12, 2008, at 8:55 AM, Thomas Petazzoni wrote:
>>> Le Tue, 11 Nov 2008 20:09:06 -0500,
>>> "hartleys" <hartleys at visionengravers.com> a écrit :
>>>> Each source file hit with CC produces a warning message. Everything
>>>> hit with LD is fine. Here's a snip of the output:
>>>> ...
>>>> LD      lib/zlib_inflate/zlib_inflate.o
>>>> LD      lib/zlib_inflate/built-in.o
>>>> CC      lib/audit.o
>>>> arm-linux-gcc: --rpath-link: linker input file unused because linking
>>>> not done
>>>> arm-linux-gcc: /home/bigguiness/buildroot/build_arm/staging_dir/lib:
>>>> linker input file unused because linking not done
>>>> arm-linux-gcc: --rpath-link: linker input file unused because linking
>>>> not done
>>>> arm-linux-gcc: /home/bigguiness/buildroot/build_arm/staging_dir/usr/
>>>> lib:
>>>> linker input file unused because linking not done
>>> Odd. I did try to build the kernel and didn't see this messages. I
>>> will
>>> try something else.
>>> Sincerly,
>>> Thomas
>> This also happen when building for AVR32.
> It happens in i586 too, please take a look to this report
> http://busybox.net/bugs/view.php?id=6324
> may be it is related with your changes.
> Ciao,
> -- 
> /roberto
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot

More information about the buildroot mailing list