Skip to contentSkip to conversation

svn commit: trunk/buildroot/target/device

Buildroot ulf at uclibc.org 4 participants 4 messages Jul 5, 2008 – Jul 7, 2008

lore
Share & tools
lore
#0 lore raw

Author: ulf
Date: 2008-07-04 23:37:17 -0700 (Fri, 04 Jul 2008) New Revision: 22642

Log:
Run AVR32 toolchain with Sysroot (will fail if not enabled), deprecate 4.1.2 and 4.2.1

Modified:
trunk/buildroot/target/device/Config.in.toolchain

Changeset:
Modified: trunk/buildroot/target/device/Config.in.toolchain
===================================================================

buildroot/target/device/Config.in.toolchain +5 -0
@@ -9,6 +9,7 @@
 config BR2_TOOLCHAIN_ATMEL_AVR32_4_1_2
 	bool "Use prepatched source for AVR32 gcc-4.1.2 toolchain"
 	depends on BR2_avr32
+	depends on BR2_DEPRECATED
 	select BR2_EXT_GCC_VERSION_4_1_2
 	select BR2_EXT_BINUTILS_VERSION_2_17
 	select BR2_EXT_UCLIBC_VERSION_0_9_29
@@ -19,10 +20,12 @@
 config BR2_TOOLCHAIN_ATMEL_AVR32_4_2_1
 	bool "Use prepatched source for AVR32 gcc-4.2.1 toolchain"
 	depends on BR2_avr32
+	depends on BR2_DEPRECATED
 	select BR2_EXT_GCC_VERSION_4_2_1
 	select BR2_EXT_BINUTILS_VERSION_2_17
 	select BR2_EXT_UCLIBC_VERSION_0_9_29
 	select BR2_TOOLCHAIN_ATMEL_AVR32
+	select BR2_GCC_SUPPORTS_SYSROOT
 	help
 	  The gcc-4.2.1 toolchain for the AVR32
 	  * gcc-4.2.1
@@ -39,6 +42,7 @@
 	select BR2_EXT_BINUTILS_VERSION_2_17
 	select BR2_EXT_UCLIBC_VERSION_0_9_29
 	select BR2_TOOLCHAIN_ATMEL_AVR32
+	select BR2_GCC_SUPPORTS_SYSROOT
 	help
 	  The gcc-4.2.2 toolchain for the AVR32
 	  * gcc-4.2.2
@@ -67,6 +71,7 @@
 
 config BR2_TOOLCHAIN_UNKNOWNVENDOR
 	bool "Use prepatched source from unknown vendor"
+	depends on !BR2_avr32
 
 endchoice
 
#1 lore raw

AFAIK 4.2.1 is the only gcc release that produces valid binaries. 4.2.2 produces C++ programs that crash. I think we shouldn't deprecate it.

Quoted 59 lines · On Sat, Jul 5, 2008 at 3:37 AM, <[email protected]> wrote:

Author: ulf
Date: 2008-07-04 23:37:17 -0700 (Fri, 04 Jul 2008) New Revision: 22642

Log:
Run AVR32 toolchain with Sysroot (will fail if not enabled), deprecate 4.1.2 and 4.2.1

Modified:
trunk/buildroot/target/device/Config.in.toolchain

Changeset:
Modified: trunk/buildroot/target/device/Config.in.toolchain
===================================================================

buildroot/target/device/Config.in.toolchain 2008-07-05 06:37:17 UTC (rev 22642) renamed from buildroot/target/device/Config.in.toolchain 2008-07-05 04:30:05 UTC (rev 22641) +5 -0
@@ -9,6 +9,7 @@
 config BR2_TOOLCHAIN_ATMEL_AVR32_4_1_2
       bool "Use prepatched source for AVR32 gcc-4.1.2 toolchain"
       depends on BR2_avr32
+       depends on BR2_DEPRECATED
       select BR2_EXT_GCC_VERSION_4_1_2
       select BR2_EXT_BINUTILS_VERSION_2_17
       select BR2_EXT_UCLIBC_VERSION_0_9_29
@@ -19,10 +20,12 @@
 config BR2_TOOLCHAIN_ATMEL_AVR32_4_2_1
       bool "Use prepatched source for AVR32 gcc-4.2.1 toolchain"
       depends on BR2_avr32
+       depends on BR2_DEPRECATED
       select BR2_EXT_GCC_VERSION_4_2_1
       select BR2_EXT_BINUTILS_VERSION_2_17
       select BR2_EXT_UCLIBC_VERSION_0_9_29
       select BR2_TOOLCHAIN_ATMEL_AVR32
+       select BR2_GCC_SUPPORTS_SYSROOT
       help
         The gcc-4.2.1 toolchain for the AVR32
         * gcc-4.2.1
