Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-07-29 17:43 ulf at uclibc.org
  2007-07-30  7:21 ` Bernhard Fischer
  0 siblings, 1 reply; 11+ messages in thread
From: ulf at uclibc.org @ 2007-07-29 17:43 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-07-29 10:43:50 -0700 (Sun, 29 Jul 2007)
New Revision: 19332

Log:
gcc target config for AVR32

Modified:
   trunk/buildroot/toolchain/gcc/Config.in.2


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in.2
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in.2	2007-07-29 17:40:42 UTC (rev 19331)
+++ trunk/buildroot/toolchain/gcc/Config.in.2	2007-07-29 17:43:50 UTC (rev 19332)
@@ -5,9 +5,20 @@
 	  If you want the target system to be able to run 
 	  binutils/gcc and compile native code, say Y here.
 
+config BR2_GCC_TARGET_AVR32_CONFIGURATION
+	bool "Enable default AVR32 GCC configuration"
+	default y
+	depends BR2_avr32 && BR2_PACKAGE_GCC_TARGET
+	help
+	  For the AVR32 platform there is some configuration which are not
+	  supported.
+
+	  Currently this will add "--disable-libmudflap" to configure.
+
 config BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS
 	string "Additional target gcc options"
 	default ""
+	depends BR2_PACKAGE_GCC_TARGET
 	help
 	  Any additional target gcc options you may want to include....
 	  Including, but not limited to --disable-checking etc.

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-07-29 17:43 [Buildroot] svn commit: trunk/buildroot/toolchain/gcc ulf at uclibc.org
@ 2007-07-30  7:21 ` Bernhard Fischer
  2007-07-30  7:53   ` Hans-Christian Egtvedt
  2007-07-30 14:25   ` [Buildroot] svn commit: trunk/buildroot/toolchain/gcc Ulf Samuelsson
  0 siblings, 2 replies; 11+ messages in thread
From: Bernhard Fischer @ 2007-07-30  7:21 UTC (permalink / raw)
  To: buildroot

On Sun, Jul 29, 2007 at 10:43:50AM -0700, ulf at uclibc.org wrote:
>Author: ulf
>Date: 2007-07-29 10:43:50 -0700 (Sun, 29 Jul 2007)
>New Revision: 19332
>
>Log:
>gcc target config for AVR32
>
>Modified:
>   trunk/buildroot/toolchain/gcc/Config.in.2
>
>
>Changeset:
>Modified: trunk/buildroot/toolchain/gcc/Config.in.2
>===================================================================
>--- trunk/buildroot/toolchain/gcc/Config.in.2	2007-07-29 17:40:42 UTC (rev 19331)
>+++ trunk/buildroot/toolchain/gcc/Config.in.2	2007-07-29 17:43:50 UTC (rev 19332)
>@@ -5,9 +5,20 @@
> 	  If you want the target system to be able to run 
> 	  binutils/gcc and compile native code, say Y here.
> 
>+config BR2_GCC_TARGET_AVR32_CONFIGURATION
>+	bool "Enable default AVR32 GCC configuration"
>+	default y
>+	depends BR2_avr32 && BR2_PACKAGE_GCC_TARGET
>+	help
>+	  For the AVR32 platform there is some configuration which are not
>+	  supported.
>+
>+	  Currently this will add "--disable-libmudflap" to configure.
>+

I object to this change.
Please explain why you don't just add disable-mudflap if the target arch
is BR2_avr32

> config BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS
> 	string "Additional target gcc options"
> 	default ""
>+	depends BR2_PACKAGE_GCC_TARGET
> 	help
> 	  Any additional target gcc options you may want to include....
> 	  Including, but not limited to --disable-checking etc.

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-07-30  7:21 ` Bernhard Fischer
@ 2007-07-30  7:53   ` Hans-Christian Egtvedt
  2007-07-30  8:39     ` Bernhard Fischer
  2007-07-30 14:25   ` [Buildroot] svn commit: trunk/buildroot/toolchain/gcc Ulf Samuelsson
  1 sibling, 1 reply; 11+ messages in thread
