Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Commit "Remove BR2_GNU_TARGET_SUFFIX and compute GNU_TARGET_NAME"
@ 2010-05-06 15:24 Quotient Remainder
  2010-05-06 16:06 ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Quotient Remainder @ 2010-05-06 15:24 UTC (permalink / raw)
  To: buildroot

http://git.buildroot.net/buildroot/commit/?id=65e80a0b0bf275e0ffdbb611706bec4b1b4719b1

This patch would seem to prevent Codesourcery toolchains from working.  They
use "arm-none-linux-gnueabi-*" (no $(LIB) part).
I suppose you can't take everyone into account but was just curious to know
if this was taken into account.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100506/e6078b97/attachment.htm>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] Commit "Remove BR2_GNU_TARGET_SUFFIX and compute GNU_TARGET_NAME"
  2010-05-06 15:24 [Buildroot] Commit "Remove BR2_GNU_TARGET_SUFFIX and compute GNU_TARGET_NAME" Quotient Remainder
@ 2010-05-06 16:06 ` Thomas Petazzoni
  2010-05-06 16:56   ` Quotient Remainder
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2010-05-06 16:06 UTC (permalink / raw)
  To: buildroot

On Thu, 6 May 2010 16:24:58 +0100
Quotient Remainder <quotientvremainder@gmail.com> wrote:

> http://git.buildroot.net/buildroot/commit/?id=65e80a0b0bf275e0ffdbb611706bec4b1b4719b1
> 
> This patch would seem to prevent Codesourcery toolchains from working.  They
> use "arm-none-linux-gnueabi-*" (no $(LIB) part).
> I suppose you can't take everyone into account but was just curious to know
> if this was taken into account.

The GNU target name is distinct from the toolchain prefix. For external
toolchains, the toolchain prefix is still configurable using the
BR2_TOOLCHAIN_EXTERNAL_PREFIX configuration option.

If you have any issue, could you post the corresponding build log
and .config file ?

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] Commit "Remove BR2_GNU_TARGET_SUFFIX and compute GNU_TARGET_NAME"
  2010-05-06 16:06 ` Thomas Petazzoni
@ 2010-05-06 16:56   ` Quotient Remainder
  2010-05-06 18:32     ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Quotient Remainder @ 2010-05-06 16:56 UTC (permalink / raw)
  To: buildroot

On Thu, May 6, 2010 at 5:06 PM, Thomas Petazzoni <
thomas.petazzoni@free-electrons.com> wrote:

> On Thu, 6 May 2010 16:24:58 +0100
> Quotient Remainder <quotientvremainder@gmail.com> wrote:
>
> >
> http://git.buildroot.net/buildroot/commit/?id=65e80a0b0bf275e0ffdbb611706bec4b1b4719b1
> >
> > This patch would seem to prevent Codesourcery toolchains from working.
>  They
> > use "arm-none-linux-gnueabi-*" (no $(LIB) part).
> > I suppose you can't take everyone into account but was just curious to
> know
> > if this was taken into account.
>
> The GNU target name is distinct from the toolchain prefix. For external
> toolchains, the toolchain prefix is still configurable using the
> BR2_TOOLCHAIN_EXTERNAL_PREFIX configuration option.
>
> If you have any issue, could you post the corresponding build log
> and .config file ?
>
>
The problem occurs at the configure stage of gdb (target):

checking build system type... i686-pc-linux-gnu
checking host system type... Invalid configuration
`arm-unknown-linux-glibcgnueabi': machine `arm-unknown-linux' not recognized

This is passed from the gdb.mk file to ./configure using the
REAL_GNU_TARGET_NAME variable, which gets its value from GNU_TARGET_NAME, as
calculated by the patch I'm highlighting.
Maybe this should be made conditional on not using an external toolchain?

I will provide .config and build output if required but don't think it is
necessary, let me know if I am wrong on this.  (Also is an attachment OK?
 .config is over 14 KiB).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100506/af076517/attachment.htm>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] Commit "Remove BR2_GNU_TARGET_SUFFIX and compute GNU_TARGET_NAME"
  2010-05-06 16:56   ` Quotient Remainder
@ 2010-05-06 18:32     ` Thomas Petazzoni
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2010-05-06 18:32 UTC (permalink / raw)
  To: buildroot

On Thu, 6 May 2010 17:56:38 +0100
Quotient Remainder <quotientvremainder@gmail.com> wrote:

> The problem occurs at the configure stage of gdb (target):
> 
> checking build system type... i686-pc-linux-gnu
> checking host system type... Invalid configuration
> `arm-unknown-linux-glibcgnueabi': machine `arm-unknown-linux' not recognized

Ok, reproduced. Fix implemented and being tested, should be sent to the
list soon. Thanks for letting us now about the issue!

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-05-06 18:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-06 15:24 [Buildroot] Commit "Remove BR2_GNU_TARGET_SUFFIX and compute GNU_TARGET_NAME" Quotient Remainder
2010-05-06 16:06 ` Thomas Petazzoni
2010-05-06 16:56   ` Quotient Remainder
2010-05-06 18:32     ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox