Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit master] toolchain: get rid of unused gcc 3.x legacy handling
@ 2009-12-04 19:55 Peter Korsgaard
  2009-12-05 12:39 ` Michael S. Zick
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2009-12-04 19:55 UTC (permalink / raw)
  To: buildroot


commit: http://git.buildroot.net/buildroot/commit/?id=acc75665e54bc505f46a4f8ce09c0c6634f74b91
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 toolchain/binutils/binutils.mk  |    3 ---
 toolchain/gcc/Makefile.in       |   17 -----------------
 toolchain/gcc/gcc-uclibc-3.x.mk |    4 ----
 3 files changed, 0 insertions(+), 24 deletions(-)

diff --git a/toolchain/binutils/binutils.mk b/toolchain/binutils/binutils.mk
index e482a8a..8cddf2d 100644
--- a/toolchain/binutils/binutils.mk
+++ b/toolchain/binutils/binutils.mk
@@ -27,9 +27,6 @@ endif
 BINUTILS_HOST_PREREQ:=
 BINUTILS_TARGET_PREREQ:=
 
-ifeq ($(findstring x3.,x$(GCC_VERSION)),x3.)
-BINUTILS_NO_MPFR:=y
-endif
 ifeq ($(findstring x4.0,x$(GCC_VERSION)),x4.0)
 BINUTILS_NO_MPFR:=y
 endif
diff --git a/toolchain/gcc/Makefile.in b/toolchain/gcc/Makefile.in
index e052b83..e92ecbc 100644
--- a/toolchain/gcc/Makefile.in
+++ b/toolchain/gcc/Makefile.in
@@ -19,17 +19,6 @@ GCC_USE_SJLJ_EXCEPTIONS:=--enable-sjlj-exceptions
 endif
 
 ifeq ($(BR2_SOFT_FLOAT),y)
-# gcc 3.4.x soft float configuration is different than previous versions.
-ifeq ($(findstring x3.4.,x$(GCC_VERSION)),x3.4.)
-ifneq ($(BR2_nios2),y)
-SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft
-endif
-else
-SOFT_FLOAT_CONFIG_OPTION:=--without-float
-endif
-
-# again... there must be a better way
-ifeq ($(findstring x4.,x$(GCC_VERSION)),x4.)
 SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft
 ifeq ($(BR2_SOFT_FLOAT_FP),y)
 TARGET_SOFT_FLOAT:=-mfloat-abi=softfp
@@ -40,9 +29,6 @@ else
 TARGET_SOFT_FLOAT:=-msoft-float
 endif
 endif
-else # not gcc-4.x
-TARGET_SOFT_FLOAT:=-msoft-float
-endif
 ARCH_FPU_SUFFIX:=_nofpu
 else # no softfloat support
 SOFT_FLOAT_CONFIG_OPTION:=
@@ -89,10 +75,7 @@ endif
 EXTRA_TARGET_GCC_CONFIG_OPTIONS+=$(call qstrip,$(BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS))
 
 ifeq ($(BR2_PREFER_IMA),y)
-# >= 4.x
-ifneq ($(findstring x3.,x$(GCC_VERSION)),x3.)
 EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--enable-intermodule
-endif
 endif # BR2_PREFER_IMA=y
 
 TARGETS+=gcc_target
diff --git a/toolchain/gcc/gcc-uclibc-3.x.mk b/toolchain/gcc/gcc-uclibc-3.x.mk
index 6531bfc..e737313 100644
--- a/toolchain/gcc/gcc-uclibc-3.x.mk
+++ b/toolchain/gcc/gcc-uclibc-3.x.mk
@@ -57,9 +57,6 @@ endif
 GCC_CAT:=$(BZCAT)
 GCC_STRIP_HOST_BINARIES:=true
 
-ifeq ($(findstring x3.,x$(GCC_VERSION)),x3.)
-GCC_NO_MPFR:=y
-else
 ifneq ($(BR2_INSTALL_FORTRAN),y)
 # fortran needs gmp and mpfr
 ifeq ($(findstring 4.0.,$(GCC_VERSION)),4.0.)
@@ -69,7 +66,6 @@ ifeq ($(findstring 4.1.,$(GCC_VERSION)),4.1.)
 GCC_NO_MPFR:=y
 endif
 endif
-endif
 
 #############################################################
 #
-- 
1.6.3.3

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

* [Buildroot] [git commit master] toolchain: get rid of unused gcc 3.x legacy handling
  2009-12-04 19:55 [Buildroot] [git commit master] toolchain: get rid of unused gcc 3.x legacy handling Peter Korsgaard
@ 2009-12-05 12:39 ` Michael S. Zick
  2009-12-05 13:14   ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Michael S. Zick @ 2009-12-05 12:39 UTC (permalink / raw)
  To: buildroot