From: Hans-Christian Egtvedt @ 2007-07-30  7:53 UTC (permalink / raw)
  To: buildroot


On Mon, 2007-07-30 at 09:21 +0200, Bernhard Fischer wrote:
> On Sun, Jul 29, 2007 at 10:43:50AM -0700, ulf at uclibc.org wrote:

<cut patch info header>

> >+config BR2_GCC_TARGET_AVR32_CONFIGURATION
> >+	bool "Enable default AVR32 GCC configuration"
> >+	default y
> >+	depends BR2_avr32 && BR2_PACKAGE_GCC_TARGET
> >+	help
> >+	  For the AVR32 platform there is some configuration which are not
> >+	  supported.
> >+
> >+	  Currently this will add "--disable-libmudflap" to configure.
> >+
> 
> I object to this change.
> Please explain why you don't just add disable-mudflap if the target arch
> is BR2_avr32

So a little patch to alter the toolchain/gcc/Makefile.in to modify
EXTRA_TARGET_GCC_CONFIG_OPTIONS when ARCH is avr32 is a clean and nice
solution?

And remove this stuff from Config.in.2?

If the solution above, I agree.

> > config BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS
> > 	string "Additional target gcc options"
> > 	default ""
> >+	depends BR2_PACKAGE_GCC_TARGET
> > 	help
> > 	  Any additional target gcc options you may want to include....
> > 	  Including, but not limited to --disable-checking etc.

-- 
Regards
Hans-Christian Egtvedt

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-07-30  7:53   ` Hans-Christian Egtvedt
@ 2007-07-30  8:39     ` Bernhard Fischer
  2007-07-30  9:14       ` Hans-Christian Egtvedt
  0 siblings, 1 reply; 11+ messages in thread
From: Bernhard Fischer @ 2007-07-30  8:39 UTC (permalink / raw)
  To: buildroot

On Mon, Jul 30, 2007 at 09:53:08AM +0200, Hans-Christian Egtvedt wrote:
>
>On Mon, 2007-07-30 at 09:21 +0200, Bernhard Fischer wrote:
>> On Sun, Jul 29, 2007 at 10:43:50AM -0700, ulf at uclibc.org wrote:
>
><cut patch info header>
>
>> >+config BR2_GCC_TARGET_AVR32_CONFIGURATION
>> >+	bool "Enable default AVR32 GCC configuration"
>> >+	default y
>> >+	depends BR2_avr32 && BR2_PACKAGE_GCC_TARGET
>> >+	help
>> >+	  For the AVR32 platform there is some configuration which are not
>> >+	  supported.
>> >+
>> >+	  Currently this will add "--disable-libmudflap" to configure.
>> >+
>> 
>> I object to this change.
>> Please explain why you don't just add disable-mudflap if the target arch
>> is BR2_avr32
>
>So a little patch to alter the toolchain/gcc/Makefile.in to modify
>EXTRA_TARGET_GCC_CONFIG_OPTIONS when ARCH is avr32 is a clean and nice
>solution?
>
>And remove this stuff from Config.in.2?

exactly, yes.
>
>If the solution above, I agree.
>
>> > config BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS
>> > 	string "Additional target gcc options"
>> > 	default ""
>> >+	depends BR2_PACKAGE_GCC_TARGET
>> > 	help
>> > 	  Any additional target gcc options you may want to include....
>> > 	  Including, but not limited to --disable-checking etc.

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-07-30  8:39     ` Bernhard Fischer
@ 2007-07-30  9:14       ` Hans-Christian Egtvedt
  2007-07-30  9:21         ` Bernhard Fischer
  0 siblings, 1 reply; 11+ messages in thread
From: Hans-Christian Egtvedt @ 2007-07-30  9:14 UTC (permalink / raw)
  To: buildroot