@@ -39,6 +42,7 @@
       select BR2_EXT_BINUTILS_VERSION_2_17
       select BR2_EXT_UCLIBC_VERSION_0_9_29
       select BR2_TOOLCHAIN_ATMEL_AVR32
+       select BR2_GCC_SUPPORTS_SYSROOT
       help
         The gcc-4.2.2 toolchain for the AVR32
         * gcc-4.2.2
@@ -67,6 +71,7 @@
 
 config BR2_TOOLCHAIN_UNKNOWNVENDOR
       bool "Use prepatched source from unknown vendor"
+       depends on !BR2_avr32
 
 endchoice
 

_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

#2 lore raw

----- Original Message -----
From: "Thiago A. Corr?a" <[email protected]>
To: <[email protected]>
Sent: Saturday, July 05, 2008 8:47 AM
Subject: Re: [Buildroot] svn commit: trunk/buildroot/target/device

Quoted 4 lines

AFAIK 4.2.1 is the only gcc release that produces valid binaries. 4.2.2 produces C++ programs that crash. I think we shouldn't deprecate it.

I thought you said it did not work in svn!
Feel free to revert that part of the patch, I lost my broadband just now, and connect using WCDMA right now.
Hope it will be back soon...

Best Regards
Ulf Samuelsson

Quoted 68 lines · On Sat, Jul 5, 2008 at 3:37 AM, <[email protected]> wrote:
Quoted 57 lines

Author: ulf
Date: 2008-07-04 23:37:17 -0700 (Fri, 04 Jul 2008) New Revision: 22642

Log:
Run AVR32 toolchain with Sysroot (will fail if not enabled), deprecate 4.1.2 and 4.2.1

Modified:
trunk/buildroot/target/device/Config.in.toolchain

Changeset:
Modified: trunk/buildroot/target/device/Config.in.toolchain
===================================================================
--- trunk/buildroot/target/device/Config.in.toolchain 2008-07-05
04:30:05 UTC (rev 22641)
+++ trunk/buildroot/target/device/Config.in.toolchain 2008-07-05
06:37:17 UTC (rev 22642)

buildroot/target/device/Config.in.toolchain +5 -0
@@ -9,6 +9,7 @@
 config BR2_TOOLCHAIN_ATMEL_AVR32_4_1_2
       bool "Use prepatched source for AVR32 gcc-4.1.2 toolchain"
       depends on BR2_avr32
+       depends on BR2_DEPRECATED
       select BR2_EXT_GCC_VERSION_4_1_2
       select BR2_EXT_BINUTILS_VERSION_2_17
       select BR2_EXT_UCLIBC_VERSION_0_9_29
@@ -19,10 +20,12 @@
 config BR2_TOOLCHAIN_ATMEL_AVR32_4_2_1
       bool "Use prepatched source for AVR32 gcc-4.2.1 toolchain"
       depends on BR2_avr32
+       depends on BR2_DEPRECATED
       select BR2_EXT_GCC_VERSION_4_2_1
       select BR2_EXT_BINUTILS_VERSION_2_17
       select BR2_EXT_UCLIBC_VERSION_0_9_29
       select BR2_TOOLCHAIN_ATMEL_AVR32
+       select BR2_GCC_SUPPORTS_SYSROOT
       help
         The gcc-4.2.1 toolchain for the AVR32
         * gcc-4.2.1
@@ -39,6 +42,7 @@
       select BR2_EXT_BINUTILS_VERSION_2_17
       select BR2_EXT_UCLIBC_VERSION_0_9_29
       select BR2_TOOLCHAIN_ATMEL_AVR32
+       select BR2_GCC_SUPPORTS_SYSROOT
       help
         The gcc-4.2.2 toolchain for the AVR32
         * gcc-4.2.2
@@ -67,6 +71,7 @@
 
 config BR2_TOOLCHAIN_UNKNOWNVENDOR
       bool "Use prepatched source from unknown vendor"
+       depends on !BR2_avr32
 
 endchoice
 
Quoted 5 lines

_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

#3 lore raw
In reply to Thiago A. Corrêa
Quoted 3 lines · Thiago A. Corr?a

AFAIK 4.2.1 is the only gcc release that produces valid binaries. 4.2.2 produces C++ programs that crash. I think we shouldn't deprecate it.

Huh?

GCC 4.2.2.atmel.1.0.8 + the patches on
http://avr32linux.org/twiki/bin/view/Main/GccPatches is AFAIK more bugless than 4.2.1.

Do you have an example application which crashes, some stripped C++ code I can test with.

Signature · 2 lines
With kind regards,
Hans-Christian Egtvedt, Applications Engineer