On Fri December 4 2009, Peter Korsgaard wrote:
> 
> commit: http://git.buildroot.net/buildroot/commit/?id=acc75665e54bc505f46a4f8ce09c0c6634f74b91
> branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
> 
> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
> ---
>  toolchain/binutils/binutils.mk  |    3 ---
>  toolchain/gcc/Makefile.in       |   17 -----------------
>  toolchain/gcc/gcc-uclibc-3.x.mk |    4 ----
>

I suggest that you mark this one as "Legacy" rather than take it out.

Nearly all of the Media Player manufacturers are using a SoC vendor
provided toolchain based on 3.4.4 -
Even brand new designs, announced within the past few months!
(yeah, and they are running kernel 2.6.12.6 but NABRP)
((Not A BuildRoot Problem))

Due to compiler ABI changes, we still need 3.4.x for add-in software.

Mike
>  3 files changed, 0 insertions(+), 24 deletions(-)
> 
> diff --git a/toolchain/binutils/binutils.mk b/toolchain/binutils/binutils.mk
> index e482a8a..8cddf2d 100644
> --- a/toolchain/binutils/binutils.mk
> +++ b/toolchain/binutils/binutils.mk
> @@ -27,9 +27,6 @@ endif
>  BINUTILS_HOST_PREREQ:=
>  BINUTILS_TARGET_PREREQ:=
>  
> -ifeq ($(findstring x3.,x$(GCC_VERSION)),x3.)
> -BINUTILS_NO_MPFR:=y
> -endif
>  ifeq ($(findstring x4.0,x$(GCC_VERSION)),x4.0)
>  BINUTILS_NO_MPFR:=y
>  endif
> diff --git a/toolchain/gcc/Makefile.in b/toolchain/gcc/Makefile.in
> index e052b83..e92ecbc 100644
> --- a/toolchain/gcc/Makefile.in
> +++ b/toolchain/gcc/Makefile.in
> @@ -19,17 +19,6 @@ GCC_USE_SJLJ_EXCEPTIONS:=--enable-sjlj-exceptions
>  endif
>  
>  ifeq ($(BR2_SOFT_FLOAT),y)
> -# gcc 3.4.x soft float configuration is different than previous versions.
> -ifeq ($(findstring x3.4.,x$(GCC_VERSION)),x3.4.)
> -ifneq ($(BR2_nios2),y)
> -SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft
> -endif
> -else
> -SOFT_FLOAT_CONFIG_OPTION:=--without-float
> -endif
> -
> -# again... there must be a better way
> -ifeq ($(findstring x4.,x$(GCC_VERSION)),x4.)
>  SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft
>  ifeq ($(BR2_SOFT_FLOAT_FP),y)
>  TARGET_SOFT_FLOAT:=-mfloat-abi=softfp
> @@ -40,9 +29,6 @@ else
>  TARGET_SOFT_FLOAT:=-msoft-float
>  endif
>  endif
> -else # not gcc-4.x
> -TARGET_SOFT_FLOAT:=-msoft-float
> -endif
>  ARCH_FPU_SUFFIX:=_nofpu
>  else # no softfloat support
>  SOFT_FLOAT_CONFIG_OPTION:=
> @@ -89,10 +75,7 @@ endif
>  EXTRA_TARGET_GCC_CONFIG_OPTIONS+=$(call qstrip,$(BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS))
>  
>  ifeq ($(BR2_PREFER_IMA),y)
> -# >= 4.x
> -ifneq ($(findstring x3.,x$(GCC_VERSION)),x3.)
>  EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--enable-intermodule
> -endif
>  endif # BR2_PREFER_IMA=y
>  
>  TARGETS+=gcc_target
> diff --git a/toolchain/gcc/gcc-uclibc-3.x.mk b/toolchain/gcc/gcc-uclibc-3.x.mk
> index 6531bfc..e737313 100644
> --- a/toolchain/gcc/gcc-uclibc-3.x.mk
> +++ b/toolchain/gcc/gcc-uclibc-3.x.mk
> @@ -57,9 +57,6 @@ endif
>  GCC_CAT:=$(BZCAT)
>  GCC_STRIP_HOST_BINARIES:=true
>  
> -ifeq ($(findstring x3.,x$(GCC_VERSION)),x3.)
> -GCC_NO_MPFR:=y
> -else
>  ifneq ($(BR2_INSTALL_FORTRAN),y)
>  # fortran needs gmp and mpfr
>  ifeq ($(findstring 4.0.,$(GCC_VERSION)),4.0.)
> @@ -69,7 +66,6 @@ ifeq ($(findstring 4.1.,$(GCC_VERSION)),4.1.)
>  GCC_NO_MPFR:=y
>  endif
>  endif
> -endif
>  
>  #############################################################
>  #

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