On Mon, 2007-07-30 at 10:39 +0200, Bernhard Fischer wrote:
> On Mon, Jul 30, 2007 at 09:53:08AM +0200, Hans-Christian Egtvedt wrote:
> >
> >On Mon, 2007-07-30 at 09:21 +0200, Bernhard Fischer wrote:
> >> On Sun, Jul 29, 2007 at 10:43:50AM -0700, ulf at uclibc.org wrote:

<cut AVR32 configuration menu option>

> >> I object to this change.
> >> Please explain why you don't just add disable-mudflap if the target arch
> >> is BR2_avr32
> >
> >So a little patch to alter the toolchain/gcc/Makefile.in to modify
> >EXTRA_TARGET_GCC_CONFIG_OPTIONS when ARCH is avr32 is a clean and nice
> >solution?
> >
> >And remove this stuff from Config.in.2?
> 
> exactly, yes.

Please see the included patch.

-- 
Mvh
Hans-Christian Egtvedt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: simplify-avr32-gcc-configuration.patch
Type: text/x-patch
Size: 2185 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20070730/f3d7bec5/attachment.bin 

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-07-30  9:14       ` Hans-Christian Egtvedt
@ 2007-07-30  9:21         ` Bernhard Fischer
  2007-07-30 10:19           ` Hans-Christian Egtvedt
  0 siblings, 1 reply; 11+ messages in thread
From: Bernhard Fischer @ 2007-07-30  9:21 UTC (permalink / raw)
  To: buildroot

On Mon, Jul 30, 2007 at 11:14:41AM +0200, Hans-Christian Egtvedt wrote:
>
>On Mon, 2007-07-30 at 10:39 +0200, Bernhard Fischer wrote:
>> On Mon, Jul 30, 2007 at 09:53:08AM +0200, Hans-Christian Egtvedt wrote:
>> >
>> >On Mon, 2007-07-30 at 09:21 +0200, Bernhard Fischer wrote:
>> >> On Sun, Jul 29, 2007 at 10:43:50AM -0700, ulf at uclibc.org wrote:
>
><cut AVR32 configuration menu option>
>
>> >> I object to this change.
>> >> Please explain why you don't just add disable-mudflap if the target arch
>> >> is BR2_avr32
>> >
>> >So a little patch to alter the toolchain/gcc/Makefile.in to modify
>> >EXTRA_TARGET_GCC_CONFIG_OPTIONS when ARCH is avr32 is a clean and nice
>> >solution?
>> >
>> >And remove this stuff from Config.in.2?
>> 
>> exactly, yes.
>
>Please see the included patch.
>
>-- 
>Mvh
>Hans-Christian Egtvedt

>diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in
>index 2c47f12..648ae7d 100644
>--- a/toolchain/gcc/Config.in
>+++ b/toolchain/gcc/Config.in
>@@ -140,16 +135,6 @@ config BR2_GCC_USE_SJLJ_EXCEPTIONS
> 	  proper stack unwinding during exception handling.  Most people
> 	  can leave this set to n.
> 
>-config BR2_GCC_AVR32_CONFIGURATION
>-	bool "Enable default AVR32 GCC configuration"
>-	default y
>-	depends BR2_avr32
>-	help
>-	  For the AVR32 platform there is some configuration which are not
>-	  supported.
>-
>-	  Currently this will add "--disable-libmudflap" to configure.
>-
> config BR2_EXTRA_GCC_CONFIG_OPTIONS
> 	string "Additional gcc options"
> 	default ""
>diff --git a/toolchain/gcc/Config.in.2 b/toolchain/gcc/Config.in.2
>index 0b209ec..e556392 100644
>--- a/toolchain/gcc/Config.in.2
>+++ b/toolchain/gcc/Config.in.2
>@@ -2,19 +2,9 @@ config BR2_PACKAGE_GCC_TARGET
> 	bool "native toolchain in the target filesystem"
> 	default n
> 	help
>-	  If you want the target system to be able to run 
>+	  If you want the target system to be able to run
> 	  binutils/gcc and compile native code, say Y here.
> 
>-config BR2_GCC_TARGET_AVR32_CONFIGURATION
>-	bool "Enable default AVR32 GCC configuration"
>-	default y
>-	depends BR2_avr32 && BR2_PACKAGE_GCC_TARGET
>-	help
>-	  For the AVR32 platform there is some configuration which are not
>-	  supported.
>-
>-	  Currently this will add "--disable-libmudflap" to configure.
>-
> config BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS
> 	string "Additional target gcc options"
> 	default ""
>diff --git a/toolchain/gcc/Makefile.in b/toolchain/gcc/Makefile.in
>index ec14b25..b087eb2 100644
>--- a/toolchain/gcc/Makefile.in
>+++ b/toolchain/gcc/Makefile.in
>@@ -12,7 +12,7 @@ EXTRA_GCC_CONFIG_OPTIONS:=$(strip $(subst ",, $(BR2_EXTRA_GCC_CONFIG_OPTIONS)))
> #"))
> 
> # AVR32 GCC configuration
>-ifeq ($(strip $(BR2_GCC_AVR32_CONFIGURATION)),y)
>+ifeq ($(strip $(BR2_avr32)),y)
> EXTRA_GCC_CONFIG_OPTIONS+=--disable-libmudflap
> endif

This is the cross-compiler, isn't it? Why do you need to disable mudflap
for the cross-compiler unconditionally?

Other than that it's ok to apply.

thanks,
> 
>@@ -86,7 +86,7 @@ endif
> endif # BR2_PREFER_IMA=y
> 
> # AVR32 target GCC configuration
>-ifeq ($(strip $(BR2_GCC_TARGET_AVR32_CONFIGURATION)),y)
>+ifeq ($(strip $(BR2_avr32)),y)
> EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--disable-libmudflap
> endif
> 

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-07-30  9:21         ` Bernhard Fischer
@ 2007-07-30 10:19           ` Hans-Christian Egtvedt
  2007-07-30 10:32             ` Bernhard Fischer
  0 siblings, 1 reply; 11+ messages in thread
