Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] gcc breaks when compiling in final-stage
@ 2007-08-02  9:10 Benjamin Tietz
  2007-08-02 18:02 ` Bernhard Fischer
  0 siblings, 1 reply; 4+ messages in thread
From: Benjamin Tietz @ 2007-08-02  9:10 UTC (permalink / raw)
  To: buildroot

Hi all,

when building the internal toolchain with, at least, gcc 4.1.2 it breaks
in the final stage. Complaining about that there is no rule to build
/usr/bin/i686-linux-uclibc-as. As you can see, there is the
$(STAGING_DIR) missing. Looking into the Makefile, it turns out that a
lot of variables named like ORIGINAL_(TOOL)_FOR_TARGET are defined that
way; replacing (TOOL) with AS, LD, NM. 
There where already installed into the correct lcation, under
$(STAGING_DIR)/usr/bin; just these variables are mistakenly generated.

What would be the fastest way to fix this?

regards
Benjamin

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

* [Buildroot] gcc breaks when compiling in final-stage
  2007-08-02  9:10 [Buildroot] gcc breaks when compiling in final-stage Benjamin Tietz
@ 2007-08-02 18:02 ` Bernhard Fischer
  2007-08-03 19:20   ` Benjamin Tietz
  0 siblings, 1 reply; 4+ messages in thread
From: Bernhard Fischer @ 2007-08-02 18:02 UTC (permalink / raw)
  To: buildroot

On Thu, Aug 02, 2007 at 11:10:21AM +0200, Benjamin Tietz wrote:
>Hi all,
>
>when building the internal toolchain with, at least, gcc 4.1.2 it breaks
>in the final stage. Complaining about that there is no rule to build
>/usr/bin/i686-linux-uclibc-as. As you can see, there is the
>$(STAGING_DIR) missing. Looking into the Makefile, it turns out that a
>lot of variables named like ORIGINAL_(TOOL)_FOR_TARGET are defined that
>way; replacing (TOOL) with AS, LD, NM. 
>There where already installed into the correct lcation, under
>$(STAGING_DIR)/usr/bin; just these variables are mistakenly generated.
>
>What would be the fastest way to fix this?

revert that ORIGINAL_(TOOL)_FOR_TARGET stuff.

Ulf, until this stuff works, please create yourself a branch to work on.

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

* [Buildroot] gcc breaks when compiling in final-stage
@ 2007-08-03  5:54 Ulf Samuelsson
  0 siblings, 0 replies; 4+ messages in thread
From: Ulf Samuelsson @ 2007-08-03  5:54 UTC (permalink / raw)
  To: buildroot



 11:10:21AM +0200, Benjamin Tietz wrote:
>Hi all,
>
>when building the internal toolchain with, at least, gcc 4.1.2 it breaks
>in the final stage. Complaining about that there is no rule to build
>/usr/bin/i686-linux-uclibc-as. As you can see, there is the
>$(STAGING_DIR) missing. Looking into the Makefile, it turns out that a
>lot of variables named like ORIGINAL_(TOOL)_FOR_TARGET are defined that
>way; replacing (TOOL) with AS, LD, NM. 
>There where already installed into the correct lcation, under
>$(STAGING_DIR)/usr/bin; just these variables are mistakenly generated.
>
>What would be the fastest way to fix this?

revert that ORIGINAL_(TOOL)_FOR_TARGET stuff.

Ulf, until this stuff works, please create yourself a branch to work on.

=> Did I do any change here?
     I don't think so.
     At least, I do not 
     remember it.

Best Regards
Ulf Samuelsson

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

* [Buildroot] gcc breaks when compiling in final-stage
  2007-08-02 18:02 ` Bernhard Fischer
@ 2007-08-03 19:20   ` Benjamin Tietz
  0 siblings, 0 replies; 4+ messages in thread
From: Benjamin Tietz @ 2007-08-03 19:20 UTC (permalink / raw)
  To: buildroot

On Thu, Aug 02, 2007 at 08:02:05PM +0200, Bernhard Fischer wrote:
> On Thu, Aug 02, 2007 at 11:10:21AM +0200, Benjamin Tietz wrote:
> >Hi all,
> >
> >when building the internal toolchain with, at least, gcc 4.1.2 it breaks
> >in the final stage. Complaining about that there is no rule to build
> >/usr/bin/i686-linux-uclibc-as. As you can see, there is the
> >$(STAGING_DIR) missing. Looking into the Makefile, it turns out that a
> >lot of variables named like ORIGINAL_(TOOL)_FOR_TARGET are defined that
> >way; replacing (TOOL) with AS, LD, NM. 
> >There where already installed into the correct lcation, under
> >$(STAGING_DIR)/usr/bin; just these variables are mistakenly generated.
> >
> >What would be the fastest way to fix this?
> 
> revert that ORIGINAL_(TOOL)_FOR_TARGET stuff.
> 
> Ulf, until this stuff works, please create yourself a branch to work on.

I'm sorry but on rereading my mail, I have to realize that I wasn't
clear enough.
those ORIGINAL_..._FOR_TARGET doesn't appear in the buildroots  Makefile
but in the Makefile of the gcc; exactly in
buildroot/toolchain_build_i686/gcc-4.2.1-final/gcc/Makefile.

I'm sorry for that mistake.
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
> 

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

end of thread, other threads:[~2007-08-03 19:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-02  9:10 [Buildroot] gcc breaks when compiling in final-stage Benjamin Tietz
2007-08-02 18:02 ` Bernhard Fischer
2007-08-03 19:20   ` Benjamin Tietz
  -- strict thread matches above, loose matches on Subject: below --
2007-08-03  5:54 Ulf Samuelsson

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