Skip to contentSkip to conversation

GCC - march=geode doesn't exist?

Buildroot William Pettersson 2 participants 3 messages Jul 19, 2007 – Jul 27, 2007

lore
Share & tools
lore
#0 lore raw

Ok, so I'm still working on this Soekris, using gcc-4.2.0. 4.2.0 doesn't support -march=geode or -mtune=geode, but BR2_GCC_TARGET_ARCH and BR2_GCC_TARGET_TUNE are both set to "geode" if you select the geode.
Now apparently gcc-4.3.0 has plans for a geode target, but as 4.3.0
isn't stable yet, I've attached a patch which makes the "geode" select "i586" for BR2_GCC_TARGET_TUNE and BR2_GCC_TARGET_ARCH.

William

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Config.in.gcc.patch
Url: http://busybox.net/lists/buildroot/attachments/20070719/abc7a1ee/attachment.diff

#1 lore raw
Quoted 6 lines · William Pettersson

Ok, so I'm still working on this Soekris, using gcc-4.2.0. 4.2.0 doesn't support -march=geode or -mtune=geode, but BR2_GCC_TARGET_ARCH and BR2_GCC_TARGET_TUNE are both set to "geode" if you select the geode. Now apparently gcc-4.3.0 has plans for a geode target, but as 4.3.0 isn't stable yet, I've attached a patch which makes the "geode" select "i586" for BR2_GCC_TARGET_TUNE and BR2_GCC_TARGET_ARCH.

Yes, somebody already mentioned about the same for itanium. I added those bits with just a copy of gcc-trunk at hand..

Can you check your manpage of gcc-4.2 to see what itanium variants are supported there and fix those and geode according to:

default foo if BR2_foo && BR2_GCC_VERSION_4_3
default bar if BR2_foo && !BR2_GCC_VERSION_4_3

default baz1 if BR2_baz && (BR2_GCC_VERSION_3_4 || 4_0 || 4_1) etc..

TIA,

Quoted 29 lines

William

Config.in renamed from Config.in.old +2 -2
@@ -363,7 +364,7 @@
 	default winchip-c6	if BR2_x86_winchip_c6
 	default winchip2	if BR2_x86_winchip2
 	default c3		if BR2_x86_c3
-	default geode		if BR2_x86_geode
+	default i586 		if BR2_x86_geode
 	default nocona		if BR2_x86_64_nocona
 	default core2		if BR2_x86_64_core2
 	default k8		if BR2_x86_64_opteron
@@ -480,7 +481,7 @@
 	default winchip-c6	if BR2_x86_winchip_c6
 	default winchip2	if BR2_x86_winchip2
 	default c3		if BR2_x86_c3
-	default geode		if BR2_x86_geode
+	default i586		if BR2_x86_geode
 	default iwmmxt		if BR2_iwmmxt
 	default v0		if BR2_cris_unknown
 	default v10		if BR2_cris_generic

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

#2 lore raw

William,

Quoted 14 lines · Bernhard Fischer
Quoted 6 lines · William Pettersson

Ok, so I'm still working on this Soekris, using gcc-4.2.0. 4.2.0 doesn't support -march=geode or -mtune=geode, but BR2_GCC_TARGET_ARCH and BR2_GCC_TARGET_TUNE are both set to "geode" if you select the geode. Now apparently gcc-4.3.0 has plans for a geode target, but as 4.3.0 isn't stable yet, I've attached a patch which makes the "geode" select "i586" for BR2_GCC_TARGET_TUNE and BR2_GCC_TARGET_ARCH.

Yes, somebody already mentioned about the same for itanium. I added those bits with just a copy of gcc-trunk at hand..

Can you check your manpage of gcc-4.2 to see what itanium variants are supported there and fix those and geode according to:

Quoted 7 lines

default foo if BR2_foo && BR2_GCC_VERSION_4_3
default bar if BR2_foo && !BR2_GCC_VERSION_4_3

default baz1 if BR2_baz && (BR2_GCC_VERSION_3_4 || 4_0 || 4_1) etc..

TIA,

ping
Would be awesome if you could have a look into this..