From: Hans-Christian Egtvedt @ 2007-07-30 10:19 UTC (permalink / raw)
  To: buildroot


On Mon, 2007-07-30 at 11:21 +0200, Bernhard Fischer wrote:
> On Mon, Jul 30, 2007 at 11:14:41AM +0200, Hans-Christian Egtvedt wrote:
> >
> >On Mon, 2007-07-30 at 10:39 +0200, Bernhard Fischer wrote:
> >> On Mon, Jul 30, 2007 at 09:53:08AM +0200, Hans-Christian Egtvedt wrote:
> >> >
> >> >On Mon, 2007-07-30 at 09:21 +0200, Bernhard Fischer wrote:
> >> >> On Sun, Jul 29, 2007 at 10:43:50AM -0700, ulf at uclibc.org wrote:

<cut>

> > config BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS
> > 	string "Additional target gcc options"
> > 	default ""
> >diff --git a/toolchain/gcc/Makefile.in b/toolchain/gcc/Makefile.in
> >index ec14b25..b087eb2 100644
> >--- a/toolchain/gcc/Makefile.in
> >+++ b/toolchain/gcc/Makefile.in
> >@@ -12,7 +12,7 @@ EXTRA_GCC_CONFIG_OPTIONS:=$(strip $(subst ",, $(BR2_EXTRA_GCC_CONFIG_OPTIONS)))
> > #"))
> > 
> > # AVR32 GCC configuration
> >-ifeq ($(strip $(BR2_GCC_AVR32_CONFIGURATION)),y)
> >+ifeq ($(strip $(BR2_avr32)),y)
> > EXTRA_GCC_CONFIG_OPTIONS+=--disable-libmudflap
> > endif
> 
> This is the cross-compiler, isn't it? Why do you need to disable mudflap
> for the cross-compiler unconditionally?

Because libmudflap does not build for AVR32 arch.

> Other than that it's ok to apply.

<cut>

-- 
Regards
Hans-Christian Egtvedt

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-07-30 10:19           ` Hans-Christian Egtvedt
@ 2007-07-30 10:32             ` Bernhard Fischer
  2007-07-30 10:41               ` Hans-Christian Egtvedt
  0 siblings, 1 reply; 11+ messages in thread
From: Bernhard Fischer @ 2007-07-30 10:32 UTC (permalink / raw)
  To: buildroot

On Mon, Jul 30, 2007 at 12:19:35PM +0200, Hans-Christian Egtvedt wrote:
>
>On Mon, 2007-07-30 at 11:21 +0200, Bernhard Fischer wrote:

>> > # AVR32 GCC configuration
>> >-ifeq ($(strip $(BR2_GCC_AVR32_CONFIGURATION)),y)
>> >+ifeq ($(strip $(BR2_avr32)),y)
>> > EXTRA_GCC_CONFIG_OPTIONS+=--disable-libmudflap
>> > endif
>> 
>> This is the cross-compiler, isn't it? Why do you need to disable mudflap
>> for the cross-compiler unconditionally?
>
>Because libmudflap does not build for AVR32 arch.

http://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=WAITING&bug_status=SUSPENDED&field0-0-0=product&type0-0-0=substring&value0-0-0=mudflap&field0-0-1=component&type0-0-1=substring&value0-0-1=mudflap&field0-0-2=short_desc&type0-0-2=substring&value0-0-2=mudflap&field0-0-3=status_whiteboard&type0-0-3=substring&value0-0-3=mudflap&field1-0-0=product&type1-0-0=substring&value1-0-0=avr32&field1-0-1=component&type1-0-1=substring&value1-0-1=avr32&field1-0-2=short_desc&type1-0-2=substring&value1-0-2=avr32&field1-0-3=status_whiteboard&type1-0-3=substring&value1-0-3=avr32

Can't seem to find a PR about this brokenness?

kind regards,
Bernhard

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-07-30 10:32             ` Bernhard Fischer
@ 2007-07-30 10:41               ` Hans-Christian Egtvedt
  2007-07-30 12:21                 ` [Buildroot] Kernel compilation fails while using uclibc toolchain Gabbar Singh
  0 siblings, 1 reply; 11+ messages in thread
From: Hans-Christian Egtvedt @ 2007-07-30 10:41 UTC (permalink / raw)
  To: buildroot


On Mon, 2007-07-30 at 12:32 +0200, Bernhard Fischer wrote:
> On Mon, Jul 30, 2007 at 12:19:35PM +0200, Hans-Christian Egtvedt wrote:
> >
> >On Mon, 2007-07-30 at 11:21 +0200, Bernhard Fischer wrote:
> 
> >> > # AVR32 GCC configuration
> >> >-ifeq ($(strip $(BR2_GCC_AVR32_CONFIGURATION)),y)
> >> >+ifeq ($(strip $(BR2_avr32)),y)
> >> > EXTRA_GCC_CONFIG_OPTIONS+=--disable-libmudflap
> >> > endif
> >> 
> >> This is the cross-compiler, isn't it? Why do you need to disable mudflap
> >> for the cross-compiler unconditionally?
> >
> >Because libmudflap does not build for AVR32 arch.
> 
> http://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=WAITING&bug_status=SUSPENDED&field0-0-0=product&type0-0-0=substring&value0-0-0=mudflap&field0-0-1=component&type0-0-1=substring&value0-0-1=mudflap&field0-0-2=short_desc&type0-0-2=substring&value0-0-2=mudflap&field0-0-3=status_whiteboard&type0-0-3=substring&value0-0-3=mudflap&field1-0-0=product&type1-0-0=substring&value1-0-0=avr32&field1-0-1=component&type1-0-1=substring&value1-0-1=avr32&field1-0-2=short_desc&type1-0-2=substring&value1-0-2=avr32&field1-0-3=status_whiteboard&type1-0-3=substring&value1-0-3=avr32
> 
> Can't seem to find a PR about this brokenness?

There is a very easy answer to that, AVR32 architecture is not supported
by upstream GCC (yet).

The same goes for binutils and uClibc.

Hence the discussion at the end of last week about Buildroot size after
adding the AVR32 patches.

-- 
Mvh
Hans-Christian Egtvedt

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

* [Buildroot] Kernel compilation fails while using uclibc toolchain
  2007-07-30 10:41               ` Hans-Christian Egtvedt
@ 2007-07-30 12:21                 ` Gabbar Singh
  0 siblings, 0 replies; 11+ messages in thread
From: Gabbar Singh @ 2007-07-30 12:21 UTC (permalink / raw)
  To: buildroot

Hi,

I dont know where to post this.. so I apologize if this is not the correct list and pls point me to the same.
I was trying to build the linux kernel 2.6.22 using the toolchain created with buildroot for arm (generic).
I am getting the following errors:

 CHK     include/linux/version.h
  SYMLINK include/asm-arm/arch -> include/asm-arm/arch-versatile
  Generating include/asm-arm/mach-types.h
  CHK     include/linux/utsrelease.h
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  CC      arch/arm/kernel/asm-offsets.s

In file included from include/linux/irqflags.h:46,
                 from include/asm/system.h:78,
                 from include/asm/bitops.h:23,
                 from include/linux/bitops.h:9,
                 from include/linux/thread_info.h:20,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:49,
                 from include/linux/capability.h:47,
                 from include/linux/sched.h:46,
                 from arch/arm/kernel/asm-offsets.c:13:
include/asm/irqflags.h:11:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/asm/bitops.h:23,
                 from include/linux/bitops.h:9,
                 from include/linux/thread_info.h:20,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:49,
                 from include/linux/capability.h:47,
                 from include/linux/sched.h:46,
                 from arch/arm/kernel/asm-offsets.c:13:
include/asm/system.h:153:5: warning: "__LINUX_ARM_ARCH__" is not defined
include/asm/system.h:159:5: warning: "__LINUX_ARM_ARCH__" is not defined
include/asm/system.h:163:35: warning: "__LINUX_ARM_ARCH__" is not defined
include/asm/system.h:293:5: warning: "__LINUX_ARM_ARCH__" is not defined
include/asm/system.h:298:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/linux/bitops.h:9,
                 from include/linux/thread_info.h:20,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:49,
                 from include/linux/capability.h:47,
                 from include/linux/sched.h:46,
                 from arch/arm/kernel/asm-offsets.c:13:
include/asm/bitops.h:233:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/asm/thread_info.h:16,
                 from include/linux/thread_info.h:21,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:49,
                 from include/linux/capability.h:47,
                 from include/linux/sched.h:46,
                 from arch/arm/kernel/asm-offsets.c:13:
include/asm/fpstate.h:28:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/linux/spinlock.h:326,
                 from include/linux/capability.h:47,
                 from include/linux/sched.h:46,
                 from arch/arm/kernel/asm-offsets.c:13:
include/asm/atomic.h:25:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/linux/jiffies.h:4,
                 from include/linux/sched.h:51,
                 from arch/arm/kernel/asm-offsets.c:13:
include/linux/calc64.h: In function 'do_div_llr':
include/linux/calc64.h:25: error: '__LINUX_ARM_ARCH__' undeclared (first use in this function)
include/linux/calc64.h:25: error: (Each undeclared identifier is reported only once
include/linux/calc64.h:25: error: for each function it appears in.)
In file included from include/linux/prefetch.h:14,
                 from include/linux/list.h:8,
                 from include/linux/wait.h:22,
                 from include/asm/semaphore.h:9,
                 from include/linux/sched.h:59,
                 from arch/arm/kernel/asm-offsets.c:13:
include/asm/processor.h:103:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/asm/semaphore.h:13,
                 from include/linux/sched.h:59,
                 from arch/arm/kernel/asm-offsets.c:13:
include/asm/locks.h:15:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/asm/page.h:32,
                 from include/linux/sched.h:60,
                 from arch/arm/kernel/asm-offsets.c:13:
include/asm/glue.h:119:2: error: #error Unknown data abort handler type
In file included from include/linux/sched.h:60,
                 from arch/arm/kernel/asm-offsets.c:13:
include/asm/page.h:106:2: error: #error Unknown user operations model
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2


Regards,
Naren

       
---------------------------------
Get the Yahoo! toolbar and be alerted to new email wherever you're surfing. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20070730/cf0895e9/attachment.htm 

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-07-30  7:21 ` Bernhard Fischer
  2007-07-30  7:53   ` Hans-Christian Egtvedt
@ 2007-07-30 14:25   ` Ulf Samuelsson
  1 sibling, 0 replies; 11+ messages in thread
From: Ulf Samuelsson @ 2007-07-30 14:25 UTC (permalink / raw)
  To: buildroot

----- Original Message ----- 
From: "Bernhard Fischer" <rep.dot.nop@gmail.com>
To: <buildroot@uclibc.org>
Cc: <ulf@atmel.com>
Sent: Monday, July 30, 2007 9:21 AM
Subject: Re: [Buildroot] svn commit: trunk/buildroot/toolchain/gcc


> On Sun, Jul 29, 2007 at 10:43:50AM -0700, ulf at uclibc.org wrote:
>>Author: ulf
>>Date: 2007-07-29 10:43:50 -0700 (Sun, 29 Jul 2007)
>>New Revision: 19332
>>
>>Log:
>>gcc target config for AVR32
>>
>>Modified:
>>   trunk/buildroot/toolchain/gcc/Config.in.2
>>
>>
>>Changeset:
>>Modified: trunk/buildroot/toolchain/gcc/Config.in.2
>>===================================================================
>>--- trunk/buildroot/toolchain/gcc/Config.in.2 2007-07-29 17:40:42 UTC (rev 19331)
>>+++ trunk/buildroot/toolchain/gcc/Config.in.2 2007-07-29 17:43:50 UTC (rev 19332)
>>@@ -5,9 +5,20 @@
>>   If you want the target system to be able to run 
>>   binutils/gcc and compile native code, say Y here.
>> 
>>+config BR2_GCC_TARGET_AVR32_CONFIGURATION
>>+ bool "Enable default AVR32 GCC configuration"
>>+ default y
>>+ depends BR2_avr32 && BR2_PACKAGE_GCC_TARGET
>>+ help
>>+   For the AVR32 platform there is some configuration which are not
>>+   supported.
>>+
>>+   Currently this will add "--disable-libmudflap" to configure.
>>+
> 
> I object to this change.
> Please explain why you don't just add disable-mudflap if the target arch
> is BR2_avr32
> 
>> config BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS
>> string "Additional target gcc options"
>> default ""
>>+ depends BR2_PACKAGE_GCC_TARGET
>> help
>>   Any additional target gcc options you may want to include....
>>   Including, but not limited to --disable-checking etc.
>

OK, no problem with me.
Guessed there would be comments :-)
Will read your comments for the rest of the patches
and try to apply within the next few days.
.

Best Regards
Ulf Samuelsson

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

end of thread, other threads:[~2007-07-30 14:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-29 17:43 [Buildroot] svn commit: trunk/buildroot/toolchain/gcc ulf at uclibc.org
2007-07-30  7:21 ` Bernhard Fischer
2007-07-30  7:53   ` Hans-Christian Egtvedt
2007-07-30  8:39     ` Bernhard Fischer
2007-07-30  9:14       ` Hans-Christian Egtvedt
2007-07-30  9:21         ` Bernhard Fischer
2007-07-30 10:19           ` Hans-Christian Egtvedt
2007-07-30 10:32             ` Bernhard Fischer
2007-07-30 10:41               ` Hans-Christian Egtvedt
2007-07-30 12:21                 ` [Buildroot] Kernel compilation fails while using uclibc toolchain Gabbar Singh
2007-07-30 14:25   ` [Buildroot] svn commit: trunk/buildroot/toolchain/gcc Ulf Samuelsson

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