* [Buildroot] [git commit master] toolchain: get rid of unused gcc 3.x legacy handling
  2009-12-05 12:39 ` Michael S. Zick
@ 2009-12-05 13:14   ` Peter Korsgaard
  2009-12-05 13:49     ` Michael S. Zick
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2009-12-05 13:14 UTC (permalink / raw)
  To: buildroot

>>>>> "Michael" == Michael S Zick <minimod@morethan.org> writes:

 Michael> On Fri December 4 2009, Peter Korsgaard wrote:

 Michael> I suggest that you mark this one as "Legacy" rather than take it out.

Too late. This was *UNUSED*, E.G. we don't have any support for gcc 3.x
in Kconfig in git (and haven't had for some time.

When cannot continue growing versions / config options forever without
growing the developer base, so we normally remove old versions when we add
new ones (E.G. see the recent binutils changes).

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [git commit master] toolchain: get rid of unused gcc 3.x legacy handling
  2009-12-05 13:14   ` Peter Korsgaard
@ 2009-12-05 13:49     ` Michael S. Zick
  0 siblings, 0 replies; 4+ messages in thread
From: Michael S. Zick @ 2009-12-05 13:49 UTC (permalink / raw)
  To: buildroot

On Sat December 5 2009, Peter Korsgaard wrote:
> >>>>> "Michael" == Michael S Zick <minimod@morethan.org> writes:
> 
>  Michael> On Fri December 4 2009, Peter Korsgaard wrote:
> 
>  Michael> I suggest that you mark this one as "Legacy" rather than take it out.
> 
> Too late. This was *UNUSED*, E.G. we don't have any support for gcc 3.x
> in Kconfig in git (and haven't had for some time.
> 

Thanks for the clarification -
I had read that as: "Unused by the users of Buildroot";
Not as: "Unused by the Buildroot system". (Unsupported?)

We will see if I can make MIPS worth keeping. ;)

Mike
> When cannot continue growing versions / config options forever without
> growing the developer base, so we normally remove old versions when we add
> new ones (E.G. see the recent binutils changes).
> 

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

end of thread, other threads:[~2009-12-05 13:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-04 19:55 [Buildroot] [git commit master] toolchain: get rid of unused gcc 3.x legacy handling Peter Korsgaard
2009-12-05 12:39 ` Michael S. Zick
2009-12-05 13:14   ` Peter Korsgaard
2009-12-05 13:49     ` Michael S. Zick

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