All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-02-09 14:05 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-02-09 14:05 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-02-09 06:05:51 -0800 (Fri, 09 Feb 2007)
New Revision: 17838

Log:
- new prerelease


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-02-09 13:56:01 UTC (rev 17837)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-02-09 14:05:51 UTC (rev 17838)
@@ -28,7 +28,7 @@
 
 # Temporary for 4.1.2-RC1
 ifeq ($(BR2_GCC_VERSION_4_1_2),y)
-GCC_SNAP_DATE:=20070128
+GCC_SNAP_DATE:=20070208
 GCC_OFFICIAL_VER:=$(GCC_VERSION)-$(GCC_SNAP_DATE)
 GCC_SITE:=ftp://gcc.gnu.org/pub/gcc/prerelease-$(GCC_OFFICIAL_VER)/
 endif

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2009-03-01 20:20 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2009-03-01 20:20 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-03-01 20:20:09 +0000 (Sun, 01 Mar 2009)
New Revision: 25472

Log:
toolchain/gcc: libstdcpp dependency was listed twice

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2009-03-01 04:50:18 UTC (rev 25471)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2009-03-01 20:20:09 UTC (rev 25472)
@@ -88,7 +88,6 @@
 $(wildcard $(BR2_DEPENDS_DIR)/br2/install/libgcj*)\
 $(wildcard $(BR2_DEPENDS_DIR)/br2/install/objc*)\
 $(wildcard $(BR2_DEPENDS_DIR)/br2/install/fortran*)\
-$(wildcard $(BR2_DEPENDS_DIR)/br2/install/libstdcpp*)\
 $(wildcard $(BR2_DEPENDS_DIR)/br2/prefer/ima*)\
 $(wildcard $(BR2_DEPENDS_DIR)/br2/toolchain/sysroot*)\
 $(wildcard $(BR2_DEPENDS_DIR)/br2/use/sjlj/exceptions*)\

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2009-01-30 13:34 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2009-01-30 13:34 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-01-30 13:34:35 +0000 (Fri, 30 Jan 2009)
New Revision: 25165

Log:
toolchain/gcc: remove unused gcc 3.x cruft from 4.x makefile (sysroot)

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2009-01-30 11:35:04 UTC (rev 25164)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2009-01-30 13:34:35 UTC (rev 25165)
@@ -56,9 +56,6 @@
 GCC_STRIP_HOST_BINARIES:=nope
 GCC_SRC_DIR:=$(GCC_DIR)
 
-ifeq ($(findstring x3.,x$(GCC_VERSION)),x3.)
-GCC_NO_MPFR:=y
-endif
 ifeq ($(findstring x4.0.,x$(GCC_VERSION)),x4.0.)
 GCC_NO_MPFR:=y
 endif
@@ -335,27 +332,7 @@
 			$(GNU_TARGET_NAME)$${app##$(REAL_GNU_TARGET_NAME)}; \
 		done; \
 	)
-	#
-	# Now for the ugly 3.3.x soft float hack...
-	#
-ifeq ($(BR2_SOFT_FLOAT),y)
-ifeq ($(findstring x3.3.,x$(GCC_VERSION)),x3.3.)
-	# Make sure we have a soft float specs file for this arch
-	if [ ! -f toolchain/gcc/$(GCC_VERSION)/specs-$(ARCH)-soft-float ]; then \
-		echo soft float configured but no specs file for this arch; \
-		/bin/false; \
-	fi
-	# Replace specs file with one that defaults to soft float mode.
-	if [ ! -f $(STAGING_DIR)/lib/gcc-lib/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)/specs ]; then \
-		echo staging dir specs file is missing; \
-		/bin/false; \
-	fi
-	cp toolchain/gcc/$(GCC_VERSION)/specs-$(ARCH)-soft-float $(STAGING_DIR)/lib/gcc-lib/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)/specs
-endif
-endif
-	#
-	# Ok... that's enough of that.
-	#
+
 	mkdir -p $(TARGET_DIR)/usr/lib $(TARGET_DIR)/usr/sbin
 	touch $@
 
@@ -456,11 +433,7 @@
 #
 # gcc-lib dir changes names to gcc with 3.4.mumble
 #
-ifeq ($(findstring x3.4.,x$(GCC_VERSION)),x3.4.)
-GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
-else
 GCC_LIB_SUBDIR=lib/gcc-lib/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
-endif
 # sigh... we need to find a better way
 ifeq ($(findstring x4.0.,x$(GCC_VERSION)),x4.0.)
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
@@ -487,20 +460,7 @@
 		$(MAKE1) -C $(GCC_BUILD_DIR3) install
 	# Remove broken specs file (cross compile flag is set).
 	rm -f $(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR)/specs
-	#
-	# Now for the ugly 3.3.x soft float hack...
-	#
-ifeq ($(BR2_SOFT_FLOAT),y)
-ifeq ($(findstring x3.3.,x$(GCC_VERSION)),x3.3.)
-	# Add a specs file that defaults to soft float mode.
-	cp toolchain/gcc/$(GCC_VERSION)/specs-$(ARCH)-soft-float $(TARGET_DIR)/usr/lib/gcc-lib/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)/specs
-	# Make sure gcc does not think we are cross compiling
-	$(SED) "s/^1/0/;" $(TARGET_DIR)/usr/lib/gcc-lib/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)/specs
-endif
-endif
-	#
-	# Ok... that's enough of that.
-	#
+
 	-(cd $(TARGET_DIR)/bin && find -type f | xargs $(STRIPCMD) > /dev/null 2>&1)
 	-(cd $(TARGET_DIR)/usr/bin && find -type f | xargs $(STRIPCMD) > /dev/null 2>&1)
 	-(cd $(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR) && $(STRIPCMD) cc1 cc1plus collect2 > /dev/null 2>&1)

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2009-01-29 19:24 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2009-01-29 19:24 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-01-29 19:24:31 +0000 (Thu, 29 Jan 2009)
New Revision: 25133

Log:
toolchain/gcc: remove ancient (and unused) i386 softfloat patch

Removed:
   trunk/buildroot/toolchain/gcc/i386-gcc-soft-float.patch

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2009-01-29 19:13:53 UTC (rev 25132)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2009-01-29 19:24:31 UTC (rev 25133)
@@ -159,10 +159,6 @@
 ifeq ("$(strip $(ARCH))","armeb")
 	toolchain/patch-kernel.sh $(GCC_DIR) toolchain/gcc/$(GCC_VERSION) arm-softfloat.patch.conditional
 endif
-	# Not yet updated to 3.4.1.
-	#ifeq ("$(strip $(ARCH))","i386")
-	#toolchain/patch-kernel.sh $(GCC_DIR) toolchain/gcc i386-gcc-soft-float.patch
-	#endif
 endif
 	touch $@
 

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2009-01-29 19:13:53 UTC (rev 25132)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2009-01-29 19:24:31 UTC (rev 25133)
@@ -179,10 +179,6 @@
 ifeq ("$(strip $(ARCH))","armeb")
 	toolchain/patch-kernel.sh $(GCC_DIR) toolchain/gcc/$(GCC_VERSION) arm-softfloat.patch.conditional
 endif
-	# Not yet updated to 3.4.1.
-	#ifeq ("$(strip $(ARCH))","i386")
-	#toolchain/patch-kernel.sh $(GCC_DIR) toolchain/gcc i386-gcc-soft-float.patch
-	#endif
 endif
 	touch $@
 

Deleted: trunk/buildroot/toolchain/gcc/i386-gcc-soft-float.patch
===================================================================
--- trunk/buildroot/toolchain/gcc/i386-gcc-soft-float.patch	2009-01-29 19:13:53 UTC (rev 25132)
+++ trunk/buildroot/toolchain/gcc/i386-gcc-soft-float.patch	2009-01-29 19:24:31 UTC (rev 25133)
@@ -1,61 +0,0 @@
-diff -urN gcc-3.3.2-orig/gcc/config/i386/i386.h gcc-3.3.2/gcc/config/i386/i386.h
---- gcc-3.3.2-orig/gcc/config/i386/i386.h	2003-06-25 16:18:31.000000000 -0500
-+++ gcc-3.3.2/gcc/config/i386/i386.h	2003-10-22 01:46:57.000000000 -0500
-@@ -653,6 +653,7 @@
- /* Define for XFmode or TFmode extended real floating point support.
-    The XFmode is specified by i386 ABI, while TFmode may be faster
-    due to alignment and simplifications in the address calculations.  */
-+#if 0
- #define LONG_DOUBLE_TYPE_SIZE (TARGET_128BIT_LONG_DOUBLE ? 128 : 96)
- #define MAX_LONG_DOUBLE_TYPE_SIZE 128
- #ifdef __x86_64__
-@@ -660,6 +661,17 @@
- #else
- #define LIBGCC2_LONG_DOUBLE_TYPE_SIZE 96
- #endif
-+#else
-+	  /* Set up for x86 soft float with 64-bit long doubles, since that's
-+	   * all the soft float emulation supports. */
-+#define LONG_DOUBLE_TYPE_SIZE (TARGET_128BIT_LONG_DOUBLE ? 128 : (TARGET_80387 ? 96 : 64))
-+#define MAX_LONG_DOUBLE_TYPE_SIZE 128
-+#ifdef __x86_64__
-+#define LIBGCC2_LONG_DOUBLE_TYPE_SIZE 128
-+#else
-+#define LIBGCC2_LONG_DOUBLE_TYPE_SIZE (TARGET_80387 ? 96 : 64)
-+#endif
-+#endif
- 
- /* Set the value of FLT_EVAL_METHOD in float.h.  When using only the
-    FPU, assume that the fpcw is set to extended precision; when using
-diff -urN gcc-3.3.2-orig/gcc/config/t-linux gcc-3.3.2/gcc/config/t-linux
---- gcc-3.3.2-orig/gcc/config/t-linux-uclibc	2003-06-04 11:56:11.000000000 -0500
-+++ gcc-3.3.2/gcc/config/t-linux-uclibc	2003-10-22 01:46:39.000000000 -0500
-@@ -21,3 +21,28 @@
- LIB2ADDEH = $(srcdir)/unwind-dw2.c $(srcdir)/unwind-dw2-fde.c \
-   $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c
- LIB2ADDEHDEP = unwind.inc unwind-dw2-fde.h
-+
-+##############################################
-+# We want fine grained libraries, so use the new code to build the
-+# floating point emulation libraries.
-+FPBIT = fp-bit.c
-+DPBIT = dp-bit.c
-+
-+#LIB2FUNCS_EXTRA = xp-bit.c
-+
-+dp-bit.c: $(srcdir)/config/fp-bit.c
-+	echo '#ifdef __LITTLE_ENDIAN__' > dp-bit.c
-+	echo '#define FLOAT_BIT_ORDER_MISMATCH' >>dp-bit.c
-+	echo '#endif'           >> dp-bit.c
-+	cat $(srcdir)/config/fp-bit.c >> dp-bit.c
-+
-+fp-bit.c: $(srcdir)/config/fp-bit.c
-+	echo '#define FLOAT' > fp-bit.c
-+	echo '#ifdef __LITTLE_ENDIAN__' >> fp-bit.c
-+	echo '#define FLOAT_BIT_ORDER_MISMATCH' >>fp-bit.c
-+	echo '#endif'           >> fp-bit.c
-+	cat $(srcdir)/config/fp-bit.c >> fp-bit.c
-+
-+#MULTILIB_OPTIONS = msoft-float
-+#MULTILIB_DIRNAMES = soft-float
-+

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2009-01-29 19:13 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2009-01-29 19:13 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-01-29 19:13:53 +0000 (Thu, 29 Jan 2009)
New Revision: 25132

Log:
toolchain/gcc: remove unused GCC_ENABLE_CLOCALE

This variable was introduced in r17046 (add gfortran support,
2006-12-22) and wasn't used even there.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2009-01-29 17:52:39 UTC (rev 25131)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2009-01-29 19:13:53 UTC (rev 25132)
@@ -123,10 +123,6 @@
 GCC_SHARED_LIBGCC:=--disable-shared
 endif
 
-ifneq ($(BR2_ENABLE_LOCALE),y)
-GCC_ENABLE_CLOCALE:=--disable-clocale
-endif
-
 HOST_SOURCE+=gcc-source
 
 #############################################################

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2009-01-29 17:52:39 UTC (rev 25131)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2009-01-29 19:13:53 UTC (rev 25132)
@@ -133,10 +133,6 @@
 GCC_SHARED_LIBGCC:=--disable-shared
 endif
 
-ifneq ($(BR2_ENABLE_LOCALE),y)
-GCC_ENABLE_CLOCALE:=--disable-clocale
-endif
-
 ifeq ($(BR2_KERNEL_HURD),y)
 EXTRA_GCC1_CONFIG_OPTIONS+=--without-headers
 endif

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2009-01-22 11:18 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2009-01-22 11:18 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-01-22 11:18:44 +0000 (Thu, 22 Jan 2009)
New Revision: 24961

Log:
toolchain/gcc: make version detection more robust

Thanks to Bernhard for noticing (and less so for causing the problem in
the first place :P)

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2009-01-22 11:01:56 UTC (rev 24960)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2009-01-22 11:18:44 UTC (rev 24961)
@@ -347,7 +347,7 @@
 	# Now for the ugly 3.3.x soft float hack...
 	#
 ifeq ($(BR2_SOFT_FLOAT),y)
-ifeq ($(findstring 3.3.,$(GCC_VERSION)),3.3.)
+ifeq ($(findstring x3.3.,x$(GCC_VERSION)),x3.3.)
 	# Make sure we have a soft float specs file for this arch
 	if [ ! -f toolchain/gcc/$(GCC_VERSION)/specs-$(ARCH)-soft-float ]; then \
 		echo soft float configured but no specs file for this arch; \
@@ -464,20 +464,20 @@
 #
 # gcc-lib dir changes names to gcc with 3.4.mumble
 #
-ifeq ($(findstring 3.4.,$(GCC_VERSION)),3.4.)
+ifeq ($(findstring x3.4.,x$(GCC_VERSION)),x3.4.)
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
 else
 GCC_LIB_SUBDIR=lib/gcc-lib/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
 endif
 # sigh... we need to find a better way
-ifeq ($(findstring 4.0.,$(GCC_VERSION)),4.0.)
+ifeq ($(findstring x4.0.,x$(GCC_VERSION)),x4.0.)
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
 endif
-ifeq ($(findstring 4.1.,$(GCC_VERSION)),4.1.)
+ifeq ($(findstring x4.1.,x$(GCC_VERSION)),x4.1.)
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
 endif
-ifeq ($(findstring 4.2,$(GCC_VERSION)),4.2)
-ifneq ($(findstring 4.2.,$(GCC_VERSION)),4.2.)
+ifeq ($(findstring x4.2,x$(GCC_VERSION)),x4.2)
+ifneq ($(findstring x4.2.,x$(GCC_VERSION)),x4.2.)
 REAL_GCC_VERSION=$(shell cat $(GCC_SRC_DIR)/gcc/BASE-VER)
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(REAL_GCC_VERSION)
 else
@@ -485,7 +485,7 @@
 endif
 endif
 GCC_INCLUDE_DIR:=include
-ifeq ($(findstring 4.3,$(GCC_VERSION)),4.3)
+ifeq ($(findstring x4.3,x$(GCC_VERSION)),x4.3)
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
 GCC_INCLUDE_DIR:=include-fixed
 endif
@@ -499,7 +499,7 @@
 	# Now for the ugly 3.3.x soft float hack...
 	#
 ifeq ($(BR2_SOFT_FLOAT),y)
-ifeq ($(findstring 3.3.,$(GCC_VERSION)),3.3.)
+ifeq ($(findstring x3.3.,x$(GCC_VERSION)),x3.3.)
 	# Add a specs file that defaults to soft float mode.
 	cp toolchain/gcc/$(GCC_VERSION)/specs-$(ARCH)-soft-float $(TARGET_DIR)/usr/lib/gcc-lib/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)/specs
 	# Make sure gcc does not think we are cross compiling

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2009-01-22 10:04 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2009-01-22 10:04 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-01-22 10:04:30 +0000 (Thu, 22 Jan 2009)
New Revision: 24957

Log:
toolchain/gcc: fix target-gcc for 4.3.x

Includes are in include-fixed and GCC_LIB_SUBDIR needs to be set like for
the rest of 4.x

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2009-01-22 09:50:29 UTC (rev 24956)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2009-01-22 10:04:30 UTC (rev 24957)
@@ -484,6 +484,11 @@
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
 endif
 endif
+GCC_INCLUDE_DIR:=include
+ifeq ($(findstring 4.3,$(GCC_VERSION)),4.3)
+GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
+GCC_INCLUDE_DIR:=include-fixed
+endif
 
 $(TARGET_DIR)/usr/bin/gcc: $(GCC_BUILD_DIR3)/.compiled
 	PATH=$(TARGET_PATH) DESTDIR=$(TARGET_DIR) \
@@ -514,10 +519,10 @@
 	#rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
 	#	$(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc
 	# Work around problem of missing syslimits.h
-	if [ ! -f $(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR)/include/syslimits.h ]; then \
+	if [ ! -f $(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR)/$(GCC_INCLUDE_DIR)/syslimits.h ]; then \
 		echo "warning: working around missing syslimits.h"; \
-		cp -f $(STAGING_DIR)/$(GCC_LIB_SUBDIR)/include/syslimits.h \
-			$(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR)/include/; \
+		cp -f $(STAGING_DIR)/$(GCC_LIB_SUBDIR)/$(GCC_INCLUDE_DIR)/syslimits.h \
+			$(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR)/$(GCC_INCLUDE_DIR)/; \
 	fi
 	# Make sure we have 'cc'.
 	if [ ! -e $(TARGET_DIR)/usr/bin/cc ]; then \

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2009-01-18 13:47     ` Sven Neumann
@ 2009-01-20  9:38       ` Peter Korsgaard
  0 siblings, 0 replies; 170+ messages in thread
From: Peter Korsgaard @ 2009-01-20  9:38 UTC (permalink / raw)
  To: buildroot

>>>>> "Sven" == Sven Neumann <s.neumann@phase-zero.de> writes:

 >> So what you are saying is that libmap builds with some other gcc
 >> version (4.2.4?), and not with 4.3.2? What arch are you on?

 Sven> Yes, libmad cross-compiles for ARM with gcc 4.2.4 but that
 Sven> build breaks when I change gcc to 4.3.2. That was the only
 Sven> thing I changed in this build.

Fixed in r24919.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2009-01-16 19:20   ` Peter Korsgaard
@ 2009-01-18 13:47     ` Sven Neumann
  2009-01-20  9:38       ` Peter Korsgaard
  0 siblings, 1 reply; 170+ messages in thread
From: Sven Neumann @ 2009-01-18 13:47 UTC (permalink / raw)
  To: buildroot

Hi,

On Fri, 2009-01-16 at 20:20 +0100, Peter Korsgaard wrote:

> So what you are saying is that libmap builds with some other gcc
> version (4.2.4?), and not with 4.3.2? What arch are you on?

Yes, libmad cross-compiles for ARM  with gcc 4.2.4 but that build breaks
when I change gcc to 4.3.2. That was the only thing I changed in this
build.


Sven

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2009-01-18  8:48         ` Shinya Kuribayashi
@ 2009-01-18 11:02           ` Peter Korsgaard
  0 siblings, 0 replies; 170+ messages in thread
From: Peter Korsgaard @ 2009-01-18 11:02 UTC (permalink / raw)
  To: buildroot

>>>>> "Shinya" == Shinya Kuribayashi <skuribay@ruby.dti.ne.jp> writes:


 >> Which for a bit of testing seems to be caused by the combination of
 >> -pedantic and -Wno-overlength-strings (any of the two are ok, but the
 >> combination isn't).

 Shinya> Hmm.  Could you give it a try with gcc 4.2.x?

Sure - It builds for me with 4.2.4:

gcc-4.2 --version                                                   ~
gcc-4.2 (GCC) 4.2.4 (Debian 4.2.4-5)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See http://uclibc.org/~jacmet/br/mips-4.1.log
See http://uclibc.org/~jacmet/br/mips-4.2.log

The gcc 4.1 issue also seems fixable (acx_cv_prog_cc_pedantic__Wno_long_long)

-- 
Bye, Peter Korsgaard

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2009-01-18  8:37       ` Peter Korsgaard
@ 2009-01-18  8:48         ` Shinya Kuribayashi
  2009-01-18 11:02           ` Peter Korsgaard
  0 siblings, 1 reply; 170+ messages in thread
From: Shinya Kuribayashi @ 2009-01-18  8:48 UTC (permalink / raw)
  To: buildroot

Peter Korsgaard wrote:
> And what host GCC version are you using?
> I just tried a build with HOSTCC=gcc-4.1 and it indeed fails for me
> (but with another error):

From the previous make log, it's gcc 4.2.4:

> GNU make version '3.81':                        Ok
> C compiler '/usr/bin/gcc'
> C compiler version '4.2.4':                     Ok
> C++ compiler '/usr/bin/g++'
> C++ compiler version '4.2.4':                   Ok

That's with:

gcc (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu3)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

And the builtin specs are:

skuribay at ubuntu:git$ gcc -v < /dev/null 
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)

> Which for a bit of testing seems to be caused by the combination of
> -pedantic and -Wno-overlength-strings (any of the two are ok, but the
> combination isn't).

Hmm.  Could you give it a try with gcc 4.2.x?

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2009-01-17 23:07     ` Shinya Kuribayashi
@ 2009-01-18  8:37       ` Peter Korsgaard
  2009-01-18  8:48         ` Shinya Kuribayashi
  0 siblings, 1 reply; 170+ messages in thread
From: Peter Korsgaard @ 2009-01-18  8:37 UTC (permalink / raw)
  To: buildroot

>>>>> "Shinya" == Shinya Kuribayashi <skuribay@ruby.dti.ne.jp> writes:

Hi,

 >> And 4.2.4 works for you?

 Shinya> Yes (forgot to mention, sorry).

 Shinya> As Frank pointed out, this problem seems to be related to the host gcc
 Shinya> version.  I'll check the config.log and let you know what internally
 Shinya> happens.

And what host GCC version are you using?
I just tried a build with HOSTCC=gcc-4.1 and it indeed fails for me
(but with another error):

gcc-4.1  -c  -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
-Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H
-I. -I/tmp/br/mips-4.1/toolchain_build_mips/gcc-4.3.2/fixincludes
-I../include
-I/tmp/br/mips-4.1/toolchain_build_mips/gcc-4.3.2/fixincludes/../include
/tmp/br/mips-4.1/toolchain_build_mips/gcc-4.3.2/fixincludes/fixincl.c
/tmp/br/mips-4.1/toolchain_build_mips/gcc-4.3.2/fixincludes/fixincl.x:7947: warning: string length `575' is greater than the length `509' ISO C89 compilers are required to support
cc1: error: unrecognized command line option "-Wno-overlength-strings"
make[2]: *** [fixincl.o] Error 1
make[2]: Leaving directory
`/home/peko/tmp/br/mips-4.1/toolchain_build_mips/gcc-4.3.2-initial/build-x86_64-pc-linux-gnu/fixincludes'

Which for a bit of testing seems to be caused by the combination of
-pedantic and -Wno-overlength-strings (any of the two are ok, but the
combination isn't).

That's with:

gcc-4.1 (GCC) 4.1.3 20080704 (prerelease) (Debian 4.1.2-24)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2009-01-17 22:38 Frank Hoeflich
@ 2009-01-17 23:53 ` Shinya Kuribayashi
  0 siblings, 0 replies; 170+ messages in thread
From: Shinya Kuribayashi @ 2009-01-17 23:53 UTC (permalink / raw)
  To: buildroot

Frank Hoeflich wrote:
>     I believe you will find messages similar to the following in your
>     config.log:
> 
> /tmp/br/powerpc/toolchain_build_powerpc/gcc-4.3.2-initial/./gcc/cc1:
> error while loading shared libraries: libmpfr.so.1: cannot open shared
> object file: No such file or directory

It seems.  Here you are:

[toolchain_build_mips/gcc-4.3.2-initial/mips-linux-uclibc/libgcc/config.log]

--- 8< --- 8< --- 8< ---
Reading specs from /home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial/./gcc/specs
Target: mips-linux-uclibc
Configured with: /home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2/configure --prefix=/home/skuribay/git/buildroot.git/build_mips/staging_dir/usr --build=i386-pc-linux-gnu --host=i386-pc-linux-gnu --target=mips-linux-uclibc --enable-languages=c --with-sysroot=/home/skuribay/git/buildroot.git/toolchain_build_mips/uClibc_dev/ --disable-__cxa_atexit --enable-target-optspace --with-gnu-ld --disable-shared --with-gmp=/home/skuribay/git/buildroot.git/toolchain_build_mips/gmp --with-mpfr=/home/skuribay/git/buildroot.git/toolchain_build_mips/mpfr --disable-nls --enable-threads --disable-multilib --disable-decimal-float --with-abi=32 --with-tune=mips4 -q --silent
Thread model: posix
gcc version 4.3.2 (GCC)
configure:2374: $? = 0
configure:2376:  /home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial/./gcc/xgcc -B/home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial/./gcc/ -B/home/skuribay/git/buildroot.git/build_mips/staging_dir/usr/mips-linux-uclibc/bin/ -B/home/skuribay/git/buildroot.git/build_mips/staging_dir/usr/mips-linux-uclibc/lib/ -isystem /home/skuribay/git/buildroot.git/build_mips/staging_dir/usr/mips-linux-uclibc/include -isystem /home/skuribay/git/buildroot.git/build_mips/staging_dir/usr/mips-linux-uclibc/sys-include -V </dev/null >&5
xgcc: '-V' must come at the start of the command line
configure:2379: $? = 1
configure:2398:  /home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial/./gcc/xgcc -B/home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial/./gcc/ -B/home/skuribay/git/buildroot.git/build_mips/staging_dir/usr/mips-linux-uclibc/bin/ -B/home/skuribay/git/buildroot.git/build_mips/staging_dir/usr/mips-linux-uclibc/lib/ -isystem /home/skuribay/git/buildroot.git/build_mips/staging_dir/usr/mips-linux-uclibc/include -isystem /home/skuribay/git/buildroot.git/build_mips/staging_dir/usr/mips-linux-uclibc/sys-include -o conftest -g -Os   conftest.c  >&5
/home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial/./gcc/cc1: error while loading shared libraries: libmpfr.so.1: cannot open shared object file: No such file or directory
configure:2401: $? = 1
configure:2567: checking for suffix of object files
configure:2588:  /home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial/./gcc/xgcc -B/home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial/./gcc/ -B/home/skuribay/git/buildroot.git/build_mips/staging_dir/usr/mips-linux-uclibc/bin/ -B/home/skuribay/git/buildroot.git/build_mips/staging_dir/usr/mips-linux-uclibc/lib/ -isystem /home/skuribay/git/buildroot.git/build_mips/staging_dir/usr/mips-linux-uclibc/include -isystem /home/skuribay/git/buildroot.git/build_mips/staging_dir/usr/mips-linux-uclibc/sys-include -c -g -Os  conftest.c >&5
/home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial/./gcc/cc1: error while loading shared libraries: libmpfr.so.1: cannot open shared object file: No such file or directory
configure:2591: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2605: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
--- 8< --- 8< --- 8< ---

> away.  If you have a downrev host gcc, try upgrading it - the rc1
> candidate should build.

I'm sticking to ubuntu 8.04.01 for now, so couldn't give it a try,
sorry.

>     If the BR tools aren't going to flag this sort of downrev host
>     tool issue explicitly, there should at least be a note in the docs
>     about it somewhere (e.g. host gcc version 4.1.1-2 is known to be
>     too old to build this BR release, use at least 4.3.0-2).

Fully agreed, this is what I wanted to point out.  Thanks for your
clarification, Frank-san.

  Shinya

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2009-01-17 16:29   ` Peter Korsgaard
@ 2009-01-17 23:07     ` Shinya Kuribayashi
  2009-01-18  8:37       ` Peter Korsgaard
  0 siblings, 1 reply; 170+ messages in thread
From: Shinya Kuribayashi @ 2009-01-17 23:07 UTC (permalink / raw)
  To: buildroot

Peter Korsgaard wrote:
>>>>>> "Shinya" == Shinya Kuribayashi <skuribay@ruby.dti.ne.jp> writes:
> 
>  >> -	default BR2_GCC_VERSION_4_2_4 if !BR2_avr32
>  >> +	default BR2_GCC_VERSION_4_3_2 if !BR2_avr32
>  >> default BR2_GCC_VERSION_4_2_3 if BR2_avr32
>  >> help
>  >> Select the version of gcc you wish to use.
> 
>  Shinya> GCC 4.3.2 bootstrap failed;  mips, mips4 and o32 on Ubuntu 8.04.01.
> 
> Strange, mips worked here (Debian)
> 
> uclibc.org/~jacmet/br/mips.log

Thanks for your confirmation.

> And 4.2.4 works for you?

Yes (forgot to mention, sorry).

As Frank pointed out, this problem seems to be related to the host gcc
version.  I'll check the config.log and let you know what internally
happens.

  Shinya

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2009-01-17 22:38 Frank Hoeflich
  2009-01-17 23:53 ` Shinya Kuribayashi
  0 siblings, 1 reply; 170+ messages in thread
From: Frank Hoeflich @ 2009-01-17 22:38 UTC (permalink / raw)
  To: buildroot

Shinya:

    I believe you will find messages similar to the following in your config.log:

/tmp/br/powerpc/toolchain_build_powerpc/gcc-4.3.2-initial/./gcc/cc1: error while loading shared libraries: libmpfr.so.1: cannot open shared object file: No such file or directory

I had a similar problem building for an ARM target with a Fedora Core 6 host using gcc 4.1.1 as my *host* compiler, a clean tree and Peter's br-build-ARCH.sh script.  Hamish's post of 1/13/09 with the subject "Re: [Buildroot] arch support" seemed to indicate that this failure always occurs with host gcc 4.1.2 but could work with a host gcc 4.3.2.  I repeated the build on a clean unpack of the same tree in Fedora 9 (which has gcc 4.3.0 out of the box) and this problem went away.  If you have a downrev host gcc, try upgrading it - the rc1 candidate should build.

    If the BR tools aren't going to flag this sort of downrev host tool issue explicitly, there should at least be a note in the docs about it somewhere (e.g. host gcc version 4.1.1-2 is known to be too old to build this BR release, use at least 4.3.0-2).

--Frank

>From: "Peter Korsgaard" <jacmet@uclibc.org>
>To: "Shinya Kuribayashi" <skuribay@ruby.dti.ne.jp>
>Cc: buildroot at uclibc.org
>>>>> "Shinya" == Shinya Kuribayashi <skuribay@ruby.dti.ne.jp> writes:

>>> -    default BR2_GCC_VERSION_4_2_4 if !BR2_avr32
>>> +    default BR2_GCC_VERSION_4_3_2 if !BR2_avr32
>>> default BR2_GCC_VERSION_4_2_3 if BR2_avr32
>>> help
>>> Select the version of gcc you wish to use.
>
>Shinya> GCC 4.3.2 bootstrap failed;  mips, mips4 and o32 on Ubuntu 8.04.01.
>
>Strange, mips worked here (Debian)
>
>uclibc.org/~jacmet/br/mips.log
>
>And 4.2.4 works for you?
>
>-- 
>Bye, Peter Korsgaard


      

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2009-01-17 15:37 ` Shinya Kuribayashi
@ 2009-01-17 16:29   ` Peter Korsgaard
  2009-01-17 23:07     ` Shinya Kuribayashi
  0 siblings, 1 reply; 170+ messages in thread
From: Peter Korsgaard @ 2009-01-17 16:29 UTC (permalink / raw)
  To: buildroot

>>>>> "Shinya" == Shinya Kuribayashi <skuribay@ruby.dti.ne.jp> writes:

 >> -	default BR2_GCC_VERSION_4_2_4 if !BR2_avr32
 >> +	default BR2_GCC_VERSION_4_3_2 if !BR2_avr32
 >> default BR2_GCC_VERSION_4_2_3 if BR2_avr32
 >> help
 >> Select the version of gcc you wish to use.

 Shinya> GCC 4.3.2 bootstrap failed;  mips, mips4 and o32 on Ubuntu 8.04.01.

Strange, mips worked here (Debian)

uclibc.org/~jacmet/br/mips.log

And 4.2.4 works for you?

-- 
Bye, Peter Korsgaard

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2009-01-16 14:13 jacmet at uclibc.org
  2009-01-16 16:36 ` Sven Neumann
@ 2009-01-17 15:37 ` Shinya Kuribayashi
  2009-01-17 16:29   ` Peter Korsgaard
  1 sibling, 1 reply; 170+ messages in thread
From: Shinya Kuribayashi @ 2009-01-17 15:37 UTC (permalink / raw)
  To: buildroot

jacmet at uclibc.org wrote:
> Author: jacmet
> Date: 2009-01-16 14:13:46 +0000 (Fri, 16 Jan 2009)
> New Revision: 24880
> 
> Log:
> toolchain/gcc: default to 4.3.2 for !AVR32
> 
> Modified:
>    trunk/buildroot/toolchain/gcc/Config.in
> 
> 
> Changeset:
> Modified: trunk/buildroot/toolchain/gcc/Config.in
> ===================================================================
> --- trunk/buildroot/toolchain/gcc/Config.in	2009-01-16 13:56:23 UTC (rev 24879)
> +++ trunk/buildroot/toolchain/gcc/Config.in	2009-01-16 14:13:46 UTC (rev 24880)
> @@ -4,7 +4,7 @@
>  
>  choice
>  	prompt "GCC compiler Version"
> -	default BR2_GCC_VERSION_4_2_4 if !BR2_avr32
> +	default BR2_GCC_VERSION_4_3_2 if !BR2_avr32
>  	default BR2_GCC_VERSION_4_2_3 if BR2_avr32
>  	help
>  	  Select the version of gcc you wish to use.

GCC 4.3.2 bootstrap failed;  mips, mips4 and o32 on Ubuntu 8.04.01.

skuribay at ubuntu:buildroot.git$ make

Checking build system dependencies:
BUILDROOT_DL_DIR clean:                         Ok
CC clean:                                       Ok
CXX clean:                                      Ok
CPP clean:                                      Ok
CFLAGS clean:                                   Ok
INCLUDES clean:                                 Ok
CXXFLAGS clean:                                 Ok
which installed:                                Ok
sed works:                                      Ok (/bin/sed)
GNU make version '3.81':                        Ok
C compiler '/usr/bin/gcc'
C compiler version '4.2.4':                     Ok
C++ compiler '/usr/bin/g++'
C++ compiler version '4.2.4':                   Ok
awk installed:                                  Ok
bash installed:                                 Ok
bison installed:                                Ok
flex installed:                                 Ok
gettext installed:                              Ok
makeinfo installed:                             Ok
Build system dependencies:                      Ok

rm -rf /home/skuribay/git/buildroot.git/project_build_mips/uclibc/buildroot-config
mkdir -p /home/skuribay/git/buildroot.git/project_build_mips/uclibc
cp -dpRf package/config/buildroot-config /home/skuribay/git/buildroot.git/project_build_mips/uclibc/buildroot-config
# gcc >= 4.3.0 have to also build all-target-libgcc
/usr/bin/make -j1 -C /home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial all-gcc all-target-libgcc
make[1]: Entering directory `/home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial'
make[2]: Entering directory `/home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial/libiberty'
make[3]: Entering directory `/home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial/libiberty/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial/libiberty/testsuite'
make[2]: Leaving directory `/home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial/libiberty'
make[2]: Entering directory `/home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial/intl'
make[2]: Entering directory `/home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial/build-i386-pc-linux-gnu/libiberty'
make[3]: Entering directory `/home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial/build-i386-pc-linux-gnu/libiberty/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial/build-i386-pc-linux-gnu/libiberty/testsuite'
make[2]: Leaving directory `/home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial/build-i386-pc-linux-gnu/libiberty'
make[2]: Entering directory `/home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial/build-i386-pc-linux-gnu/fixincludes'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial/build-i386-pc-linux-gnu/fixincludes'
make[2]: Entering directory `/home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial/libcpp'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial/libcpp'
make[2]: Entering directory `/home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial/libdecnumber'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial/libdecnumber'
make[2]: Entering directory `/home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial/fixincludes'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial/fixincludes'
make[2]: Entering directory `/home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial/gcc'
make[2]: Leaving directory `/home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial/gcc'
Checking multilib configuration for libgcc...
Configuring in mips-linux-uclibc/libgcc
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[1]: *** [configure-target-libgcc] Error 1
make[1]: Leaving directory `/home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial'
make: *** [/home/skuribay/git/buildroot.git/toolchain_build_mips/gcc-4.3.2-initial/.compiled] Error 2
skuribay at ubuntu:buildroot.git$


I happend to find a similar report with my condition[1], but this 4.3.2
bootstrap failure is frequently seen with GCC 4.3 as far as I googled.

Just let you know, thank you.

  Shinya

[1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38035

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2009-01-16 16:36 ` Sven Neumann
@ 2009-01-16 19:20   ` Peter Korsgaard
  2009-01-18 13:47     ` Sven Neumann
  0 siblings, 1 reply; 170+ messages in thread
From: Peter Korsgaard @ 2009-01-16 19:20 UTC (permalink / raw)
  To: buildroot

>>>>> "Sven" == Sven Neumann <s.neumann@phase-zero.de> writes:

Hi,

 >> toolchain/gcc: default to 4.3.2 for !AVR32

 Sven> I've tried to follow this change in our tree, but ran into the
 Sven> following error when building libmad:

 Sven>  cc1: error: unrecognized command line option "-fforce-mem"

So what you are saying is that libmap builds with some other gcc
version (4.2.4?), and not with 4.3.2? What arch are you on?

 Sven> I guess this can somehow be fixed in the libmad package. Just
 Sven> wanted to let you know.

Thanks.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2009-01-16 14:13 jacmet at uclibc.org
@ 2009-01-16 16:36 ` Sven Neumann
  2009-01-16 19:20   ` Peter Korsgaard
  2009-01-17 15:37 ` Shinya Kuribayashi
  1 sibling, 1 reply; 170+ messages in thread
From: Sven Neumann @ 2009-01-16 16:36 UTC (permalink / raw)
  To: buildroot

Hi,

On Fri, 2009-01-16 at 14:13 +0000, jacmet at uclibc.org wrote:
> Author: jacmet
> Date: 2009-01-16 14:13:46 +0000 (Fri, 16 Jan 2009)
> New Revision: 24880
> 
> Log:
> toolchain/gcc: default to 4.3.2 for !AVR32

I've tried to follow this change in our tree, but ran into the following
error when building libmad:

 cc1: error: unrecognized command line option "-fforce-mem"

I guess this can somehow be fixed in the libmad package. Just wanted to
let you know.


Sven
 

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2009-01-16 14:13 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2009-01-16 14:13 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-01-16 14:13:50 +0000 (Fri, 16 Jan 2009)
New Revision: 24881

Log:
toolchain/gcc: mark old versions as deprecated

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


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2009-01-16 14:13:46 UTC (rev 24880)
+++ trunk/buildroot/toolchain/gcc/Config.in	2009-01-16 14:13:50 UTC (rev 24881)
@@ -22,29 +22,35 @@
 	config BR2_GCC_VERSION_4_1_2
 		depends on !BR2_nios2
 		depends on BR2_EXT_GCC_VERSION_4_1_2
+		depends on BR2_DEPRECATED
 		bool "gcc 4.1.2"
 
 	config BR2_GCC_VERSION_4_2_1
 		depends on !BR2_nios2
 		depends on BR2_EXT_GCC_VERSION_4_2_1
+		depends on BR2_DEPRECATED
 		bool "gcc 4.2.1"
 
 	config BR2_GCC_VERSION_4_2_2
 		depends on BR2_avr32
 		depends on BR2_EXT_GCC_VERSION_4_2_2
+		depends on BR2_DEPRECATED
 		bool "gcc 4.2.2"
 
 	config BR2_GCC_VERSION_4_2_3
 		depends on !BR2_nios2
-		depends on BR2_EXT_GCC_VERSION_4_2_3 || BR2_DEPRECATED
+		depends on BR2_EXT_GCC_VERSION_4_2_3
+		depends on BR2_DEPRECATED || BR2_avr32
 		bool "gcc 4.2.3"
 
 	config BR2_GCC_VERSION_4_2_4
 		depends on !BR2_avr32 && !BR2_nios2
+		depends on BR2_RECENT || BR2_DEPRECATED
 		bool "gcc 4.2.4"
 
 	config BR2_GCC_VERSION_4_3_1
 		depends on !BR2_avr32 && !BR2_nios2
+		depends on BR2_RECENT || BR2_DEPRECATED
 		bool "gcc 4.3.1"
 
 	config BR2_GCC_VERSION_4_3_2

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2009-01-16 14:13 jacmet at uclibc.org
  2009-01-16 16:36 ` Sven Neumann
  2009-01-17 15:37 ` Shinya Kuribayashi
  0 siblings, 2 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2009-01-16 14:13 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-01-16 14:13:46 +0000 (Fri, 16 Jan 2009)
New Revision: 24880

Log:
toolchain/gcc: default to 4.3.2 for !AVR32

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


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2009-01-16 13:56:23 UTC (rev 24879)
+++ trunk/buildroot/toolchain/gcc/Config.in	2009-01-16 14:13:46 UTC (rev 24880)
@@ -4,7 +4,7 @@
 
 choice
 	prompt "GCC compiler Version"
-	default BR2_GCC_VERSION_4_2_4 if !BR2_avr32
+	default BR2_GCC_VERSION_4_3_2 if !BR2_avr32
 	default BR2_GCC_VERSION_4_2_3 if BR2_avr32
 	help
 	  Select the version of gcc you wish to use.

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-10-02 15:02 egtvedt at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: egtvedt at uclibc.org @ 2008-10-02 15:02 UTC (permalink / raw)
  To: buildroot

Author: egtvedt
Date: 2008-10-02 08:02:38 -0700 (Thu, 02 Oct 2008)
New Revision: 23579

Log:
gcc: make installation of shared libraries multi-project safe

This patch modifies the rule for installing the shared libraries into the
project_foo/.../autotools-stamps directory. This will make the installation of
GCC shared libraries be multi-project safe.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>



Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2008-10-02 14:32:07 UTC (rev 23578)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2008-10-02 15:02:38 UTC (rev 23579)
@@ -330,7 +330,7 @@
 	mkdir -p $(TARGET_DIR)/usr/lib $(TARGET_DIR)/usr/sbin
 	touch $@
 
-$(GCC_BUILD_DIR2)/.libs_installed: $(GCC_BUILD_DIR2)/.installed
+$(PROJECT_BUILD_DIR)/autotools-stamps/gcc_libs_target_installed: $(GCC_BUILD_DIR2)/.installed
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
 	# These are in /lib, so...
 	rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so*
@@ -355,10 +355,12 @@
 	cp -dpf $(STAGING_DIR)/usr/lib/security/classpath.security \
 		$(TARGET_DIR)/usr/lib/security/
 endif
+	mkdir -p $(@D)
 	touch $@
 
 cross_compiler:=$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc
-cross_compiler gcc: gcc-config $(GCC_BUILD_DIR2)/.installed $(GCC_BUILD_DIR2)/.libs_installed \
+cross_compiler gcc: gcc-config $(GCC_BUILD_DIR2)/.installed \
+	$(PROJECT_BUILD_DIR)/autotools-stamps/gcc_libs_target_installed \
 	$(GCC_TARGETS)
 
 gcc-source: $(DL_DIR)/$(GCC_SOURCE)
@@ -383,7 +385,7 @@
 #############################################################
 GCC_BUILD_DIR3:=$(BUILD_DIR)/gcc-$(GCC_VERSION)-target
 
-$(GCC_BUILD_DIR3)/.prepared: $(GCC_BUILD_DIR2)/.libs_installed $(GCC_TARGET_PREREQ)
+$(GCC_BUILD_DIR3)/.prepared: $(PROJECT_BUILD_DIR)/autotools-stamps/gcc_libs_target_installed $(GCC_TARGET_PREREQ)
 	mkdir -p $(GCC_BUILD_DIR3)
 	touch $@
 

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2008-10-02 14:32:07 UTC (rev 23578)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2008-10-02 15:02:38 UTC (rev 23579)
@@ -359,7 +359,7 @@
 	mkdir -p $(TARGET_DIR)/usr/lib $(TARGET_DIR)/usr/sbin
 	touch $@
 
-$(GCC_BUILD_DIR2)/.libs_installed: $(GCC_BUILD_DIR2)/.installed
+$(PROJECT_BUILD_DIR)/autotools-stamps/gcc_libs_target_installed: $(GCC_BUILD_DIR2)/.installed
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
 	# These are in /lib, so...
 	rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so*
@@ -385,12 +385,13 @@
 	cp -dpf $(STAGING_DIR)/usr/lib/security/classpath.security \
 		$(TARGET_DIR)/usr/lib/security/
 endif
+	mkdir -p $(@D)
 	touch $@
 
 cross_compiler:=$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc
 cross_compiler gcc: uclibc-configured binutils gcc_initial \
-	$(LIBFLOAT_TARGET) uclibc \
-	$(GCC_BUILD_DIR2)/.installed $(GCC_BUILD_DIR2)/.libs_installed \
+	$(LIBFLOAT_TARGET) uclibc $(GCC_BUILD_DIR2)/.installed \
+	$(PROJECT_BUILD_DIR)/autotools-stamps/gcc_libs_target_installed \
 	$(GCC_TARGETS)
 
 gcc-source: $(DL_DIR)/$(GCC_SOURCE)
@@ -412,7 +413,7 @@
 #############################################################
 GCC_BUILD_DIR3:=$(BUILD_DIR)/gcc-$(GCC_VERSION)-target
 
-$(GCC_BUILD_DIR3)/.prepared: $(GCC_BUILD_DIR2)/.libs_installed $(GCC_TARGET_PREREQ)
+$(GCC_BUILD_DIR3)/.prepared: $(PROJECT_BUILD_DIR)/autotools-stamps/gcc_libs_target_installed $(GCC_TARGET_PREREQ)
 	mkdir -p $(GCC_BUILD_DIR3)
 	touch $@
 

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-10-02 14:32 egtvedt at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: egtvedt at uclibc.org @ 2008-10-02 14:32 UTC (permalink / raw)
  To: buildroot

Author: egtvedt
Date: 2008-10-02 07:32:07 -0700 (Thu, 02 Oct 2008)
New Revision: 23578

Log:
gcc: make sure that /usr/lib exists on target before installing shared libs

On very lite systems the /usr/lib directory might not exist before libstdc++ is
installed. This patch makes sure the directory exists.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>



Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2008-10-02 14:24:45 UTC (rev 23577)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2008-10-02 14:32:07 UTC (rev 23578)
@@ -340,6 +340,7 @@
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
+	mkdir -p $(TARGET_DIR)/usr/lib
 	-cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
 	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libstdc++.so*
 endif

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2008-10-02 14:24:45 UTC (rev 23577)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2008-10-02 14:32:07 UTC (rev 23578)
@@ -369,6 +369,7 @@
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
+	mkdir -p $(TARGET_DIR)/usr/lib
 	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libstdc++.so* \
 		$(TARGET_DIR)/usr/lib/
 	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libstdc++.so*

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2008-09-17 11:45             ` Fathi Boudra
@ 2008-09-17 14:03               ` Peter Korsgaard
  0 siblings, 0 replies; 170+ messages in thread
From: Peter Korsgaard @ 2008-09-17 14:03 UTC (permalink / raw)
  To: buildroot

>>>>> "Fathi" == Fathi Boudra <fboudra@gmail.com> writes:

 Fathi> what about backport "add decimal float handling" commit from
 Fathi> Bernhard's git repo. ?

 Fathi>     Please refresh my memory - What does that fix?


 Fathi> Fix gcc-4.3.x build failure on missing fenv.h.
 Fathi> To workaround the issue, we need --disable-decimal-float
 Fathi> so $(GCC_DECIMAL_FLOAT) was introduced.

Ok, I'll merge that chunk.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2008-09-17 11:33           ` Peter Korsgaard
@ 2008-09-17 11:45             ` Fathi Boudra
  2008-09-17 14:03               ` Peter Korsgaard
  0 siblings, 1 reply; 170+ messages in thread
From: Fathi Boudra @ 2008-09-17 11:45 UTC (permalink / raw)
  To: buildroot

>  Fathi> what about backport "add decimal float handling" commit from
>  Fathi> Bernhard's git repo. ?
>
> Please refresh my memory - What does that fix?


Fix gcc-4.3.x build failure on missing fenv.h.
To workaround the issue, we need --disable-decimal-float
so $(GCC_DECIMAL_FLOAT) was introduced.


> I don't recall ever getting an answer from Bernhard on that mail ..


He didn't replied to the thread.

He introduced a configure option to handle decimal float which is a bit
nicer from my POV.

+choice
+       prompt "GCC decimal floating types"
+       default BR2_GCC_DECNUMBER_no
+       help
+         As an extension, the GNU C Compiler supports decimal float types
+         as defined in the N1176 draft ISO/IEC WDTR24732.
+
+config BR2_GCC_DECNUMBER_no
+       bool "no"
+config BR2_GCC_DECNUMBER_yes
+       bool "yes"
+config BR2_GCC_DECNUMBER_bid
+       bool "bid"
+config BR2_GCC_DECNUMBER_dpd
+       bool "dpd"
+endchoice
+
+config BR2_GCC_DECNUMBER
+       string
+       default "no"  if BR2_GCC_DECNUMBER_no
+       default "yes" if BR2_GCC_DECNUMBER_yes
+       default "bid" if BR2_GCC_DECNUMBER_bid
+       default "dpd" if BR2_GCC_DECNUMBER_dpd

cheers,

Fathi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080917/6abffb35/attachment.htm 

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2008-09-17 11:12         ` Fathi Boudra
@ 2008-09-17 11:33           ` Peter Korsgaard
  2008-09-17 11:45             ` Fathi Boudra
  0 siblings, 1 reply; 170+ messages in thread
From: Peter Korsgaard @ 2008-09-17 11:33 UTC (permalink / raw)
  To: buildroot

>>>>> "Fathi" == Fathi Boudra <fboudra@gmail.com> writes:

Hi,

 Fathi> what about backport "add decimal float handling" commit from
 Fathi> Bernhard's git repo. ?

Please refresh my memory - What does that fix? I don't recall ever
getting an answer from Bernhard on that mail ..

-- 
Bye, Peter Korsgaard

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2008-06-22 20:52       ` Peter Korsgaard
@ 2008-09-17 11:12         ` Fathi Boudra
  2008-09-17 11:33           ` Peter Korsgaard
  0 siblings, 1 reply; 170+ messages in thread
From: Fathi Boudra @ 2008-09-17 11:12 UTC (permalink / raw)
  To: buildroot

Hi,

 Bernhard> Exactly. And you can see from this exact discussion on why
>  Bernhard> the thing in svn is wrong.
>
> Wrong? What's wrong about it? I don't recollect seeing anything about
> it being wrong.
>


what about backport "add decimal float handling" commit from Bernhard's git
repo. ?

cheers,

Fathi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080917/3feafd7f/attachment.htm 

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-08-22 13:59 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2008-08-22 13:59 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-08-22 06:59:06 -0700 (Fri, 22 Aug 2008)
New Revision: 23178

Log:
gcc: only use -mfloat-abi for ARM, use -msoft-float for other archs

Patch by Wade Berrier.

Modified:
   trunk/buildroot/toolchain/gcc/Makefile.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2008-08-22 11:16:52 UTC (rev 23177)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2008-08-22 13:59:06 UTC (rev 23178)
@@ -40,8 +40,12 @@
 ifeq ($(BR2_SOFT_FLOAT_FP),y)
 TARGET_SOFT_FLOAT:=-mfloat-abi=softfp
 else # no fp at all
+ifeq ($(BR2_arm),y) # only set float-abi for arm
 TARGET_SOFT_FLOAT:=-mfloat-abi=soft
+else
+TARGET_SOFT_FLOAT:=-msoft-float
 endif
+endif
 else # not gcc-4.x
 TARGET_SOFT_FLOAT:=-msoft-float
 endif

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-07-08 19:31 ulf at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: ulf at uclibc.org @ 2008-07-08 19:31 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2008-07-08 12:31:30 -0700 (Tue, 08 Jul 2008)
New Revision: 22693

Log:
Fix AVR32 gcc patching, when sysroot option is not enabled

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2008-07-08 14:14:36 UTC (rev 22692)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2008-07-08 19:31:30 UTC (rev 22693)
@@ -36,7 +36,7 @@
 ifneq ($(BR2_TOOLCHAIN_BUILDROOT),y)
 GCC_SITE:=$(VENDOR_SITE)
 GCC_OFFICIAL_VER:=$(GCC_VERSION)$(VENDOR_SUFFIX)$(VENDOR_GCC_RELEASE)
-GCC_PATCH_DIR:=$(VENDOR_PATCH_DIR)/gcc-$(GCC_OFFICIAL_VER)
+GCC_PATCH_DIR:=toolchain/gcc/ext_source/$(VENDOR_PATCH_DIR)/$(GCC_OFFICIAL_VERSION)
 endif
 
 GCC_SOURCE:=gcc-$(GCC_OFFICIAL_VER).tar.bz2

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2008-06-22 20:18     ` Bernhard Fischer
@ 2008-06-22 20:52       ` Peter Korsgaard
  2008-09-17 11:12         ` Fathi Boudra
  0 siblings, 1 reply; 170+ messages in thread
From: Peter Korsgaard @ 2008-06-22 20:52 UTC (permalink / raw)
  To: buildroot

>>>>> "Bernhard" == Bernhard Fischer <rep.dot.nop@gmail.com> writes:

 Bernhard> On Sun, Jun 22, 2008 at 01:17:01PM +0200, Peter Korsgaard wrote:
 >>>>>>> "Luigi" == Luigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com> writes:
 >> 
 Luigi> Ciao,
 Luigi> why do we need this?
 >> 
 >> As it otherwise dies with a missing fenv.h.
 >> 
 >> See the recent discussion on the list.

 Bernhard> Exactly. And you can see from this exact discussion on why
 Bernhard> the thing in svn is wrong.

Wrong? What's wrong about it? I don't recollect seeing anything about
it being wrong.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2008-06-22 11:17   ` Peter Korsgaard
@ 2008-06-22 20:18     ` Bernhard Fischer
  2008-06-22 20:52       ` Peter Korsgaard
  0 siblings, 1 reply; 170+ messages in thread
From: Bernhard Fischer @ 2008-06-22 20:18 UTC (permalink / raw)
  To: buildroot

On Sun, Jun 22, 2008 at 01:17:01PM +0200, Peter Korsgaard wrote:
>>>>>> "Luigi" == Luigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com> writes:
>
> Luigi> Ciao,
> Luigi> why do we need this?
>
>As it otherwise dies with a missing fenv.h.
>
>See the recent discussion on the list.

Exactly. And you can see from this exact discussion on why the thing in
svn is wrong.

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2008-06-22 10:25 ` Luigi 'Comio' Mantellini
@ 2008-06-22 11:17   ` Peter Korsgaard
  2008-06-22 20:18     ` Bernhard Fischer
  0 siblings, 1 reply; 170+ messages in thread
From: Peter Korsgaard @ 2008-06-22 11:17 UTC (permalink / raw)
  To: buildroot

>>>>> "Luigi" == Luigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com> writes:

 Luigi> Ciao,
 Luigi> why do we need this?

As it otherwise dies with a missing fenv.h.

See the recent discussion on the list.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2008-06-21 19:47 jacmet at uclibc.org
@ 2008-06-22 10:25 ` Luigi 'Comio' Mantellini
  2008-06-22 11:17   ` Peter Korsgaard
  0 siblings, 1 reply; 170+ messages in thread
From: Luigi 'Comio' Mantellini @ 2008-06-22 10:25 UTC (permalink / raw)
  To: buildroot

Ciao,

why do we need this?

thanks,

luigi
On sab, 2008-06-21 at 12:47 -0700, jacmet at uclibc.org wrote:
> Author: jacmet
> Date: 2008-06-21 12:47:17 -0700 (Sat, 21 Jun 2008)
> New Revision: 22463
> 
> Log:
> toolchain/gcc: use --disable-decimal-float for 4.3.x
> 
> 
> Modified:
>    trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
> 
> 
> Changeset:
> Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
> ===================================================================
> --- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2008-06-20 21:45:27 UTC (rev 22462)
> +++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2008-06-21 19:47:17 UTC (rev 22463)
> @@ -141,6 +141,10 @@
>  EXTRA_GCC1_CONFIG_OPTIONS+=--without-headers
>  endif
>  
> +ifeq ($(BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE),y)
> +GCC_DECIMAL_FLOAT:=--disable-decimal-float
> +endif
> +
>  HOST_SOURCE+=gcc-source
>  
>  $(DL_DIR)/$(GCC_SOURCE):
> @@ -211,6 +215,7 @@
>  		$(DISABLE_NLS) \
>  		$(THREADS) \
>  		$(MULTILIB) \
> +		$(GCC_DECIMAL_FLOAT) \
>  		$(SOFT_FLOAT_CONFIG_OPTION) \
>  		$(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
>  		$(EXTRA_GCC_CONFIG_OPTIONS) \
> @@ -284,6 +289,7 @@
>  		$(DISABLE_NLS) \
>  		$(THREADS) \
>  		$(MULTILIB) \
> +		$(GCC_DECIMAL_FLOAT) \
>  		$(SOFT_FLOAT_CONFIG_OPTION) \
>  		$(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
>  		$(GCC_USE_SJLJ_EXCEPTIONS) \
> @@ -429,6 +435,7 @@
>  		$(DISABLE_NLS) \
>  		$(THREADS) \
>  		$(MULTILIB) \
> +		$(GCC_DECIMAL_FLOAT) \
>  		$(SOFT_FLOAT_CONFIG_OPTION) \
>  		$(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
>  		$(GCC_USE_SJLJ_EXCEPTIONS) \
> 
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
-- 
     ______       Luigi Mantellini
   .'______'.     R&D - Software
  (.'      '.)    Industrie Dial Face S.p.A.
  ( :=----=: )    Via Canzo, 4
  ('.______.')    20068 Peschiera Borromeo (MI), Italy
   '.______.'     Tel.: +39 02 5167 2813
                  Fax:  +39 02 5167 2459
Ind.  Dial Face   Email: luigi.mantellini at idf-hit.com
www.idf-hit.com   GPG fingerprint: 3DD1 7B71 FBDF 6376 1B4A
                                   B003 175F E979 907E 1650

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-06-21 19:47 jacmet at uclibc.org
  2008-06-22 10:25 ` Luigi 'Comio' Mantellini
  0 siblings, 1 reply; 170+ messages in thread
From: jacmet at uclibc.org @ 2008-06-21 19:47 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-06-21 12:47:17 -0700 (Sat, 21 Jun 2008)
New Revision: 22463

Log:
toolchain/gcc: use --disable-decimal-float for 4.3.x


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2008-06-20 21:45:27 UTC (rev 22462)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2008-06-21 19:47:17 UTC (rev 22463)
@@ -141,6 +141,10 @@
 EXTRA_GCC1_CONFIG_OPTIONS+=--without-headers
 endif
 
+ifeq ($(BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE),y)
+GCC_DECIMAL_FLOAT:=--disable-decimal-float
+endif
+
 HOST_SOURCE+=gcc-source
 
 $(DL_DIR)/$(GCC_SOURCE):
@@ -211,6 +215,7 @@
 		$(DISABLE_NLS) \
 		$(THREADS) \
 		$(MULTILIB) \
+		$(GCC_DECIMAL_FLOAT) \
 		$(SOFT_FLOAT_CONFIG_OPTION) \
 		$(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
 		$(EXTRA_GCC_CONFIG_OPTIONS) \
@@ -284,6 +289,7 @@
 		$(DISABLE_NLS) \
 		$(THREADS) \
 		$(MULTILIB) \
+		$(GCC_DECIMAL_FLOAT) \
 		$(SOFT_FLOAT_CONFIG_OPTION) \
 		$(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
 		$(GCC_USE_SJLJ_EXCEPTIONS) \
@@ -429,6 +435,7 @@
 		$(DISABLE_NLS) \
 		$(THREADS) \
 		$(MULTILIB) \
+		$(GCC_DECIMAL_FLOAT) \
 		$(SOFT_FLOAT_CONFIG_OPTION) \
 		$(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
 		$(GCC_USE_SJLJ_EXCEPTIONS) \

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-06-19 19:06 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2008-06-19 19:06 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-06-19 12:05:59 -0700 (Thu, 19 Jun 2008)
New Revision: 22452

Log:
toolchain/gcc: mark old versions as deprecated


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


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2008-06-19 08:11:51 UTC (rev 22451)
+++ trunk/buildroot/toolchain/gcc/Config.in	2008-06-19 19:05:59 UTC (rev 22452)
@@ -11,6 +11,7 @@
 
 	config BR2_GCC_VERSION_3_4_6
 		depends on !BR2_avr32
+		depends on BR2_DEPRECATED
 		bool "gcc 3.4.6"
 
 	config BR2_GCC_VERSION_4_0_4
@@ -30,6 +31,7 @@
 
 	config BR2_GCC_VERSION_4_2_3
 		depends on !BR2_avr32 && !BR2_nios2
+		depends on BR2_DEPRECATED
 		bool "gcc 4.2.3"
 
 	config BR2_GCC_VERSION_4_2_4

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2008-06-19  0:38 ` Hamish Moffatt
@ 2008-06-19  7:01   ` Peter Korsgaard
  0 siblings, 0 replies; 170+ messages in thread
From: Peter Korsgaard @ 2008-06-19  7:01 UTC (permalink / raw)
  To: buildroot

>>>>> "Hamish" == Hamish Moffatt <hamish@cloud.net.au> writes:

 Hamish> On Wed, Jun 18, 2008 at 08:46:49AM -0700, jacmet at uclibc.org wrote:
 >> Author: jacmet
 >> Date: 2008-06-18 08:46:48 -0700 (Wed, 18 Jun 2008)
 >> New Revision: 22430
 >> 
 >> Log:
 >> toolchain/gcc: use $(@D)

 Hamish> Umm that's not very descriptive :) What does $(@D) do and why is it
 Hamish> preferable to the previous value?

$(@D) is the directory part of the target, and it's preferable for the
same reason we are replacing explicit target names with $@.

Would you rather have a commit message like:

toolchain/gcc: misc cleanup ?

It's not really important, but I'm running though the changes Bernhard
has made to toolchain/gcc as I'm going to take the 4.3.x patches,
and I'm applying the trivial fixes I see.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2008-06-18 15:46 jacmet at uclibc.org
@ 2008-06-19  0:38 ` Hamish Moffatt
  2008-06-19  7:01   ` Peter Korsgaard
  0 siblings, 1 reply; 170+ messages in thread
From: Hamish Moffatt @ 2008-06-19  0:38 UTC (permalink / raw)
  To: buildroot

On Wed, Jun 18, 2008 at 08:46:49AM -0700, jacmet at uclibc.org wrote:
> Author: jacmet
> Date: 2008-06-18 08:46:48 -0700 (Wed, 18 Jun 2008)
> New Revision: 22430
> 
> Log:
> toolchain/gcc: use $(@D)

Umm that's not very descriptive :) What does $(@D) do and why is it
preferable to the previous value?

> -	$(CONFIG_UPDATE) $(GCC_DIR)
> +	$(CONFIG_UPDATE) $(@D)
>  	touch $@

thanks
Hamish
-- 
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2008-06-18 17:59   ` Peter Korsgaard
@ 2008-06-18 18:29     ` Bernhard Fischer
  0 siblings, 0 replies; 170+ messages in thread
From: Bernhard Fischer @ 2008-06-18 18:29 UTC (permalink / raw)
  To: buildroot

On Wed, Jun 18, 2008 at 07:59:58PM +0200, Peter Korsgaard wrote:
>>>>>> "Thiago" == Thiago A Corr?a <thiago.correa@gmail.com> writes:
>
> >> config BR2_GCC_VERSION_4_0_4
> >> -               depends !BR2_avr32 && !BR2_nios2
> >> -               depends BR2_DEPRECATED
> >> +               depends on !BR2_avr32 && !BR2_nios2
> >> +               depends on BR2_DEPRECATED
> >> bool "gcc 4.0.4"
>
> Thiago> Hi Peter,
>
> Thiago>     I'm not familiar with the kconfig details. Is there a
> Thiago> difference between depends and depends on? Or is it just
> Thiago> syntax sugar?
>
>According to Documentation/kbuild/kconfig-language.txt in the kernel
>sources, the correct syntax is 'depends on', we were just lucky that
>the Kconfig parser was forgiving on this.

ACK. If you guys ever update to visualise "selects" et al better then
all of them need fixing. Needless to say that the git repo
( http://repo.or.cz/w/buildroot ) already has all this..

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2008-06-18 16:33 ` Thiago A. Corrêa
@ 2008-06-18 17:59   ` Peter Korsgaard
  2008-06-18 18:29     ` Bernhard Fischer
  0 siblings, 1 reply; 170+ messages in thread
From: Peter Korsgaard @ 2008-06-18 17:59 UTC (permalink / raw)
  To: buildroot

>>>>> "Thiago" == Thiago A Corr?a <thiago.correa@gmail.com> writes:

 >> config BR2_GCC_VERSION_4_0_4
 >> -               depends !BR2_avr32 && !BR2_nios2
 >> -               depends BR2_DEPRECATED
 >> +               depends on !BR2_avr32 && !BR2_nios2
 >> +               depends on BR2_DEPRECATED
 >> bool "gcc 4.0.4"

 Thiago> Hi Peter,

 Thiago>     I'm not familiar with the kconfig details. Is there a
 Thiago> difference between depends and depends on? Or is it just
 Thiago> syntax sugar?

According to Documentation/kbuild/kconfig-language.txt in the kernel
sources, the correct syntax is 'depends on', we were just lucky that
the Kconfig parser was forgiving on this.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2008-06-18 15:42 jacmet at uclibc.org
@ 2008-06-18 16:33 ` Thiago A. Corrêa
  2008-06-18 17:59   ` Peter Korsgaard
  0 siblings, 1 reply; 170+ messages in thread
From: Thiago A. Corrêa @ 2008-06-18 16:33 UTC (permalink / raw)
  To: buildroot

>        config BR2_GCC_VERSION_4_0_4
> -               depends !BR2_avr32 && !BR2_nios2
> -               depends BR2_DEPRECATED
> +               depends on !BR2_avr32 && !BR2_nios2
> +               depends on BR2_DEPRECATED
>                bool "gcc 4.0.4"

Hi Peter,

    I'm not familiar with the kconfig details.
    Is there a difference between depends and depends on? Or is it
just syntax sugar?

Cheers,
    Thiago A. Correa

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-06-18 15:46 jacmet at uclibc.org
  2008-06-19  0:38 ` Hamish Moffatt
  0 siblings, 1 reply; 170+ messages in thread
From: jacmet at uclibc.org @ 2008-06-18 15:46 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-06-18 08:46:48 -0700 (Wed, 18 Jun 2008)
New Revision: 22430

Log:
toolchain/gcc: use $(@D)


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2008-06-18 15:45:00 UTC (rev 22429)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2008-06-18 15:46:48 UTC (rev 22430)
@@ -152,7 +152,7 @@
 	mkdir -p $(TOOL_BUILD_DIR)
 	rm -rf $(GCC_DIR)
 	$(GCC_CAT) $(DL_DIR)/$(GCC_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
-	$(CONFIG_UPDATE) $(GCC_DIR)
+	$(CONFIG_UPDATE) $(@D)
 	touch $@
 
 gcc-patched: $(GCC_DIR)/.patched

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-06-18 15:42 jacmet at uclibc.org
  2008-06-18 16:33 ` Thiago A. Corrêa
  0 siblings, 1 reply; 170+ messages in thread
From: jacmet at uclibc.org @ 2008-06-18 15:42 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-06-18 08:42:50 -0700 (Wed, 18 Jun 2008)
New Revision: 22428

Log:
toolchain/gcc: use depends on instead of depends


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


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2008-06-18 15:40:43 UTC (rev 22427)
+++ trunk/buildroot/toolchain/gcc/Config.in	2008-06-18 15:42:50 UTC (rev 22428)
@@ -14,37 +14,36 @@
 		bool "gcc 3.4.6"
 
 	config BR2_GCC_VERSION_4_0_4
-		depends !BR2_avr32 && !BR2_nios2
-		depends BR2_DEPRECATED
+		depends on !BR2_avr32 && !BR2_nios2
+		depends on BR2_DEPRECATED
 		bool "gcc 4.0.4"
 
 	config BR2_GCC_VERSION_4_1_2
-		depends !BR2_nios2
-		depends BR2_EXT_GCC_VERSION_4_1_2
+		depends on !BR2_nios2
+		depends on BR2_EXT_GCC_VERSION_4_1_2
 		bool "gcc 4.1.2"
 
 	config BR2_GCC_VERSION_4_2_1
-		depends !BR2_nios2
-		depends BR2_EXT_GCC_VERSION_4_2_1
+		depends on !BR2_nios2
+		depends on BR2_EXT_GCC_VERSION_4_2_1
 		bool "gcc 4.2.1"
 
 	config BR2_GCC_VERSION_4_2_3
-		depends !BR2_nios2 && !BR2_avr32
+		depends on !BR2_avr32 && !BR2_nios2
 		bool "gcc 4.2.3"
 
 	config BR2_GCC_VERSION_4_2_4
-		depends !BR2_nios2 && !BR2_avr32
+		depends on !BR2_avr32 && !BR2_nios2
 		bool "gcc 4.2.4"
 
 #	config BR2_GCC_VERSION_4_3
 #		depends !BR2_avr32 && !BR2_nios2
 #		select BR2_GCC_IS_SNAP
 #		bool "gcc 4.3"
-
 endchoice
 
 config BR2_GCC_IS_SNAP
-	depends !BR2_avr32
+	depends on !BR2_avr32
 	bool
 	default n
 
@@ -61,7 +60,7 @@
 config BR2_GCC_SNAP_DATE
 	string "GCC snapshot date"
 	default "20070921"
-	depends BR2_GCC_IS_SNAP
+	depends on BR2_GCC_IS_SNAP
 	help
 	  Enter snapshot date to use for gcc.  Format is:
 	  YYYYMMDD

Modified: trunk/buildroot/toolchain/gcc/Config.in.2
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in.2	2008-06-18 15:40:43 UTC (rev 22427)
+++ trunk/buildroot/toolchain/gcc/Config.in.2	2008-06-18 15:42:50 UTC (rev 22428)
@@ -8,7 +8,7 @@
 config BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS
 	string "Additional target gcc options"
 	default ""
-	depends BR2_PACKAGE_GCC_TARGET
+	depends on 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] 170+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2008-06-17 13:10 ` Hans-Christian Egtvedt
@ 2008-06-17 13:33   ` Peter Korsgaard
  0 siblings, 0 replies; 170+ messages in thread
From: Peter Korsgaard @ 2008-06-17 13:33 UTC (permalink / raw)
  To: buildroot

>>>>> "Hans-Christian" == Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> writes:

 Hans-Christian> On Tue, 2008-06-17 at 05:54 -0700, jacmet at uclibc.org wrote:
 >> Author: jacmet

 Hans-Christian> <snipp>

 >> -	-strip --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*
 >> +	-$(STRIPCMD) --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*

 Hans-Christian> $(STRIP_STRIP_UNNEEDED) as well?

Done (r22402).

-- 
Bye, Peter Korsgaard

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-06-17 13:33 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2008-06-17 13:33 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-06-17 06:33:02 -0700 (Tue, 17 Jun 2008)
New Revision: 22402

Log:
toolchain/gcc: use $(STRIP_STRIP_UNNEEDED)


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2008-06-17 13:30:35 UTC (rev 22401)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2008-06-17 13:33:02 UTC (rev 22402)
@@ -336,12 +336,12 @@
 	rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so*
 	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* \
 		$(TARGET_DIR)/lib/
-	-$(STRIPCMD) --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*
+	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/lib/libgcc_s*
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
 	-cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
-	-$(STRIPCMD) --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*
+	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libstdc++.so*
 endif
 endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2008-06-17 13:30:35 UTC (rev 22401)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2008-06-17 13:33:02 UTC (rev 22402)
@@ -349,13 +349,13 @@
 	rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so*
 	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* \
 		$(TARGET_DIR)/lib/
-	-$(STRIPCMD) --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*
+	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/lib/libgcc_s*
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
 	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libstdc++.so* \
 		$(TARGET_DIR)/usr/lib/
-	-$(STRIPCMD) --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*
+	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libstdc++.so*
 endif
 endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-06-17 13:28 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2008-06-17 13:28 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-06-17 06:28:37 -0700 (Tue, 17 Jun 2008)
New Revision: 22400

Log:
toolchain/gcc-4.x: strip cross libgcc / libstdc++


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2008-06-17 12:54:36 UTC (rev 22399)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2008-06-17 13:28:37 UTC (rev 22400)
@@ -349,11 +349,13 @@
 	rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so*
 	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* \
 		$(TARGET_DIR)/lib/
+	-$(STRIPCMD) --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
 	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libstdc++.so* \
 		$(TARGET_DIR)/usr/lib/
+	-$(STRIPCMD) --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*
 endif
 endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2008-06-17 12:54 jacmet at uclibc.org
@ 2008-06-17 13:10 ` Hans-Christian Egtvedt
  2008-06-17 13:33   ` Peter Korsgaard
  0 siblings, 1 reply; 170+ messages in thread
From: Hans-Christian Egtvedt @ 2008-06-17 13:10 UTC (permalink / raw)
  To: buildroot

On Tue, 2008-06-17 at 05:54 -0700, jacmet at uclibc.org wrote:
> Author: jacmet

<snipp>

> -	-strip --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*
> +	-$(STRIPCMD) --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*

$(STRIP_STRIP_UNNEEDED) as well?

>  endif
>  ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
>  ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
>  	-cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
> -	-strip --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*
> +	-$(STRIPCMD) --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*

Same here.

<snipp>

-- 
With kind regards,
Hans-Christian Egtvedt, Applications Engineer

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-06-17 12:54 jacmet at uclibc.org
  2008-06-17 13:10 ` Hans-Christian Egtvedt
  0 siblings, 1 reply; 170+ messages in thread
From: jacmet at uclibc.org @ 2008-06-17 12:54 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-06-17 05:54:36 -0700 (Tue, 17 Jun 2008)
New Revision: 22399

Log:
toolchain/gcc-3.x: strip cross libgcc / libstdc++ with cross-strip, not host.


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2008-06-17 12:45:39 UTC (rev 22398)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2008-06-17 12:54:36 UTC (rev 22399)
@@ -336,12 +336,12 @@
 	rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so*
 	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* \
 		$(TARGET_DIR)/lib/
-	-strip --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*
+	-$(STRIPCMD) --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
 	-cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
-	-strip --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*
+	-$(STRIPCMD) --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*
 endif
 endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-06-06 12:49 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2008-06-06 12:49 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-06-06 05:49:53 -0700 (Fri, 06 Jun 2008)
New Revision: 22249

Log:
toolchain: also use arch/tune/abi options when softfloat is enabled

The ifeq/endif nesting was wrong, so arch/tune/abi options where only set in
the non-softfloat case.


Modified:
   trunk/buildroot/toolchain/gcc/Makefile.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2008-06-06 10:31:39 UTC (rev 22248)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2008-06-06 12:49:53 UTC (rev 22249)
@@ -50,6 +50,8 @@
 SOFT_FLOAT_CONFIG_OPTION:=
 TARGET_SOFT_FLOAT:=
 ARCH_FPU_SUFFIX:=
+endif
+
 # some additional defaults
 ifneq ($(strip $(subst ",,$(BR2_GCC_TARGET_ARCH))),)
 # ")))
@@ -63,7 +65,6 @@
 # ")))
 GCC_WITH_ABI:=--with-abi=$(BR2_GCC_TARGET_ABI)
 endif
-endif
 
 # AVR32 GCC configuration
 ifeq ($(strip $(BR2_avr32)),y)

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-04-04 14:16 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2008-04-04 14:16 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-04-04 07:16:06 -0700 (Fri, 04 Apr 2008)
New Revision: 21636

Log:
toolchain/gcc: do not try to strip *-embedspu


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2008-04-04 12:23:28 UTC (rev 21635)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2008-04-04 14:16:06 UTC (rev 21636)
@@ -286,7 +286,7 @@
 	fi
 	# Strip the host binaries
 ifeq ($(GCC_STRIP_HOST_BINARIES),true)
-	strip --strip-all -R .note -R .comment $(filter-out %-gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
+	strip --strip-all -R .note -R .comment $(filter-out %-gccbug %-embedspu,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
 endif
 	# Make sure we have 'cc'.
 	if [ ! -e $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc ]; then \

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2008-04-04 12:23:28 UTC (rev 21635)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2008-04-04 14:16:06 UTC (rev 21636)
@@ -299,7 +299,7 @@
 	fi
 	# Strip the host binaries
 ifeq ($(GCC_STRIP_HOST_BINARIES),true)
-	strip --strip-all -R .note -R .comment $(filter-out %-gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
+	strip --strip-all -R .note -R .comment $(filter-out %-gccbug %-embedspu,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
 endif
 	# Make sure we have 'cc'.
 	if [ ! -e $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc ]; then \

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-03-30  8:07 nkukard at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: nkukard at uclibc.org @ 2008-03-30  8:07 UTC (permalink / raw)
  To: buildroot

Author: nkukard
Date: 2008-03-30 01:07:53 -0700 (Sun, 30 Mar 2008)
New Revision: 21576

Log:
* Remove legacy GCC 4.1.x versions


Removed:
   trunk/buildroot/toolchain/gcc/4.1.0/
   trunk/buildroot/toolchain/gcc/4.1.1/


Changeset:

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-03-30  8:06 nkukard at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: nkukard at uclibc.org @ 2008-03-30  8:06 UTC (permalink / raw)
  To: buildroot

Author: nkukard
Date: 2008-03-30 01:06:38 -0700 (Sun, 30 Mar 2008)
New Revision: 21575

Log:
* Remove legacy GCC 4.0.x versions


Removed:
   trunk/buildroot/toolchain/gcc/4.0.0/
   trunk/buildroot/toolchain/gcc/4.0.1/
   trunk/buildroot/toolchain/gcc/4.0.2/
   trunk/buildroot/toolchain/gcc/4.0.3/


Changeset:

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-03-30  8:05 nkukard at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: nkukard at uclibc.org @ 2008-03-30  8:05 UTC (permalink / raw)
  To: buildroot

Author: nkukard
Date: 2008-03-30 01:05:22 -0700 (Sun, 30 Mar 2008)
New Revision: 21574

Log:
* Remove legacy GCC 3.4.x versions


Removed:
   trunk/buildroot/toolchain/gcc/3.4.2/
   trunk/buildroot/toolchain/gcc/3.4.3/
   trunk/buildroot/toolchain/gcc/3.4.4/
   trunk/buildroot/toolchain/gcc/3.4.5/


Changeset:

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-03-30  8:04 nkukard at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: nkukard at uclibc.org @ 2008-03-30  8:04 UTC (permalink / raw)
  To: buildroot

Author: nkukard
Date: 2008-03-30 01:04:14 -0700 (Sun, 30 Mar 2008)
New Revision: 21573

Log:
Remove legacy GCC 3.3.x versions


Removed:
   trunk/buildroot/toolchain/gcc/3.3.5/
   trunk/buildroot/toolchain/gcc/3.3.6/


Changeset:

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-12-17 11:37 vanokuten at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: vanokuten at uclibc.org @ 2007-12-17 11:37 UTC (permalink / raw)
  To: buildroot

Author: vanokuten
Date: 2007-12-17 03:37:47 -0800 (Mon, 17 Dec 2007)
New Revision: 20655

Log:
revert 20646 rev (gcc-cc_links-fix.diff), it's broken for arm as mentioned in 1764 issue

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-12-16 17:22:33 UTC (rev 20654)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-12-17 11:37:47 UTC (rev 20655)
@@ -293,8 +293,8 @@
 		ln -snf $(REAL_GNU_TARGET_NAME)-gcc \
 			$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc; \
 	fi
-	if [ ! -e $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/cc ]; then \
-		ln -snf gcc $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/cc; \
+	if [ ! -e $(STAGING_DIR)/usr/bin/gcc ]; then \
+		ln -snf gcc $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc; \
 	fi
 	# Set up the symlinks to enable lying about target name.
 	set -e; \

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-12-16 17:22:33 UTC (rev 20654)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-12-17 11:37:47 UTC (rev 20655)
@@ -306,8 +306,8 @@
 		ln -snf $(REAL_GNU_TARGET_NAME)-gcc \
 			$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc; \
 	fi
-	if [ ! -e $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/cc ]; then \
-		ln -snf gcc $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/cc; \
+	if [ ! -e $(STAGING_DIR)/usr/bin/cc ]; then \
+		ln -snf gcc $(STAGING_DIR)/usr/bin/cc; \
 	fi
 	# Set up the symlinks to enable lying about target name.
 	set -e; \

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-12-13 12:10 vanokuten at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: vanokuten at uclibc.org @ 2007-12-13 12:10 UTC (permalink / raw)
  To: buildroot

Author: vanokuten
Date: 2007-12-13 04:09:56 -0800 (Thu, 13 Dec 2007)
New Revision: 20646

Log:
fix gcc 3.x/4.x symlinks to cc

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-12-13 12:01:48 UTC (rev 20645)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-12-13 12:09:56 UTC (rev 20646)
@@ -293,8 +293,8 @@
 		ln -snf $(REAL_GNU_TARGET_NAME)-gcc \
 			$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc; \
 	fi
-	if [ ! -e $(STAGING_DIR)/usr/bin/gcc ]; then \
-		ln -snf gcc $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc; \
+	if [ ! -e $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/cc ]; then \
+		ln -snf gcc $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/cc; \
 	fi
 	# Set up the symlinks to enable lying about target name.
 	set -e; \

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-12-13 12:01:48 UTC (rev 20645)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-12-13 12:09:56 UTC (rev 20646)
@@ -306,8 +306,8 @@
 		ln -snf $(REAL_GNU_TARGET_NAME)-gcc \
 			$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc; \
 	fi
-	if [ ! -e $(STAGING_DIR)/usr/bin/cc ]; then \
-		ln -snf gcc $(STAGING_DIR)/usr/bin/cc; \
+	if [ ! -e $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/cc ]; then \
+		ln -snf gcc $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/cc; \
 	fi
 	# Set up the symlinks to enable lying about target name.
 	set -e; \

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-10-20 18:09 vanokuten at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: vanokuten at uclibc.org @ 2007-10-20 18:09 UTC (permalink / raw)
  To: buildroot

Author: vanokuten
Date: 2007-10-20 11:09:53 -0700 (Sat, 20 Oct 2007)
New Revision: 20306

Log:
'make source' command working again for gcc

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-10-20 14:54:58 UTC (rev 20305)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-10-20 18:09:53 UTC (rev 20306)
@@ -127,6 +127,7 @@
 GCC_ENABLE_CLOCALE:=--disable-clocale
 endif
 
+HOST_SOURCE+=gcc-source
 
 #############################################################
 #

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-10-20 14:54:58 UTC (rev 20305)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-10-20 18:09:53 UTC (rev 20306)
@@ -141,6 +141,8 @@
 EXTRA_GCC1_CONFIG_OPTIONS+=--without-headers
 endif
 
+HOST_SOURCE+=gcc-source
+
 $(DL_DIR)/$(GCC_SOURCE):
 	mkdir -p $(DL_DIR)
 	$(WGET) -P $(DL_DIR) $(GCC_SITE)/$(GCC_SOURCE)

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-10-19 17:51 vanokuten at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: vanokuten at uclibc.org @ 2007-10-19 17:51 UTC (permalink / raw)
  To: buildroot

Author: vanokuten
Date: 2007-10-19 10:51:00 -0700 (Fri, 19 Oct 2007)
New Revision: 20298

Log:
fix libmudflap build failure for 4.1.2 gcc - pass CPP=<target_cpp>, thanks to Hamish Moffatt

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-10-19 17:41:58 UTC (rev 20297)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-10-19 17:51:00 UTC (rev 20298)
@@ -242,6 +242,7 @@
 	(cd $(GCC_BUILD_DIR2); rm -rf config.cache; \
 		$(HOST_CONFIGURE_OPTS) \
 		GCC=$(TARGET_CROSS)gcc \
+		CPP=$(TARGET_CROSS)cpp \
 		LDFLAGS_FOR_TARGET="$(patsubst %,LDFLAGS+=-Wl$(comma)%,$(TARGET_LDFLAGS)) -L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" \
 		$(GCC_DIR)/configure \
 		--prefix=$(STAGING_DIR) \
@@ -267,7 +268,7 @@
 	touch $@
 
 $(GCC_BUILD_DIR2)/.compiled: $(GCC_BUILD_DIR2)/.configured
-	PATH=$(TARGET_PATH) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(GCC_BUILD_DIR2) all
+	PATH=$(TARGET_PATH) $(MAKE) $(HOST_CONFIGURE_OPTS) CPP=$(TARGET_CROSS)cpp -C $(GCC_BUILD_DIR2) all
 	touch $@
 
 $(GCC_BUILD_DIR2)/.installed: $(GCC_BUILD_DIR2)/.compiled

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-10-15 18:55                   ` Bernhard Fischer
@ 2007-10-15 19:27                     ` Ulf Samuelsson
  0 siblings, 0 replies; 170+ messages in thread
From: Ulf Samuelsson @ 2007-10-15 19:27 UTC (permalink / raw)
  To: buildroot

link: www.avrfreaks.net
----- Original Message ----- 
From: "Bernhard Fischer" <rep.dot.nop@gmail.com>
To: <buildroot@uclibc.org>
Sent: Monday, October 15, 2007 8:55 PM
Subject: Re: [Buildroot] svn commit: trunk/buildroot/toolchain/gcc


> On Mon, Oct 15, 2007 at 07:40:05PM +0200, Cristian Ionescu-Idbohrn wrote:
>
>>> However, Bernhard has a policy which is to always use the latest stuff,
>>> which makes IMHO Buildroot, nothing more than a (nice) toy.
>>
>>I don't see very much wrong with that, as long as you keep things tight.
>>Branching was suggested more than once.  What do you say?  More work?
>>Yes.  More satisfied "customers"?  Oh, yes.  Me for one.  I would rather
>>use something that is controllable (mind you, not top of the notch) than
>>something that is constantly broken.
>
> Well top notch would be always pulling the upstream repos. I don't
> remember to have done this even a single time in buildroot.
> There is a subtile difference between these three:
> - top notch
> - current, stable release, usually containing the best-fit bugfixes
> - outdated packages with known bugs (sometimes all over the place).
>
> I'm sure there is endless discussion archived out there about the pros
> and cons of each of them, so i'll spare my keyboard interrupts and your
> time.


I think the most important thing is to allow the user of buildroot
to make his/her own decision on strategy.
It should be possible to use a specific version of a package
but also to use the latests experimental version for other packages
possbily with own developed patches. (which hopefully are submitted later)

For this to work, there is a need for a stable source tarball server
which can be used, if the main location disappears.

I rather see multiple makefile fragments, than multiple trunks.

instead of

include package/*/*.mk

we could have

include    project/.distribution        # Override release versions
include    package/*/*.mk



<package>.mk could contain
+++++++++++++++++++++
ifneq ($(<PACKAGE>_RELEASE),)
include    <package>/$(<PACKAGE>_RELEASE)/<package>.mk
else
include    <package>/$(RELEASE)/<package>.mk
endif
--------------------------------

or similar.

This would allow some people to keep an old release and others
to work on new stuff.

It may be a good idea to allow patches to be applied based on a list
instead its name.

Best Regards
Ulf Samuelsson?

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-10-15 17:40                 ` Cristian Ionescu-Idbohrn
  2007-10-15 18:16                   ` Ulf Samuelsson
@ 2007-10-15 18:55                   ` Bernhard Fischer
  2007-10-15 19:27                     ` Ulf Samuelsson
  1 sibling, 1 reply; 170+ messages in thread
From: Bernhard Fischer @ 2007-10-15 18:55 UTC (permalink / raw)
  To: buildroot

On Mon, Oct 15, 2007 at 07:40:05PM +0200, Cristian Ionescu-Idbohrn wrote:

>> However, Bernhard has a policy which is to always use the latest stuff,
>> which makes IMHO Buildroot, nothing more than a (nice) toy.
>
>I don't see very much wrong with that, as long as you keep things tight.
>Branching was suggested more than once.  What do you say?  More work?
>Yes.  More satisfied "customers"?  Oh, yes.  Me for one.  I would rather
>use something that is controllable (mind you, not top of the notch) than
>something that is constantly broken.

Well top notch would be always pulling the upstream repos. I don't
remember to have done this even a single time in buildroot.
There is a subtile difference between these three:
- top notch
- current, stable release, usually containing the best-fit bugfixes
- outdated packages with known bugs (sometimes all over the place).

I'm sure there is endless discussion archived out there about the pros
and cons of each of them, so i'll spare my keyboard interrupts and your
time.

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-10-15 17:40                 ` Cristian Ionescu-Idbohrn
@ 2007-10-15 18:16                   ` Ulf Samuelsson
  2007-10-15 18:55                   ` Bernhard Fischer
  1 sibling, 0 replies; 170+ messages in thread
From: Ulf Samuelsson @ 2007-10-15 18:16 UTC (permalink / raw)
  To: buildroot


>> I rather think this is a result of Bernhards patch to deprecate older
>> versions of Binutils, automatically changing an existing *working*
>> ".config" into something which might, or might not work after a "make
>> menuconfig".
>
> There you go again.  Don't waste your time throwing dirt on one another!
> Work together instead!  Learn from eachother.  Everyone will benefit.
> Life is short and then you die, both of you and your "customers".
>

It is not "throwing dirt", it is advice on where to look for your JPEG build 
problems.
I.E: Try an older version of binutils...

>> Build a toolchain that works, then use an external toolchain.
>> Saves you a lot of time...
>
> Yes.  Any FAQ on that?
> But still aspirine, workaround, substitute for the real thing :(

It takes 1-2 hours to build a toolchain.
It is not neccessary to repeat the process everytime you want to rebuild 
buildroot.
Look in the docs directory..

Best Regards
Ulf Samuelsson

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-10-15  6:50               ` Ulf Samuelsson
@ 2007-10-15 17:40                 ` Cristian Ionescu-Idbohrn
  2007-10-15 18:16                   ` Ulf Samuelsson
  2007-10-15 18:55                   ` Bernhard Fischer
  0 siblings, 2 replies; 170+ messages in thread
From: Cristian Ionescu-Idbohrn @ 2007-10-15 17:40 UTC (permalink / raw)
  To: buildroot

On Mon, 15 Oct 2007, Ulf Samuelsson wrote:

> Some people are against having architecture specific extensions in the
> common files.

Alright.  I see a point in that.  But I still think, as I said before:
"one size doesn't fit everybody".  If incompatibilities arise, one good
thing is to pin them down, and make them visible.  Is there another way?

> I believe it is better to continue the build, and then do a verify
> afterwards.

I don't.  Side effects can lead one on to treacherous side tracks and
troubleshooting would be more painful.

> If you read archives, a lot of people consider the libgcc_s to be a
> PITA.

But of course.  Anything that is not dead simple is PITA.

> The "-cp" -> "cp" patch has caused me several hundred hours
> of extra work,

Really?  I'm not arguing, but I find it difficult to believe.

> and this can all be blamed on Bernhard.
> Any problems caused by patches trying to fix the broken AVR32
> can therefore indirectly be blamed on Bernhard as well.

Cool down now.  I do believe that one of the reasons why this project is
not moving at faster pace is that the magic between you and Bernhard is
just not working.  And that's really sad.  That said, things won't get
better if the only noticable thing is you two disagreeing.

> In practice, I do *not* want to blame Bernhard for *that* patch, since
> it very difficult to do a full test of buildroot using all parameters.

True.

> However, Bernhard has a policy which is to always use the latest stuff,
> which makes IMHO Buildroot, nothing more than a (nice) toy.

I don't see very much wrong with that, as long as you keep things tight.
Branching was suggested more than once.  What do you say?  More work?
Yes.  More satisfied "customers"?  Oh, yes.  Me for one.  I would rather
use something that is controllable (mind you, not top of the notch) than
something that is constantly broken.

> You reported a build problem with JPEG and think that creating a
> directory in $(STAGING_DIR) during the jpeg build was the problem which
> caused the toolchain build to fail.

Your words, not mine.  I'm just an occasional visitor ;)

> You probably only need to reflect on this for a millisecond or so to
> realize how absurd that is...

I have to admit, I'm not that sharp ;)

> I rather think this is a result of Bernhards patch to deprecate older
> versions of Binutils, automatically changing an existing *working*
> ".config" into something which might, or might not work after a "make
> menuconfig".

There you go again.  Don't waste your time throwing dirt on one another!
Work together instead!  Learn from eachother.  Everyone will benefit.
Life is short and then you die, both of you and your "customers".

> Build a toolchain that works, then use an external toolchain.
> Saves you a lot of time...

Yes.  Any FAQ on that?
But still aspirine, workaround, substitute for the real thing :(
Thanks for the advice, anyway.

You two you kan keep disagreing in the back stage.  But don't do it up
front.  Work together instead.  It's much better for the "business".


Cheers,

-- 
Cristian

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-10-13 23:31             ` Cristian Ionescu-Idbohrn
  2007-10-14  1:08               ` Ivan Kuten
@ 2007-10-15  6:50               ` Ulf Samuelsson
  2007-10-15 17:40                 ` Cristian Ionescu-Idbohrn
  1 sibling, 1 reply; 170+ messages in thread
From: Ulf Samuelsson @ 2007-10-15  6:50 UTC (permalink / raw)
  To: buildroot

>> The guys at Atmel do the gcc ports for AVR32.
> I see.
> 
>> I am trying to make it easier for other people to build it.
> That's nice of you.
> 
>> This change does not break any other arch.
> Fair enough.  You may be right.
> 
>> It used to be "-cp", and the change to "cp" broke the AVR32 arch.
> 
> Alright.  Why don't you then make that '-cp' conditional on AVR32 and
> leave it 'cp' for all other?  In a way that would help identify oddities
> with AVR32 everywhere.  One size fits all is quite hard to find.
> 

Some people are against having architecture specific extensions in the common files.
I believe it is better to continue the build, and then do a verify afterwards.
If you read archives, a lot of people consider the libgcc_s to be a PITA.

>> Can you explain why all other archs are broken?
> 
> I'm afraid I can't.  And I won't bother trying to. It may be unfair to
> blame all buildroot brokenness on you.  Still, buildroot is broken in
> various places.  One thing gets fixed and two other break.  That's my
> experience of the passed weeks :(
> 

The "-cp" -> "cp" patch has caused me several hundred hours
of extra work, and this can all be blamed on Bernhard.
Any problems caused by patches trying to fix the broken AVR32
can therefore indirectly be blamed on Bernhard as well.

In practice, I do *not* want to blame Bernhard for *that* patch, since it 
very difficult to do a full test of buildroot using all parameters.

However, Bernhard has a policy which is to always use the latest stuff,
which makes IMHO Buildroot, nothing more than a (nice) toy.

You reported a build problem with JPEG and think that creating
a directory in $(STAGING_DIR) during the jpeg build
was the problem which caused the toolchain build to fail.
You probably only need to reflect on this for a millisecond or so to 
realize how absurd that is...

I rather think this is a result of Bernhards patch to deprecate older
versions of Binutils, automatically changing an existing *working* ".config" 
into something which might, or might not work after a "make menuconfig".


>> If the build works for all other archs, then the cp will work.
> 
> Yes, I agree.  'cp' shouldn't be a problem in this context.  Still, if for
> some misterious reason it doesn't get built, '-cp' doesn't break the build
> making us aware of that and things break later in other places?  Trouble
> shooting that scenario will be more painful, IMO.
> 
>> You have not explained in what way you suffer.
> 
> Thanks, I got better after getting out the previous post ;)
> 
> I'll try to explain.  Every time I check out a new tree, it takes one or
> several days to get it to build.  And when I think I'm done (save some
> patches not yet accepted upstream), check out a new tree, apply my
> patches, I start seeing things breaking again in various ways and I have
> to start all over again.  And that's _very_ frustrating!
> 
> Happened again today :(
> 

Build a toolchain that works, then use an external toolchain.
Saves you a lot of time...


Best Regards
Ulf Samuelsson

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-10-13 23:31             ` Cristian Ionescu-Idbohrn
@ 2007-10-14  1:08               ` Ivan Kuten
  2007-10-15  6:50               ` Ulf Samuelsson
  1 sibling, 0 replies; 170+ messages in thread
From: Ivan Kuten @ 2007-10-14  1:08 UTC (permalink / raw)
  To: buildroot

> 
> Can we try getting some stability in this project?
> Can we get a 'make allconfig' that just builds?
> Sooner rather than later?
> 

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-10-13 20:31           ` Ulf Samuelsson
@ 2007-10-13 23:31             ` Cristian Ionescu-Idbohrn
  2007-10-14  1:08               ` Ivan Kuten
  2007-10-15  6:50               ` Ulf Samuelsson
  0 siblings, 2 replies; 170+ messages in thread
From: Cristian Ionescu-Idbohrn @ 2007-10-13 23:31 UTC (permalink / raw)
  To: buildroot

On Sat, 13 Oct 2007, Ulf Samuelsson wrote:

> The guys at Atmel do the gcc ports for AVR32.

I see.

> I am trying to make it easier for other people to build it.

That's nice of you.

> This change does not break any other arch.

Fair enough.  You may be right.

> It used to be "-cp", and the change to "cp" broke the AVR32 arch.

Alright.  Why don't you then make that '-cp' conditional on AVR32 and
leave it 'cp' for all other?  In a way that would help identify oddities
with AVR32 everywhere.  One size fits all is quite hard to find.

> > But doesn't that mean that the AVR32 tool is broken?
> > What am I missing here?
>
> Yes and No.

I was expecting that ;)

> By reverting the patch, which broke the AVR32 build,
> it is possible to create an AVR32 gcc compiler which
> uses an non-shared libgcc.a to create a uClibc based root gfs.

Thanks for the explanation.

> Can you explain why all other archs are broken?

I'm afraid I can't.  And I won't bother trying to. It may be unfair to
blame all buildroot brokenness on you.  Still, buildroot is broken in
various places.  One thing gets fixed and two other break.  That's my
experience of the passed weeks :(

> If the build works for all other archs, then the cp will work.

Yes, I agree.  'cp' shouldn't be a problem in this context.  Still, if for
some misterious reason it doesn't get built, '-cp' doesn't break the build
making us aware of that and things break later in other places?  Trouble
shooting that scenario will be more painful, IMO.

> You have not explained in what way you suffer.

Thanks, I got better after getting out the previous post ;)

I'll try to explain.  Every time I check out a new tree, it takes one or
several days to get it to build.  And when I think I'm done (save some
patches not yet accepted upstream), check out a new tree, apply my
patches, I start seeing things breaking again in various ways and I have
to start all over again.  And that's _very_ frustrating!

Happened again today :(

> No, I care about other archs as well, but I do not belive that they are
> broken by the patch.

Good to know.

> I regularily build ARM and i386 as well.

Care to share your i386 .config with the rest of us?

> Can you show why this breaks anything?
> Remember: It used to be this way until this summer.

You mean the 'cp' thing?  See above.

Can we try getting some stability in this project?
Can we get a 'make allconfig' that just builds?
Sooner rather than later?

ATM, I see lockfile-progs (patch available in bugtrack) and microperl
won't build.

Please find attached some patches (various fixes).


Cheers,

-- 
Cristian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: br-2007-10-14.submit.patch
Type: text/x-diff
Size: 13136 bytes
Desc: 
Url : http://busybox.net/lists/buildroot/attachments/20071014/a3b62cd5/attachment.bin 

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-10-13 19:58         ` Cristian Ionescu-Idbohrn
@ 2007-10-13 20:31           ` Ulf Samuelsson
  2007-10-13 23:31             ` Cristian Ionescu-Idbohrn
  0 siblings, 1 reply; 170+ messages in thread
From: Ulf Samuelsson @ 2007-10-13 20:31 UTC (permalink / raw)
  To: buildroot

l?r 2007-10-13 klockan 21:58 +0200 skrev Cristian Ionescu-Idbohrn:
> On Sat, 13 Oct 2007, Ulf Samuelsson wrote:
> 
> > l?r 2007-10-13 klockan 12:19 +0200 skrev Cristian Ionescu-Idbohrn:
> > > On Sat, 13 Oct 2007, Ulf Samuelsson wrote:
> > >
> > > > l?r 2007-10-13 klockan 10:49 +0200 skrev Cristian Ionescu-Idbohrn:
> > > > > On Fri, 12 Oct 2007, ulf at uclibc.org wrote:
> > > > >
> > > > > > Author: ulf
> > > > > > Date: 2007-10-12 14:01:41 -0700 (Fri, 12 Oct 2007)
> > > > > > New Revision: 20237
> > > > > >
> > > > > > Log:
> > > > > > Allow library copy to fail
> > > > >
> > > > > As it's not obvious to me, may I ask why?
> > > > > Why not making sure it doesn't fail, instead?
> > > >
> > > > That is the long term approach, but I have no control over that part.
> > >
> > > Who has the "control over that part"?
> > >
> > The guys at Atmel responsible for supporting the AVR32 gcc port...
> > They have started to take an interest, but I have no clue
> > when a fix will appear.
> 
> Sorry if I missed something, but what's the involvement the guys at Atmel
> have in this project?  Do they have some sort of maintenance
> responsabilities in this project?  Do they sponsor this project in some
> way?  Are you working for the guys at Atmel?

The guys at Atmel do the gcc ports for AVR32.
I am trying to make it easier for other people to build it.

> > I do not have the bandwidth to dig into this.
> 
> I'm realy sorry for you (and for the rest of us using other archs), but
> the way you treat the buildroot project is not really acceptable.

> If you don't have the bandwidth to do things right, maybe the guys at
> Atmel can buy you some more bandwidth so you can do dig and make proper
> changes that don't break other archs.

This change does not break any other arch.
It used to be "-cp", and the change to "cp" broke the AVR32 arch.

> > > > If copying fails,
> > >
> > > Why should it?
> > > Have you seen it failing?
> > > Can you reproduce that?
> >
> > Yes, this is the cause of the failure of the AVR32 tool build.
> 
> But doesn't that mean that the AVR32 tool is broken?
> What am I missing here?

Yes and No.
By reverting the patch, which broke the AVR32 build,
it is possible to create an AVR32 gcc compiler which
uses an non-shared libgcc.a to create a uClibc based root gfs.

> > It built during the summer, and then suddenly stopped building.
> 
> And that means that all other archs that _do build_ must be broken?
> Sorry, doesn't make much sense to me :(
> 

Can you explain why all other archs are broken?
If the build works for all other archs, then the cp will work.


> > > Is there a use case you can share with us?
> > >
> >
> > Take an older snapshot and try to build AVR32 toolchain.
> > The libgcc_s.so.1 does not get built.
> 
> Not interested to build any AVR32 toolchain myself.  I'm quite happy if
> the other toolchains do build.
> 

> > > > then libgcc.a is available,
> > > > and the end application can be linked with this instead
> > >
> > > I see.
> > >
> > > > It is better than aborting the build.
> > >
> > > But doesn't cure the disease :(
> > > In other words, you prefer aspirine :)
> >
> > If this ensures that I can run the code on the AVR32
> > then it is good enough for me at this point.
> 
> What about the rest of us?
> 

You have not explained in what way you suffer.

> > Obviously it is better to ensure that the AVR32 toolchain
> > build generates a shared library,
> 
> Obviously it is better to ensure that _all_ toolchains build, I'd say.
> 
> > and anyone complaining
> > are open to develop a patch which fixes the real problem
> > instead of the symptom.
> 
> So, all other toolchains that occasionally build (until you you break
> them) must be broken, and that's not your problem?
> 
> All you talk about is AVR32.
> You seem to only care about AVR32.
> You couldn't care less if you break all other archs with your patches?
> Is this fare play?

No, I care about other archs as well, but I do not belive that they
are broken by the patch.
I regularily build ARM and i386 as well.
Can you show why this breaks anything?
Remember: It used to be this way until this summer.

> 
> Cheers,
> 
-- 
Best Regards
Ulf Samuelsson

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-10-13 18:37       ` Ulf Samuelsson
@ 2007-10-13 19:58         ` Cristian Ionescu-Idbohrn
  2007-10-13 20:31           ` Ulf Samuelsson
  0 siblings, 1 reply; 170+ messages in thread
From: Cristian Ionescu-Idbohrn @ 2007-10-13 19:58 UTC (permalink / raw)
  To: buildroot

On Sat, 13 Oct 2007, Ulf Samuelsson wrote:

> l?r 2007-10-13 klockan 12:19 +0200 skrev Cristian Ionescu-Idbohrn:
> > On Sat, 13 Oct 2007, Ulf Samuelsson wrote:
> >
> > > l?r 2007-10-13 klockan 10:49 +0200 skrev Cristian Ionescu-Idbohrn:
> > > > On Fri, 12 Oct 2007, ulf at uclibc.org wrote:
> > > >
> > > > > Author: ulf
> > > > > Date: 2007-10-12 14:01:41 -0700 (Fri, 12 Oct 2007)
> > > > > New Revision: 20237
> > > > >
> > > > > Log:
> > > > > Allow library copy to fail
> > > >
> > > > As it's not obvious to me, may I ask why?
> > > > Why not making sure it doesn't fail, instead?
> > >
> > > That is the long term approach, but I have no control over that part.
> >
> > Who has the "control over that part"?
> >
> The guys at Atmel responsible for supporting the AVR32 gcc port...
> They have started to take an interest, but I have no clue
> when a fix will appear.

Sorry if I missed something, but what's the involvement the guys at Atmel
have in this project?  Do they have some sort of maintenance
responsabilities in this project?  Do they sponsor this project in some
way?  Are you working for the guys at Atmel?

> I do not have the bandwidth to dig into this.

I'm realy sorry for you (and for the rest of us using other archs), but
the way you treat the buildroot project is not really acceptable.
If you don't have the bandwidth to do things right, maybe the guys at
Atmel can buy you some more bandwidth so you can do dig and make proper
changes that don't break other archs.

> > > If copying fails,
> >
> > Why should it?
> > Have you seen it failing?
> > Can you reproduce that?
>
> Yes, this is the cause of the failure of the AVR32 tool build.

But doesn't that mean that the AVR32 tool is broken?
What am I missing here?

> It built during the summer, and then suddenly stopped building.

And that means that all other archs that _do build_ must be broken?
Sorry, doesn't make much sense to me :(

> > Is there a use case you can share with us?
> >
>
> Take an older snapshot and try to build AVR32 toolchain.
> The libgcc_s.so.1 does not get built.

Not interested to build any AVR32 toolchain myself.  I'm quite happy if
the other toolchains do build.

> > > then libgcc.a is available,
> > > and the end application can be linked with this instead
> >
> > I see.
> >
> > > It is better than aborting the build.
> >
> > But doesn't cure the disease :(
> > In other words, you prefer aspirine :)
>
> If this ensures that I can run the code on the AVR32
> then it is good enough for me at this point.

What about the rest of us?

> Obviously it is better to ensure that the AVR32 toolchain
> build generates a shared library,

Obviously it is better to ensure that _all_ toolchains build, I'd say.

> and anyone complaining
> are open to develop a patch which fixes the real problem
> instead of the symptom.

So, all other toolchains that occasionally build (until you you break
them) must be broken, and that's not your problem?

All you talk about is AVR32.
You seem to only care about AVR32.
You couldn't care less if you break all other archs with your patches?
Is this fare play?


Cheers,

-- 
Cristian

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-10-13 10:19     ` Cristian Ionescu-Idbohrn
  2007-10-13 11:23       ` Bernhard Fischer
@ 2007-10-13 18:37       ` Ulf Samuelsson
  2007-10-13 19:58         ` Cristian Ionescu-Idbohrn
  1 sibling, 1 reply; 170+ messages in thread
From: Ulf Samuelsson @ 2007-10-13 18:37 UTC (permalink / raw)
  To: buildroot

l?r 2007-10-13 klockan 12:19 +0200 skrev Cristian Ionescu-Idbohrn:
> On Sat, 13 Oct 2007, Ulf Samuelsson wrote:
> 
> > l?r 2007-10-13 klockan 10:49 +0200 skrev Cristian Ionescu-Idbohrn:
> > > On Fri, 12 Oct 2007, ulf at uclibc.org wrote:
> > >
> > > > Author: ulf
> > > > Date: 2007-10-12 14:01:41 -0700 (Fri, 12 Oct 2007)
> > > > New Revision: 20237
> > > >
> > > > Log:
> > > > Allow library copy to fail
> > >
> > > As it's not obvious to me, may I ask why?
> > > Why not making sure it doesn't fail, instead?
> >
> > That is the long term approach, but I have no control over that part.
> 
> Who has the "control over that part"?
> 
The guys at Atmel responsible for supporting the AVR32 gcc port...
They have started to take an interest, but I have no clue
when a fix will appear.

I do not have the bandwidth to dig into this.

> > If copying fails,
> 
> Why should it?
> Have you seen it failing?
> Can you reproduce that?

Yes, this is the cause of the failure of the AVR32 tool build.
It built during the summer, and then suddenly stopped building.

> Is there a use case you can share with us?
> 

Take an older snapshot and try to build AVR32 toolchain.
The libgcc_s.so.1 does not get built.

> > then libgcc.a is available,
> > and the end application can be linked with this instead
> 
> I see.
> 
> > It is better than aborting the build.
> 
> But doesn't cure the disease :(
> In other words, you prefer aspirine :)

If this ensures that I can run the code on the AVR32
then it is good enough for me at this point.
Obviously it is better to ensure that the AVR32 toolchain
build generates a shared library, and anyone complaining
are open to develop a patch which fixes the real problem
instead of the symptom.


> 
> Cheers,
> 
-- 
Best Regards
Ulf Samuelsson
Atmel Nordic AB

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-10-13  9:57   ` Ulf Samuelsson
  2007-10-13 10:19     ` Cristian Ionescu-Idbohrn
@ 2007-10-13 11:25     ` Bernhard Fischer
  1 sibling, 0 replies; 170+ messages in thread
From: Bernhard Fischer @ 2007-10-13 11:25 UTC (permalink / raw)
  To: buildroot

On Sat, Oct 13, 2007 at 11:57:19AM +0200, Ulf Samuelsson wrote:
>l?r 2007-10-13 klockan 10:49 +0200 skrev Cristian Ionescu-Idbohrn:
>> On Fri, 12 Oct 2007, ulf at uclibc.org wrote:
>> 
>> > Author: ulf
>> > Date: 2007-10-12 14:01:41 -0700 (Fri, 12 Oct 2007)
>> > New Revision: 20237
>> >
>> > Log:
>> > Allow library copy to fail
>> 
>> As it's not obvious to me, may I ask why?
>> Why not making sure it doesn't fail, instead?
>
>That is the long term approach, but I have no control over that part.
>
>If copying fails, then libgcc.a is available,

No, that's wrong. See previous discussion in the archives.

>and the end application can be linked with this instead
>It is better than aborting the build.

In my little world wrong behaviour is not a proper fix for a bug. YMMV

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-10-13 10:19     ` Cristian Ionescu-Idbohrn
@ 2007-10-13 11:23       ` Bernhard Fischer
  2007-10-13 18:37       ` Ulf Samuelsson
  1 sibling, 0 replies; 170+ messages in thread
From: Bernhard Fischer @ 2007-10-13 11:23 UTC (permalink / raw)
  To: buildroot

On Sat, Oct 13, 2007 at 12:19:42PM +0200, Cristian Ionescu-Idbohrn wrote:
>On Sat, 13 Oct 2007, Ulf Samuelsson wrote:
>
>> l?r 2007-10-13 klockan 10:49 +0200 skrev Cristian Ionescu-Idbohrn:
>> > On Fri, 12 Oct 2007, ulf at uclibc.org wrote:
>> >
>> > > Author: ulf
>> > > Date: 2007-10-12 14:01:41 -0700 (Fri, 12 Oct 2007)
>> > > New Revision: 20237
>> > >
>> > > Log:
>> > > Allow library copy to fail
>> >
>> > As it's not obvious to me, may I ask why?
>> > Why not making sure it doesn't fail, instead?
>>
>> That is the long term approach, but I have no control over that part.
>
>Who has the "control over that part"?
>
>> If copying fails,
>
>Why should it?
>Have you seen it failing?
>Can you reproduce that?

It can be seen with x86_64 as target; see archives for my suggestion on
how to fix this properly instead of once again papering over a bug in an
inappropriate way.

>Is there a use case you can share with us?
>
>> then libgcc.a is available,
>> and the end application can be linked with this instead
>
>I see.
>
>> It is better than aborting the build.
>
>But doesn't cure the disease :(

It's plain wrong i would have said.

>In other words, you prefer aspirine :)

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-10-13  9:57   ` Ulf Samuelsson
@ 2007-10-13 10:19     ` Cristian Ionescu-Idbohrn
  2007-10-13 11:23       ` Bernhard Fischer
  2007-10-13 18:37       ` Ulf Samuelsson
  2007-10-13 11:25     ` Bernhard Fischer
  1 sibling, 2 replies; 170+ messages in thread
From: Cristian Ionescu-Idbohrn @ 2007-10-13 10:19 UTC (permalink / raw)
  To: buildroot

On Sat, 13 Oct 2007, Ulf Samuelsson wrote:

> l?r 2007-10-13 klockan 10:49 +0200 skrev Cristian Ionescu-Idbohrn:
> > On Fri, 12 Oct 2007, ulf at uclibc.org wrote:
> >
> > > Author: ulf
> > > Date: 2007-10-12 14:01:41 -0700 (Fri, 12 Oct 2007)
> > > New Revision: 20237
> > >
> > > Log:
> > > Allow library copy to fail
> >
> > As it's not obvious to me, may I ask why?
> > Why not making sure it doesn't fail, instead?
>
> That is the long term approach, but I have no control over that part.

Who has the "control over that part"?

> If copying fails,

Why should it?
Have you seen it failing?
Can you reproduce that?
Is there a use case you can share with us?

> then libgcc.a is available,
> and the end application can be linked with this instead

I see.

> It is better than aborting the build.

But doesn't cure the disease :(
In other words, you prefer aspirine :)


Cheers,

-- 
Cristian

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-10-13  8:49 ` Cristian Ionescu-Idbohrn
@ 2007-10-13  9:57   ` Ulf Samuelsson
  2007-10-13 10:19     ` Cristian Ionescu-Idbohrn
  2007-10-13 11:25     ` Bernhard Fischer
  0 siblings, 2 replies; 170+ messages in thread
From: Ulf Samuelsson @ 2007-10-13  9:57 UTC (permalink / raw)
  To: buildroot

l?r 2007-10-13 klockan 10:49 +0200 skrev Cristian Ionescu-Idbohrn:
> On Fri, 12 Oct 2007, ulf at uclibc.org wrote:
> 
> > Author: ulf
> > Date: 2007-10-12 14:01:41 -0700 (Fri, 12 Oct 2007)
> > New Revision: 20237
> >
> > Log:
> > Allow library copy to fail
> 
> As it's not obvious to me, may I ask why?
> Why not making sure it doesn't fail, instead?

That is the long term approach, but I have no control over that part.

If copying fails, then libgcc.a is available,
and the end application can be linked with this instead
It is better than aborting the build.

> 
> Cheers,
> 
-- 
Best Regards
Ulf Samuelsson

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-10-12 21:01 ulf at uclibc.org
@ 2007-10-13  8:49 ` Cristian Ionescu-Idbohrn
  2007-10-13  9:57   ` Ulf Samuelsson
  0 siblings, 1 reply; 170+ messages in thread
From: Cristian Ionescu-Idbohrn @ 2007-10-13  8:49 UTC (permalink / raw)
  To: buildroot

On Fri, 12 Oct 2007, ulf at uclibc.org wrote:

> Author: ulf
> Date: 2007-10-12 14:01:41 -0700 (Fri, 12 Oct 2007)
> New Revision: 20237
>
> Log:
> Allow library copy to fail

As it's not obvious to me, may I ask why?
Why not making sure it doesn't fail, instead?


Cheers,

-- 
Cristian

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-10-12 21:01 ulf at uclibc.org
  2007-10-13  8:49 ` Cristian Ionescu-Idbohrn
  0 siblings, 1 reply; 170+ messages in thread
From: ulf at uclibc.org @ 2007-10-12 21:01 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-10-12 14:01:41 -0700 (Fri, 12 Oct 2007)
New Revision: 20237

Log:
Allow library copy to fail

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-10-12 15:18:27 UTC (rev 20236)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-10-12 21:01:41 UTC (rev 20237)
@@ -332,13 +332,13 @@
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
 	# These are in /lib, so...
 	rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so*
-	cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* \
+	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* \
 		$(TARGET_DIR)/lib/
 	-strip --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
-	cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
+	-cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
 	-strip --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*
 endif
 endif

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-10-12 15:18:27 UTC (rev 20236)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-10-12 21:01:41 UTC (rev 20237)
@@ -345,12 +345,12 @@
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
 	# These are in /lib, so...
 	rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so*
-	cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* \
+	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* \
 		$(TARGET_DIR)/lib/
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
-	cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libstdc++.so* \
+	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libstdc++.so* \
 		$(TARGET_DIR)/usr/lib/
 endif
 endif

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-10-12 15:14 ulf at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: ulf at uclibc.org @ 2007-10-12 15:14 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-10-12 08:14:46 -0700 (Fri, 12 Oct 2007)
New Revision: 20233

Log:
Do not copy shared C++ lib, unless one is built

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-10-12 15:12:55 UTC (rev 20232)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-10-12 15:14:46 UTC (rev 20233)
@@ -337,9 +337,11 @@
 	-strip --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
+ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
 	cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
 	-strip --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*
 endif
+endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)
 	cp -dpf $(STAGING_DIR)/lib/libgcj.so* $(TARGET_DIR)/usr/lib/
 	cp -dpf $(STAGING_DIR)/lib/lib-org-w3c-dom.so* $(TARGET_DIR)/usr/lib/

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-10-12 12:30 ulf at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: ulf at uclibc.org @ 2007-10-12 12:30 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-10-12 05:30:14 -0700 (Fri, 12 Oct 2007)
New Revision: 20226

Log:
Cannot copy shared c++ lib, if one has not been created

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-10-11 19:53:10 UTC (rev 20225)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-10-12 12:30:14 UTC (rev 20226)
@@ -349,9 +349,11 @@
 		$(TARGET_DIR)/lib/
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
+ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
 	cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libstdc++.so* \
 		$(TARGET_DIR)/usr/lib/
 endif
+endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)
 	cp -dpf $(STAGING_DIR)/lib/libgcj.so* $(TARGET_DIR)/lib/
 	cp -dpf $(STAGING_DIR)/lib/lib-org-w3c-dom.so* $(TARGET_DIR)/lib/

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-10-07 17:22 ulf at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: ulf at uclibc.org @ 2007-10-07 17:22 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-10-07 10:22:56 -0700 (Sun, 07 Oct 2007)
New Revision: 20193

Log:
Do not create directories, if they exist

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-10-07 17:06:26 UTC (rev 20192)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-10-07 17:22:56 UTC (rev 20193)
@@ -277,7 +277,7 @@
 	-C $(GCC_BUILD_DIR2) install
 	if [ -d "$(STAGING_DIR)/usr/lib64" ]; then \
 		if [ ! -e "$(STAGING_DIR)/usr/lib" ]; then \
-			mkdir "$(STAGING_DIR)/usr/lib"; \
+			mkdir -p "$(STAGING_DIR)/usr/lib"; \
 		fi; \
 		mv "$(STAGING_DIR)/usr/lib64/"* "$(STAGING_DIR)/usr/lib/"; \
 		rmdir "$(STAGING_DIR)/usr/lib64"; \

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-10-07 17:06:26 UTC (rev 20192)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-10-07 17:22:56 UTC (rev 20193)
@@ -290,7 +290,7 @@
 		-C $(GCC_BUILD_DIR2) install
 	if [ -d "$(STAGING_DIR)/lib64" ]; then \
 		if [ ! -e "$(STAGING_DIR)/lib" ]; then \
-			mkdir "$(STAGING_DIR)/lib"; \
+			mkdir -p "$(STAGING_DIR)/lib"; \
 		fi; \
 		mv "$(STAGING_DIR)/lib64/"* "$(STAGING_DIR)/lib/"; \
 		rmdir "$(STAGING_DIR)/lib64"; \

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-10-01 21:12 ulf at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: ulf at uclibc.org @ 2007-10-01 21:12 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-10-01 14:12:54 -0700 (Mon, 01 Oct 2007)
New Revision: 20166

Log:
Use the right Config for AVR32 gcc build

Modified:
   trunk/buildroot/toolchain/gcc/Makefile.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2007-10-01 21:06:50 UTC (rev 20165)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2007-10-01 21:12:54 UTC (rev 20166)
@@ -14,9 +14,9 @@
 # AVR32 GCC configuration
 ifeq ($(strip $(BR2_avr32)),y)
 EXTRA_GCC_CONFIG_OPTIONS+=--disable-libmudflap
-EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--disable-libssp
-EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--with-build-time-tools=$(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin \
-#EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--with-as=$(TARGET_CROSS)as
+EXTRA_GCC_CONFIG_OPTIONS+=--disable-libssp
+EXTRA_GCC_CONFIG_OPTIONS+=--with-build-time-tools=$(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin \
+#EXTRA_GCC_CONFIG_OPTIONS+=--with-as=$(TARGET_CROSS)as
 endif
 
 ifeq ($(strip $(subst ",, $(BR2_GCC_IS_SNAP))),y)
@@ -84,7 +84,7 @@
 EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--disable-libmudflap
 EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--disable-libssp
 EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--with-build-time-tools=$(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin \
-#EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--with-as=$(TARGET_CROSS)as
+EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--with-as=$(TARGET_CROSS)as
 endif
 
 

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-10-01 21:06 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-10-01 21:06 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-10-01 14:06:50 -0700 (Mon, 01 Oct 2007)
New Revision: 20165

Log:
- remove misplaced comment


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-10-01 18:04:42 UTC (rev 20164)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-10-01 21:06:50 UTC (rev 20165)
@@ -54,7 +54,7 @@
 GCC_DIR:=$(TOOL_BUILD_DIR)/gcc-$(GCC_OFFICIAL_VER)
 GCC_CAT:=$(BZCAT)
 GCC_STRIP_HOST_BINARIES:=nope
-GCC_SRC_DIR=$(GCC_DIR) # for stage2 and stage3 compilers. Usually same as stage1
+GCC_SRC_DIR:=$(GCC_DIR)
 
 ifeq ($(findstring x3.,x$(GCC_VERSION)),x3.)
 GCC_NO_MPFR:=y

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-10-01 12:57 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-10-01 12:57 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-10-01 05:57:36 -0700 (Mon, 01 Oct 2007)
New Revision: 20162

Log:
- pass configure args for the -target compiler


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-10-01 12:56:24 UTC (rev 20161)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-10-01 12:57:36 UTC (rev 20162)
@@ -393,6 +393,7 @@
 $(GCC_BUILD_DIR3)/.configured: $(GCC_BUILD_DIR3)/.prepared
 	(cd $(GCC_BUILD_DIR3); rm -rf config.cache; \
 		$(TARGET_CONFIGURE_OPTS) \
+		$(TARGET_CONFIGURE_ARGS) \
 		$(TARGET_GCC_FLAGS) \
 		$(GCC_SRC_DIR)/configure \
 		--prefix=/usr \

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-10-01 12:56 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-10-01 12:56 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-10-01 05:56:24 -0700 (Mon, 01 Oct 2007)
New Revision: 20161

Log:
- add additional EXTRA_GCC_CONFIG_OPTIONS for initial, cross and target compiler


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-10-01 12:05:12 UTC (rev 20160)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-10-01 12:56:24 UTC (rev 20161)
@@ -54,8 +54,8 @@
 GCC_DIR:=$(TOOL_BUILD_DIR)/gcc-$(GCC_OFFICIAL_VER)
 GCC_CAT:=$(BZCAT)
 GCC_STRIP_HOST_BINARIES:=nope
+GCC_SRC_DIR=$(GCC_DIR) # for stage2 and stage3 compilers. Usually same as stage1
 
-
 ifeq ($(findstring x3.,x$(GCC_VERSION)),x3.)
 GCC_NO_MPFR:=y
 endif
@@ -63,14 +63,16 @@
 GCC_NO_MPFR:=y
 endif
 
+GCC_TARGET_PREREQ=
+GCC_STAGING_PREREQ=
+
 #############################################################
 #
 # Setup some initial stuff
 #
 #############################################################
 
-GCC_TARGET_PREREQ=
-GCC_STAGING_PREREQ=$(STAGING_DIR)/usr/lib/libc.a
+GCC_STAGING_PREREQ+=$(STAGING_DIR)/usr/lib/libc.a
 
 GCC_TARGET_LANGUAGES:=c
 
@@ -206,7 +208,9 @@
 		$(MULTILIB) \
 		$(SOFT_FLOAT_CONFIG_OPTION) \
 		$(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
-		$(EXTRA_GCC_CONFIG_OPTIONS))
+		$(EXTRA_GCC_CONFIG_OPTIONS) \
+		$(EXTRA_GCC1_CONFIG_OPTIONS) \
+	)
 	touch $@
 
 $(GCC_BUILD_DIR1)/.compiled: $(GCC_BUILD_DIR1)/.configured
@@ -216,8 +220,6 @@
 gcc_initial=$(GCC_BUILD_DIR1)/.installed
 $(gcc_initial) $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc: $(GCC_BUILD_DIR1)/.compiled
 	PATH=$(TARGET_PATH) $(MAKE) -C $(GCC_BUILD_DIR1) install-gcc
-	#rm -f $(STAGING_DIR)/usr/bin/gccbug $(STAGING_DIR)/usr/bin/gcov
-	#rm -rf $(STAGING_DIR)/usr/info $(STAGING_DIR)/usr/man $(STAGING_DIR)/usr/share/doc $(STAGING_DIR)/usr/share/locale
 	touch $(gcc_initial)
 
 gcc_initial: uclibc-configured binutils $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc
@@ -242,7 +244,7 @@
 # guarantees. mjn3
 
 GCC_BUILD_DIR2:=$(TOOL_BUILD_DIR)/gcc-$(GCC_VERSION)-final
-$(GCC_BUILD_DIR2)/.configured: $(GCC_DIR)/.patched $(GCC_STAGING_PREREQ)
+$(GCC_BUILD_DIR2)/.configured: $(GCC_SRC_DIR)/.patched $(GCC_STAGING_PREREQ)
 	mkdir -p $(GCC_BUILD_DIR2)
 	# Important! Required for limits.h to be fixed.
 	ln -snf ../include/ $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/sys-include
@@ -250,7 +252,7 @@
 	#ln -snf ../lib $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib
 	(cd $(GCC_BUILD_DIR2); rm -rf config.cache; \
 		$(HOST_CONFIGURE_OPTS) \
-		$(GCC_DIR)/configure \
+		$(GCC_SRC_DIR)/configure \
 		--prefix=$(BR2_SYSROOT_PREFIX)/usr \
 		--build=$(GNU_HOST_NAME) \
 		--host=$(GNU_HOST_NAME) \
@@ -271,7 +273,9 @@
 		$(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
 		$(GCC_USE_SJLJ_EXCEPTIONS) \
 		$(DISABLE_LARGEFILE) \
-		$(EXTRA_GCC_CONFIG_OPTIONS))
+		$(EXTRA_GCC_CONFIG_OPTIONS) \
+		$(EXTRA_GCC2_CONFIG_OPTIONS) \
+	)
 	touch $@
 
 $(GCC_BUILD_DIR2)/.compiled: $(GCC_BUILD_DIR2)/.configured
@@ -390,7 +394,7 @@
 	(cd $(GCC_BUILD_DIR3); rm -rf config.cache; \
 		$(TARGET_CONFIGURE_OPTS) \
 		$(TARGET_GCC_FLAGS) \
-		$(GCC_DIR)/configure \
+		$(GCC_SRC_DIR)/configure \
 		--prefix=/usr \
 		--build=$(GNU_HOST_NAME) \
 		--host=$(REAL_GNU_TARGET_NAME) \
@@ -410,7 +414,9 @@
 		$(GCC_USE_SJLJ_EXCEPTIONS) \
 		$(DISABLE_LARGEFILE) \
 		$(EXTRA_GCC_CONFIG_OPTIONS) \
-		$(EXTRA_TARGET_GCC_CONFIG_OPTIONS))
+		$(EXTRA_TARGET_GCC_CONFIG_OPTIONS) \
+		$(EXTRA_GCC3_CONFIG_OPTIONS) \
+	)
 	touch $@
 
 $(GCC_BUILD_DIR3)/.compiled: $(GCC_BUILD_DIR3)/.configured
@@ -435,7 +441,7 @@
 endif
 ifeq ($(findstring 4.2,$(GCC_VERSION)),4.2)
 ifneq ($(findstring 4.2.,$(GCC_VERSION)),4.2.)
-REAL_GCC_VERSION=$(shell cat $(GCC_DIR)/gcc/BASE-VER)
+REAL_GCC_VERSION=$(shell cat $(GCC_SRC_DIR)/gcc/BASE-VER)
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(REAL_GCC_VERSION)
 else
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-09-29 20:44 ulf at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: ulf at uclibc.org @ 2007-09-29 20:44 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-09-29 13:44:30 -0700 (Sat, 29 Sep 2007)
New Revision: 20126

Log:
Revert modification of gcc, and make it AVR32 specific

Modified:
   trunk/buildroot/toolchain/gcc/Makefile.in
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2007-09-29 20:21:38 UTC (rev 20125)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2007-09-29 20:44:30 UTC (rev 20126)
@@ -14,6 +14,9 @@
 # AVR32 GCC configuration
 ifeq ($(strip $(BR2_avr32)),y)
 EXTRA_GCC_CONFIG_OPTIONS+=--disable-libmudflap
+EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--disable-libssp
+EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--with-build-time-tools=$(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin \
+#EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--with-as=$(TARGET_CROSS)as
 endif
 
 ifeq ($(strip $(subst ",, $(BR2_GCC_IS_SNAP))),y)
@@ -79,6 +82,9 @@
 # AVR32 target GCC configuration
 ifeq ($(strip $(BR2_avr32)),y)
 EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--disable-libmudflap
+EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--disable-libssp
+EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--with-build-time-tools=$(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin \
+#EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--with-as=$(TARGET_CROSS)as
 endif
 
 

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-09-29 20:21:38 UTC (rev 20125)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-09-29 20:44:30 UTC (rev 20126)
@@ -187,7 +187,6 @@
 		--disable-__cxa_atexit \
 		--enable-target-optspace \
 		--with-gnu-ld \
-		--with-as=$(TARGET_CROSS)as \
 		--disable-shared \
 		$(GCC_WITH_HOST_GMP) \
 		$(GCC_WITH_HOST_MPFR) \
@@ -252,8 +251,7 @@
 		--enable-languages=$(GCC_CROSS_LANGUAGES) \
 		--disable-__cxa_atexit \
 		--enable-target-optspace \
-		--with-build-time-tools=$(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin \
-		--disable-libssp \
+		--with-gnu-ld \
 		$(GCC_WITH_HOST_GMP) \
 		$(GCC_WITH_HOST_MPFR) \
 		$(GCC_SHARED_LIBGCC) \

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-09-29 17:32 ulf at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: ulf at uclibc.org @ 2007-09-29 17:32 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-09-29 10:32:58 -0700 (Sat, 29 Sep 2007)
New Revision: 20117

Log:
Use linke to build-time-tools, disable libssp which does not work for cross-compile

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-09-29 16:38:58 UTC (rev 20116)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-09-29 17:32:58 UTC (rev 20117)
@@ -252,8 +252,8 @@
 		--enable-languages=$(GCC_CROSS_LANGUAGES) \
 		--disable-__cxa_atexit \
 		--enable-target-optspace \
-		--with-gnu-ld \
-		--with-as=$(TARGET_CROSS)as \
+		--with-build-time-tools=$(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin \
+		--disable-libssp \
 		$(GCC_WITH_HOST_GMP) \
 		$(GCC_WITH_HOST_MPFR) \
 		$(GCC_SHARED_LIBGCC) \
@@ -355,13 +355,14 @@
 	touch $@
 
 cross_compiler:=$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc
-cross_compiler gcc: uclibc-configured binutils gcc_initial \
-	$(LIBFLOAT_TARGET) uclibc \
-	$(GCC_BUILD_DIR2)/.installed $(GCC_BUILD_DIR2)/.libs_installed \
+cross_compiler gcc: gcc-config $(GCC_BUILD_DIR2)/.installed $(GCC_BUILD_DIR2)/.libs_installed \
 	$(GCC_TARGETS)
 
 gcc-source: $(DL_DIR)/$(GCC_SOURCE)
 
+gcc-config:uclibc-configured binutils gcc_initial $(LIBFLOAT_TARGET) \
+	uclibc $(GCC_BUILD_DIR2)/.configured
+
 gcc-clean:
 	rm -rf $(GCC_BUILD_DIR2)
 	for prog in cpp gcc gcc-[0-9]* protoize unprotoize gcov gccbug cc; do \

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-09-28 19:53 ulf at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: ulf at uclibc.org @ 2007-09-28 19:53 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-09-28 12:53:13 -0700 (Fri, 28 Sep 2007)
New Revision: 20092

Log:
Add bells and whistles to allow gcc-4.1.2-AVR32 buildprocess to progress further, not home yet though

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-09-28 19:51:06 UTC (rev 20091)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-09-28 19:53:13 UTC (rev 20092)
@@ -176,7 +176,7 @@
 $(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.patched
 	mkdir -p $(GCC_BUILD_DIR1)
 	(cd $(GCC_BUILD_DIR1); PATH=$(TARGET_PATH) \
-		CC="$(HOSTCC)" \
+		$(HOST_CONFIGURE_OPTS) \
 		$(GCC_DIR)/configure \
 		--prefix=$(STAGING_DIR)/usr \
 		--build=$(GNU_HOST_NAME) \
@@ -187,6 +187,7 @@
 		--disable-__cxa_atexit \
 		--enable-target-optspace \
 		--with-gnu-ld \
+		--with-as=$(TARGET_CROSS)as \
 		--disable-shared \
 		$(GCC_WITH_HOST_GMP) \
 		$(GCC_WITH_HOST_MPFR) \
@@ -230,6 +231,7 @@
 # have something to do with "path translations" and possibly doesn't
 # affect gcc-target. However, I haven't tested gcc-target yet so no
 # guarantees. mjn3
+
 comma:=,
 GCC_BUILD_DIR2:=$(TOOL_BUILD_DIR)/gcc-$(GCC_VERSION)-final
 $(GCC_BUILD_DIR2)/.configured: $(GCC_DIR)/.patched $(GCC_STAGING_PREREQ)
@@ -240,6 +242,7 @@
 	#ln -snf ../lib/ $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib
 	(cd $(GCC_BUILD_DIR2); rm -rf config.cache; \
 		$(HOST_CONFIGURE_OPTS) \
+		GCC=$(TARGET_CROSS)gcc \
 		LDFLAGS_FOR_TARGET="$(patsubst %,LDFLAGS+=-Wl$(comma)%,$(TARGET_LDFLAGS)) -L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" \
 		$(GCC_DIR)/configure \
 		--prefix=$(STAGING_DIR) \
@@ -250,6 +253,7 @@
 		--disable-__cxa_atexit \
 		--enable-target-optspace \
 		--with-gnu-ld \
+		--with-as=$(TARGET_CROSS)as \
 		$(GCC_WITH_HOST_GMP) \
 		$(GCC_WITH_HOST_MPFR) \
 		$(GCC_SHARED_LIBGCC) \
@@ -265,11 +269,14 @@
 	touch $@
 
 $(GCC_BUILD_DIR2)/.compiled: $(GCC_BUILD_DIR2)/.configured
-	PATH=$(TARGET_PATH) $(MAKE) -C $(GCC_BUILD_DIR2) all
+	PATH=$(TARGET_PATH) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(GCC_BUILD_DIR2) all
 	touch $@
 
 $(GCC_BUILD_DIR2)/.installed: $(GCC_BUILD_DIR2)/.compiled
-	PATH=$(TARGET_PATH) $(MAKE) -C $(GCC_BUILD_DIR2) install
+	PATH=$(TARGET_PATH) \
+	$(MAKE) $(HOST_CONFIGURE_OPTS) \
+	LDFLAGS_FOR_TARGET="$(patsubst %,LDFLAGS+=-Wl$(comma)%,$(TARGET_LDFLAGS)) -L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" \
+	-C $(GCC_BUILD_DIR2) install
 	if [ -d "$(STAGING_DIR)/usr/lib64" ]; then \
 		if [ ! -e "$(STAGING_DIR)/usr/lib" ]; then \
 			mkdir "$(STAGING_DIR)/usr/lib"; \
@@ -390,6 +397,7 @@
 		--with-gxx-include-dir=/usr/include/c++ \
 		--disable-__cxa_atexit \
 		--with-gnu-ld \
+		--with-gnu-as \
 		$(GCC_SHARED_LIBGCC) \
 		$(GCC_WITH_TARGET_GMP) \
 		$(GCC_WITH_TARGET_MPFR) \
@@ -407,7 +415,10 @@
 
 $(GCC_BUILD_DIR3)/.compiled: $(GCC_BUILD_DIR3)/.configured
 	PATH=$(TARGET_PATH) \
-	$(MAKE) -C $(GCC_BUILD_DIR3) all
+	$(MAKE) $(TARGET_CONFIGURE_OPTS) \
+	CFLAGS_FOR_BUILD="-g -O2 $(HOST_CFLAGS)" \
+	$(TARGET_GCC_FLAGS) \
+	-C $(GCC_BUILD_DIR3) all
 	touch $@
 
 #
@@ -436,7 +447,11 @@
 
 $(TARGET_DIR)/usr/bin/gcc: $(GCC_BUILD_DIR3)/.compiled
 	PATH=$(TARGET_PATH) \
-	$(MAKE) DESTDIR=$(TARGET_DIR) -C $(GCC_BUILD_DIR3) install
+	$(MAKE) $(TARGET_CONFIGURE_OPTS) \
+	CFLAGS_FOR_BUILD="-g -O2 $(HOST_CFLAGS)" \
+	$(TARGET_GCC_FLAGS) \
+	DESTDIR=$(TARGET_DIR) \
+	-C $(GCC_BUILD_DIR3) install
 	# Remove broken specs file (cross compile flag is set).
 	rm -f $(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR)/specs
 	#

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-09-25 17:21 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-09-25 17:21 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-09-25 10:21:33 -0700 (Tue, 25 Sep 2007)
New Revision: 20023

Log:
- fix typo


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


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-09-25 16:39:22 UTC (rev 20022)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-09-25 17:21:33 UTC (rev 20023)
@@ -115,7 +115,7 @@
 	bool "Build/install c++ compiler and libstdc++?"
 	default n
 	# >= 4.2.0 work fine without LARGEFILE
-	select BR2_LARGEFILE if BR2_GCC_SUPPORTS_SYSROOT
+	select BR2_LARGEFILE if !BR2_GCC_SUPPORTS_SYSROOT
 	select BR2_GCC_CROSS_CXX
 	help
 	  Build/install c++ compiler and libstdc++?

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-09-25 16:39 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-09-25 16:39 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-09-25 09:39:22 -0700 (Tue, 25 Sep 2007)
New Revision: 20022

Log:
- build a cross c++ compiler if we're asked to build libstdc++


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


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-09-25 14:45:26 UTC (rev 20021)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-09-25 16:39:22 UTC (rev 20022)
@@ -115,8 +115,8 @@
 	bool "Build/install c++ compiler and libstdc++?"
 	default n
 	# >= 4.2.0 work fine without LARGEFILE
-	# huh? why so? select BR2_LARGEFILE
 	select BR2_LARGEFILE if BR2_GCC_SUPPORTS_SYSROOT
+	select BR2_GCC_CROSS_CXX
 	help
 	  Build/install c++ compiler and libstdc++?
 

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-09-23 21:23 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-09-23 21:23 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-09-23 14:23:10 -0700 (Sun, 23 Sep 2007)
New Revision: 19980

Log:
- rebuild compiler if libstdcpp setting was changed


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-09-23 20:46:44 UTC (rev 19979)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-09-23 21:23:10 UTC (rev 19980)
@@ -90,6 +90,7 @@
 $(wildcard $(BR2_DEPENDS_DIR)/br2/install/libgcj*)\
 $(wildcard $(BR2_DEPENDS_DIR)/br2/install/objc*)\
 $(wildcard $(BR2_DEPENDS_DIR)/br2/install/fortran*)\
+$(wildcard $(BR2_DEPENDS_DIR)/br2/install/libstdcpp*)\
 $(wildcard $(BR2_DEPENDS_DIR)/br2/prefer/ima*)\
 $(wildcard $(BR2_DEPENDS_DIR)/br2/toolchain/sysroot*)\
 $(wildcard $(BR2_DEPENDS_DIR)/br2/use/sjlj/exceptions*)\

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-09-20  9:25 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-09-20  9:25 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-09-20 02:25:57 -0700 (Thu, 20 Sep 2007)
New Revision: 19904

Log:
- fix typo. This is an lxdialog bug for "depends on !!CONFIG_SYMBOL" where the double negation produces an error that is not reported, from the looks..


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


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-09-20 07:19:52 UTC (rev 19903)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-09-20 09:25:57 UTC (rev 19904)
@@ -119,7 +119,7 @@
 
 config BR2_TOOLCHAIN_SYSROOT
 	bool "Enable toolchain with --sysroot support"
-	depends on !BR2_GCC_VERSION_3_3_5 && !BR2_GCC_VERSION_3_3_6 && !BR2_GCC_VERSION_3_4_2 && !BR2_GCC_VERSION_3_4_3 && !BR2_GCC_VERSION_3_4_4 && !BR2_GCC_VERSION_3_4_5 && !BR2_GCC_VERSION_3_4_6 && !BR2_GCC_VERSION_4_0_0 && !BR2_GCC_VERSION_4_0_1 && !BR2_GCC_VERSION_4_0_2 && !BR2_GCC_VERSION_4_0_3 && !BR2_GCC_VERSION_4_0_4 && !BR2_GCC_VERSION_4_1_0 && !BR2_GCC_VERSION_4_1_1 && !!BR2_GCC_VERSION_4_1_2
+	depends on !BR2_GCC_VERSION_3_3_5 && !BR2_GCC_VERSION_3_3_6 && !BR2_GCC_VERSION_3_4_2 && !BR2_GCC_VERSION_3_4_3 && !BR2_GCC_VERSION_3_4_4 && !BR2_GCC_VERSION_3_4_5 && !BR2_GCC_VERSION_3_4_6 && !BR2_GCC_VERSION_4_0_0 && !BR2_GCC_VERSION_4_0_1 && !BR2_GCC_VERSION_4_0_2 && !BR2_GCC_VERSION_4_0_3 && !BR2_GCC_VERSION_4_0_4 && !BR2_GCC_VERSION_4_1_0 && !BR2_GCC_VERSION_4_1_1 && !BR2_GCC_VERSION_4_1_2
 	default y
 	help
 	  Enables --sysroot=dir for binutils and gcc.

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-09-19 18:46 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-09-19 18:46 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-09-19 11:46:45 -0700 (Wed, 19 Sep 2007)
New Revision: 19897

Log:
- don't strip the host binaries for now


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-09-19 18:18:09 UTC (rev 19896)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-09-19 18:46:45 UTC (rev 19897)
@@ -54,7 +54,7 @@
 GCC_SOURCE:=gcc-$(GCC_OFFICIAL_VER).tar.bz2
 GCC_DIR:=$(TOOL_BUILD_DIR)/gcc-$(GCC_OFFICIAL_VER)
 GCC_CAT:=$(BZCAT)
-GCC_STRIP_HOST_BINARIES:=true
+GCC_STRIP_HOST_BINARIES:=nope
 
 
 ifeq ($(findstring x3.,x$(GCC_VERSION)),x3.)

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-09-19 17:32 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-09-19 17:32 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-09-19 10:32:21 -0700 (Wed, 19 Sep 2007)
New Revision: 19894

Log:
- exclude other old, deprecated and unsupported versions of gcc


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


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-09-19 14:15:46 UTC (rev 19893)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-09-19 17:32:21 UTC (rev 19894)
@@ -119,7 +119,7 @@
 
 config BR2_TOOLCHAIN_SYSROOT
 	bool "Enable toolchain with --sysroot support"
-	depends on !BR2_GCC_VERSION_3_3_5 && !BR2_GCC_VERSION_3_3_6 && !BR2_GCC_VERSION_3_4_2 && !BR2_GCC_VERSION_3_4_3 && !BR2_GCC_VERSION_3_4_4 && !BR2_GCC_VERSION_3_4_5 && !BR2_GCC_VERSION_3_4_6 && !BR2_GCC_VERSION_4_1_2
+	depends on !BR2_GCC_VERSION_3_3_5 && !BR2_GCC_VERSION_3_3_6 && !BR2_GCC_VERSION_3_4_2 && !BR2_GCC_VERSION_3_4_3 && !BR2_GCC_VERSION_3_4_4 && !BR2_GCC_VERSION_3_4_5 && !BR2_GCC_VERSION_3_4_6 && !BR2_GCC_VERSION_4_0_0 && !BR2_GCC_VERSION_4_0_1 && !BR2_GCC_VERSION_4_0_2 && !BR2_GCC_VERSION_4_0_3 && !BR2_GCC_VERSION_4_0_4 && !BR2_GCC_VERSION_4_1_0 && !BR2_GCC_VERSION_4_1_1 && !!BR2_GCC_VERSION_4_1_2
 	default y
 	help
 	  Enables --sysroot=dir for binutils and gcc.

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-09-15 12:12 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-09-15 12:12 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-09-15 05:12:56 -0700 (Sat, 15 Sep 2007)
New Revision: 19852

Log:
- fix copy'n paste error in ABI configuration


Modified:
   trunk/buildroot/toolchain/gcc/Makefile.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2007-09-15 11:05:11 UTC (rev 19851)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2007-09-15 12:12:56 UTC (rev 19852)
@@ -64,7 +64,7 @@
 endif
 ifneq ($(strip $(subst ",,$(BR2_GCC_TARGET_ABI))),)
 # ")))
-GCC_WITH_ABI:=--with-tune=$(BR2_GCC_TARGET_ABI)
+GCC_WITH_ABI:=--with-abi=$(BR2_GCC_TARGET_ABI)
 endif
 endif
 

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-09-04  8:22         ` Cristian Ionescu-Idbohrn
@ 2007-09-04  8:43           ` Peter Korsgaard
  0 siblings, 0 replies; 170+ messages in thread
From: Peter Korsgaard @ 2007-09-04  8:43 UTC (permalink / raw)
  To: buildroot

>>>>> "Cristian" == Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> writes:

Hi,

 Cristian> On Mon, 3 Sep 2007, Ulf Samuelsson wrote:
 >> I think it would be better if we had a MAKEALL script
 >> which needs to be run before a patch is accepted.
 >> 
 >> This should at least build a minimal rootfs for x86 and ARM.

 Cristian> Excellent idea.

Alternatively we can setup a buildbot (http://buildbot.net) instance
for buildroot for continous checks.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-09-03 21:16       ` Ulf Samuelsson
@ 2007-09-04  8:22         ` Cristian Ionescu-Idbohrn
  2007-09-04  8:43           ` Peter Korsgaard
  0 siblings, 1 reply; 170+ messages in thread
From: Cristian Ionescu-Idbohrn @ 2007-09-04  8:22 UTC (permalink / raw)
  To: buildroot

On Mon, 3 Sep 2007, Ulf Samuelsson wrote:

> I think it would be better if we had a MAKEALL script
> which needs to be run before a patch is accepted.
>
> This should at least build a minimal rootfs for x86 and ARM.

Excellent idea.


Cheers,

-- 
Cristian

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-09-03 14:29   ` Ulf Samuelsson
  2007-09-03 16:22     ` Rouslan Solomakhin
@ 2007-09-04  7:39     ` Bernhard Fischer
  1 sibling, 0 replies; 170+ messages in thread
From: Bernhard Fischer @ 2007-09-04  7:39 UTC (permalink / raw)
  To: buildroot

On Mon, Sep 03, 2007 at 04:29:55PM +0200, Ulf Samuelsson wrote:

>Have been pondering on the larger question for some time.
>How do we decide when to trust patches like this?

This one was obviously incorrect. Please don't apply patches that are
not 100% clean, especially not if somebody else is still talking about
it with the submitter (or if the patch is obviously incorrect).
There are only a very few exceptions like big patches (xorg for one) or
being nice and to provide stubs for somebody else to base on (like
mutt).

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-09-04  7:35 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-09-04  7:35 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-09-04 00:35:19 -0700 (Tue, 04 Sep 2007)
New Revision: 19777

Log:
- correctly filter out the script


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-09-03 20:05:58 UTC (rev 19776)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-09-04 07:35:19 UTC (rev 19777)
@@ -282,7 +282,7 @@
 	fi
 	# Strip the host binaries
 ifeq ($(GCC_STRIP_HOST_BINARIES),true)
-	strip --strip-all -R .note -R .comment $(filter-out gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
+	strip --strip-all -R .note -R .comment $(filter-out %-gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
 endif
 	# Make sure we have 'cc'.
 	if [ ! -e $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc ]; then \

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-09-03 20:05:58 UTC (rev 19776)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-09-04 07:35:19 UTC (rev 19777)
@@ -290,7 +290,7 @@
 	fi
 	# Strip the host binaries
 ifeq ($(GCC_STRIP_HOST_BINARIES),true)
-	strip --strip-all -R .note -R .comment $(filter-out gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
+	strip --strip-all -R .note -R .comment $(filter-out %-gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
 endif
 	# Make sure we have 'cc'.
 	if [ ! -e $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc ]; then \

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-09-03 16:22     ` Rouslan Solomakhin
@ 2007-09-03 21:16       ` Ulf Samuelsson
  2007-09-04  8:22         ` Cristian Ionescu-Idbohrn
  0 siblings, 1 reply; 170+ messages in thread
From: Ulf Samuelsson @ 2007-09-03 21:16 UTC (permalink / raw)
  To: buildroot

>>> On Sun, Sep 02, 2007 at 11:26:08PM -0700, ulf at uclibc.org wrote:
>> Have been pondering on the larger question for some time.
>> How do we decide when to trust patches like this?
> 
> Sorry the patch didn't work for you. It solved the problem in my case, for
> whatever reason.
> 
> Regarding trusting patches: maybe apply them in a temporary copy of the
> tree and try to compile it? That would show any patches that break
> anything.
> 
> Regards,
> Rouslan


No good, since that is adding quite a lot of load on anyone
submitting a patch from another person.

I think it would be better if we had a MAKEALL script
which needs to be run before a patch is accepted.

This should at least build a minimal rootfs for x86 and ARM.


Best Regards
Ulf Samuelsson

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-09-03 14:29   ` Ulf Samuelsson
@ 2007-09-03 16:22     ` Rouslan Solomakhin
  2007-09-03 21:16       ` Ulf Samuelsson
  2007-09-04  7:39     ` Bernhard Fischer
  1 sibling, 1 reply; 170+ messages in thread
From: Rouslan Solomakhin @ 2007-09-03 16:22 UTC (permalink / raw)
  To: buildroot

>> On Sun, Sep 02, 2007 at 11:26:08PM -0700, ulf at uclibc.org wrote:
> Have been pondering on the larger question for some time.
> How do we decide when to trust patches like this?

Sorry the patch didn't work for you. It solved the problem in my case, for
whatever reason.

Regarding trusting patches: maybe apply them in a temporary copy of the
tree and try to compile it? That would show any patches that break
anything.

Regards,
Rouslan

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-09-03 14:09 ` Bernhard Fischer
@ 2007-09-03 14:29   ` Ulf Samuelsson
  2007-09-03 16:22     ` Rouslan Solomakhin
  2007-09-04  7:39     ` Bernhard Fischer
  0 siblings, 2 replies; 170+ messages in thread
From: Ulf Samuelsson @ 2007-09-03 14:29 UTC (permalink / raw)
  To: buildroot

> On Sun, Sep 02, 2007 at 11:26:08PM -0700, ulf at uclibc.org wrote:
>>Author: ulf
>>Date: 2007-09-02 23:26:06 -0700 (Sun, 02 Sep 2007)
>>New Revision: 19770
>>
>>Log:
>>Cleanup handling of gccbug script
>>
>>Modified:
>>   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
>>   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
>>
>>
>>Changeset:
>>Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
>>===================================================================
>>--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk 2007-09-03 06:10:01 UTC (rev 19769)
>>+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk 2007-09-03 06:26:06 UTC (rev 19770)
>>@@ -282,7 +282,7 @@
>> fi
>> # Strip the host binaries
>> ifeq ($(GCC_STRIP_HOST_BINARIES),true)
>>- strip --strip-all -R .note -R .comment $(filter-out -gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
>>+ strip --strip-all -R .note -R .comment $(filter-out gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
>> endif
>> # Make sure we have 'cc'.
>> if [ ! -e $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc ]; then \
>>
>>Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
>>===================================================================
>>--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk 2007-09-03 06:10:01 UTC (rev 19769)
>>+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk 2007-09-03 06:26:06 UTC (rev 19770)
>>@@ -290,7 +290,7 @@
>> fi
>> # Strip the host binaries
>> ifeq ($(GCC_STRIP_HOST_BINARIES),true)
>>- strip --strip-all -R .note -R .comment $(filter-out -gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
>>+ strip --strip-all -R .note -R .comment $(filter-out gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
> 
> No, this is wrong. Ulf, did you try this at all?
> *grumble*
> 

No, there was someone else (dont remember who) reporting "-gccbug" as a problem 
and provided a patch using "gccbug"  which I applied.

Reading the documentation for "filter-out" ,makes me believe that both the
original and the fix are incorrect.

filter-out will only remove the white space separated word in the first parameter,
so AFAIK, there is nothing removed by the original rule.

- strip --strip-all -R .note -R .comment $(filter-out -gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))

should be replaced by:
- strip --strip-all -R .note -R .comment $(filter-out $(REAL_GNU_TARGET_NAME)-gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*





Have been pondering on the larger question for some time.
How do we decide when to trust patches like this?


Best Regards
Ulf Samuelsson

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-09-03  6:26 ulf at uclibc.org
@ 2007-09-03 14:09 ` Bernhard Fischer
  2007-09-03 14:29   ` Ulf Samuelsson
  0 siblings, 1 reply; 170+ messages in thread
From: Bernhard Fischer @ 2007-09-03 14:09 UTC (permalink / raw)
  To: buildroot

On Sun, Sep 02, 2007 at 11:26:08PM -0700, ulf at uclibc.org wrote:
>Author: ulf
>Date: 2007-09-02 23:26:06 -0700 (Sun, 02 Sep 2007)
>New Revision: 19770
>
>Log:
>Cleanup handling of gccbug script
>
>Modified:
>   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
>   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
>
>
>Changeset:
>Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
>===================================================================
>--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-09-03 06:10:01 UTC (rev 19769)
>+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-09-03 06:26:06 UTC (rev 19770)
>@@ -282,7 +282,7 @@
> 	fi
> 	# Strip the host binaries
> ifeq ($(GCC_STRIP_HOST_BINARIES),true)
>-	strip --strip-all -R .note -R .comment $(filter-out -gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
>+	strip --strip-all -R .note -R .comment $(filter-out gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
> endif
> 	# Make sure we have 'cc'.
> 	if [ ! -e $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc ]; then \
>
>Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
>===================================================================
>--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-09-03 06:10:01 UTC (rev 19769)
>+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-09-03 06:26:06 UTC (rev 19770)
>@@ -290,7 +290,7 @@
> 	fi
> 	# Strip the host binaries
> ifeq ($(GCC_STRIP_HOST_BINARIES),true)
>-	strip --strip-all -R .note -R .comment $(filter-out -gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
>+	strip --strip-all -R .note -R .comment $(filter-out gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))

No, this is wrong. Ulf, did you try this at all?
*grumble*

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-09-01 18:43 ` Bernhard Fischer
@ 2007-09-03  7:41   ` Ulf Samuelsson
  0 siblings, 0 replies; 170+ messages in thread
From: Ulf Samuelsson @ 2007-09-03  7:41 UTC (permalink / raw)
  To: buildroot

l?r 2007-09-01 klockan 20:43 +0200 skrev Bernhard Fischer:
> On Sat, Jul 07, 2007 at 05:28:29AM -0700, ulf at uclibc.org wrote:
> >Author: ulf
> >Date: 2007-07-07 05:28:25 -0700 (Sat, 07 Jul 2007)
> >New Revision: 19020
> >
> >Log:
> >Avoid stripping scripts
> >
> >Modified:
> >   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
> >
> >
> >Changeset:
> >Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
> >===================================================================
> >--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-07 11:06:08 UTC (rev 19019)
> >+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-07 12:28:25 UTC (rev 19020)
> >@@ -247,17 +247,13 @@
> > 		mv "$(STAGING_DIR)/lib64/"* "$(STAGING_DIR)/lib/" ; \
> > 		rmdir "$(STAGING_DIR)/lib64" ; \
> > 	fi
> >+	# Move gcc bug reporting script out of path of real executables
> >+	mv -f $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gccbug \
> >+		$(STAGING_DIR)/usr/bin/$(GNU_TARGET_NAME)-gccbug
> > 	# Strip the host binaries
> > ifeq ($(GCC_STRIP_HOST_BINARIES),true)
> >-	if [ -e $(STAGING_DIR)/usr/bin/*-gccbug ] ; then \
> >-		mkdir -p "$(STAGING_DIR)/tmp" ; \
> >-		mv $(STAGING_DIR)/usr/bin/*-gccbug  $(STAGING_DIR)/tmp ; \
> >-		-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/* ; \
> >-		mv $(STAGING_DIR)/tmp/*-gccbug $(STAGING_DIR)/usr/bin ; \
> >-		rmdir "$(STAGING_DIR)/tmp" ; \
> >-	else \
> >-		-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/* ; \
> >-	fi
> >+	-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*
> >+	-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/faked
> 
> Ulf, please explain why you introduced this bug?
> WTH is faked doing in gcc? I urge you to fix this..

Previously it would strip  "$(STAGING_DIR)/usr/bin/*"
'*' would also strip faked (if present)

I "fixed" the gccbug stuff by renaming it,and then only stripped
$(REAL_GNU_TARGET_NAME)-*

To maintain compatability with the previous implementation.
I also stripped faked.

Your filter-out is better, so I removed the rename and removed the strip
of faked.


-- 
Best Regards,
Ulf Samuelsson

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-09-03  6:26 ulf at uclibc.org
  2007-09-03 14:09 ` Bernhard Fischer
  0 siblings, 1 reply; 170+ messages in thread
From: ulf at uclibc.org @ 2007-09-03  6:26 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-09-02 23:26:06 -0700 (Sun, 02 Sep 2007)
New Revision: 19770

Log:
Cleanup handling of gccbug script

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-09-03 06:10:01 UTC (rev 19769)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-09-03 06:26:06 UTC (rev 19770)
@@ -282,7 +282,7 @@
 	fi
 	# Strip the host binaries
 ifeq ($(GCC_STRIP_HOST_BINARIES),true)
-	strip --strip-all -R .note -R .comment $(filter-out -gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
+	strip --strip-all -R .note -R .comment $(filter-out gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
 endif
 	# Make sure we have 'cc'.
 	if [ ! -e $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc ]; then \

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-09-03 06:10:01 UTC (rev 19769)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-09-03 06:26:06 UTC (rev 19770)
@@ -290,7 +290,7 @@
 	fi
 	# Strip the host binaries
 ifeq ($(GCC_STRIP_HOST_BINARIES),true)
-	strip --strip-all -R .note -R .comment $(filter-out -gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
+	strip --strip-all -R .note -R .comment $(filter-out gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
 endif
 	# Make sure we have 'cc'.
 	if [ ! -e $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc ]; then \

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-09-03  6:10 ulf at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: ulf at uclibc.org @ 2007-09-03  6:10 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-09-02 23:10:01 -0700 (Sun, 02 Sep 2007)
New Revision: 19769

Log:
Cleanup handling of gccbug script

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-09-02 22:12:07 UTC (rev 19768)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-09-03 06:10:01 UTC (rev 19769)
@@ -282,7 +282,7 @@
 	fi
 	# Strip the host binaries
 ifeq ($(GCC_STRIP_HOST_BINARIES),true)
-	-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/*
+	strip --strip-all -R .note -R .comment $(filter-out -gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
 endif
 	# Make sure we have 'cc'.
 	if [ ! -e $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc ]; then \

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-09-02 22:12:07 UTC (rev 19768)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-09-03 06:10:01 UTC (rev 19769)
@@ -288,13 +288,9 @@
 		mv "$(STAGING_DIR)/lib64/"* "$(STAGING_DIR)/lib/"; \
 		rmdir "$(STAGING_DIR)/lib64"; \
 	fi
-	# Move gcc bug reporting script out of path of real executables
-	mv -f $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gccbug \
-		$(STAGING_DIR)/usr/bin/$(GNU_TARGET_NAME)-gccbug
 	# Strip the host binaries
 ifeq ($(GCC_STRIP_HOST_BINARIES),true)
 	strip --strip-all -R .note -R .comment $(filter-out -gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
-	-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/faked
 endif
 	# Make sure we have 'cc'.
 	if [ ! -e $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc ]; then \

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-07-07 12:28 ulf at uclibc.org
@ 2007-09-01 18:43 ` Bernhard Fischer
  2007-09-03  7:41   ` Ulf Samuelsson
  0 siblings, 1 reply; 170+ messages in thread
From: Bernhard Fischer @ 2007-09-01 18:43 UTC (permalink / raw)
  To: buildroot

On Sat, Jul 07, 2007 at 05:28:29AM -0700, ulf at uclibc.org wrote:
>Author: ulf
>Date: 2007-07-07 05:28:25 -0700 (Sat, 07 Jul 2007)
>New Revision: 19020
>
>Log:
>Avoid stripping scripts
>
>Modified:
>   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
>
>
>Changeset:
>Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
>===================================================================
>--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-07 11:06:08 UTC (rev 19019)
>+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-07 12:28:25 UTC (rev 19020)
>@@ -247,17 +247,13 @@
> 		mv "$(STAGING_DIR)/lib64/"* "$(STAGING_DIR)/lib/" ; \
> 		rmdir "$(STAGING_DIR)/lib64" ; \
> 	fi
>+	# Move gcc bug reporting script out of path of real executables
>+	mv -f $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gccbug \
>+		$(STAGING_DIR)/usr/bin/$(GNU_TARGET_NAME)-gccbug
> 	# Strip the host binaries
> ifeq ($(GCC_STRIP_HOST_BINARIES),true)
>-	if [ -e $(STAGING_DIR)/usr/bin/*-gccbug ] ; then \
>-		mkdir -p "$(STAGING_DIR)/tmp" ; \
>-		mv $(STAGING_DIR)/usr/bin/*-gccbug  $(STAGING_DIR)/tmp ; \
>-		-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/* ; \
>-		mv $(STAGING_DIR)/tmp/*-gccbug $(STAGING_DIR)/usr/bin ; \
>-		rmdir "$(STAGING_DIR)/tmp" ; \
>-	else \
>-		-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/* ; \
>-	fi
>+	-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*
>+	-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/faked

Ulf, please explain why you introduced this bug?
WTH is faked doing in gcc? I urge you to fix this..

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-09-01 17:11 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-09-01 17:11 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-09-01 10:11:24 -0700 (Sat, 01 Sep 2007)
New Revision: 19750

Log:
- don't try to strip the gccbug script


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-09-01 17:10:55 UTC (rev 19749)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-09-01 17:11:24 UTC (rev 19750)
@@ -291,7 +291,7 @@
 		$(STAGING_DIR)/usr/bin/$(GNU_TARGET_NAME)-gccbug
 	# Strip the host binaries
 ifeq ($(GCC_STRIP_HOST_BINARIES),true)
-	-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*
+	strip --strip-all -R .note -R .comment $(filter-out -gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
 	-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/faked
 endif
 	# Make sure we have 'cc'.

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-09-01 17:09 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-09-01 17:09 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-09-01 10:09:08 -0700 (Sat, 01 Sep 2007)
New Revision: 19748

Log:
- GCC_CROSS_LANGUAGES for non-sysroot enabled gcc


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-09-01 17:06:53 UTC (rev 19747)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-09-01 17:09:08 UTC (rev 19748)
@@ -80,16 +80,26 @@
 #
 #############################################################
 
+
+GCC_CROSS_LANGUAGES:=c
+ifeq ($(BR2_GCC_CROSS_CXX),y)
+GCC_CROSS_LANGUAGES:=$(GCC_CROSS_LANGUAGES),c++
+endif
+ifeq ($(BR2_GCC_CROSS_FORTRAN),y)
+GCC_CROSS_LANGUAGES:=$(GCC_CROSS_LANGUAGES),fortran
+endif
+ifeq ($(BR2_GCC_CROSS_OBJC),y)
+GCC_CROSS_LANGUAGES:=$(GCC_CROSS_LANGUAGES),objc
+endif
+
+
 GCC_TARGET_LANGUAGES:=c
-
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 GCC_TARGET_LANGUAGES:=$(GCC_TARGET_LANGUAGES),c++
 endif
-
 ifeq ($(BR2_INSTALL_LIBGCJ),y)
 GCC_TARGET_LANGUAGES:=$(GCC_TARGET_LANGUAGES),java
 endif
-
 ifeq ($(BR2_INSTALL_OBJC),y)
 GCC_TARGET_LANGUAGES:=$(GCC_TARGET_LANGUAGES),objc
 endif
@@ -237,7 +247,7 @@
 		--build=$(GNU_HOST_NAME) \
 		--host=$(GNU_HOST_NAME) \
 		--target=$(REAL_GNU_TARGET_NAME) \
-		--enable-languages=$(GCC_TARGET_LANGUAGES) \
+		--enable-languages=$(GCC_CROSS_LANGUAGES) \
 		--disable-__cxa_atexit \
 		--enable-target-optspace \
 		--with-gnu-ld \

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-08-26 21:00 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-08-26 21:00 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-08-26 14:00:56 -0700 (Sun, 26 Aug 2007)
New Revision: 19704

Log:
- make sure to honour user flags


Modified:
   trunk/buildroot/toolchain/gcc/Makefile.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2007-08-26 20:55:02 UTC (rev 19703)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2007-08-26 21:00:56 UTC (rev 19704)
@@ -74,8 +74,16 @@
 	BOOT_CFLAGS="$(TARGET_CFLAGS) $(TARGET_SOFT_FLOAT)"
 
 ifeq ($(strip $(BR2_PACKAGE_GCC_TARGET)),y)
-# pull in config opts from the user
-EXTRA_TARGET_GCC_CONFIG_OPTIONS:=$(strip $(subst ",, $(BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS)))
+EXTRA_TARGET_GCC_CONFIG_OPTIONS:=
+
+# AVR32 target GCC configuration
+ifeq ($(strip $(BR2_avr32)),y)
+EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--disable-libmudflap
+endif
+
+
+# and finally pull in config opts from the user
+EXTRA_TARGET_GCC_CONFIG_OPTIONS+=$(strip $(subst ",, $(BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS)))
 #"))
 
 ifeq ($(BR2_PREFER_IMA),y)
@@ -85,10 +93,5 @@
 endif
 endif # BR2_PREFER_IMA=y
 
-# AVR32 target GCC configuration
-ifeq ($(strip $(BR2_avr32)),y)
-EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--disable-libmudflap
-endif
-
 TARGETS+=gcc_target
 endif

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-08-26 20:47 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-08-26 20:47 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-08-26 13:47:18 -0700 (Sun, 26 Aug 2007)
New Revision: 19702

Log:
- If we are to build some libs then require them to exist.
- Strip host files with host strip (untested, will likely need a HOSTSTRIP)


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-08-26 20:40:31 UTC (rev 19701)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-08-26 20:47:18 UTC (rev 19702)
@@ -316,20 +316,20 @@
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
 	# These are in /lib, so...
 	rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so*
-	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* $(TARGET_DIR)/lib/
-	$(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*
+	cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* $(TARGET_DIR)/lib/
+	-strip --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
-	-cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
-	$(STRIP) --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*
+	cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
+	-strip --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*
 endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)
-	-cp -dpf $(STAGING_DIR)/lib/libgcj.so* $(TARGET_DIR)/usr/lib/
-	-cp -dpf $(STAGING_DIR)/lib/lib-org-w3c-dom.so* $(TARGET_DIR)/usr/lib/
-	-cp -dpf $(STAGING_DIR)/lib/lib-org-xml-sax.so* $(TARGET_DIR)/usr/lib/
+	cp -dpf $(STAGING_DIR)/lib/libgcj.so* $(TARGET_DIR)/usr/lib/
+	cp -dpf $(STAGING_DIR)/lib/lib-org-w3c-dom.so* $(TARGET_DIR)/usr/lib/
+	cp -dpf $(STAGING_DIR)/lib/lib-org-xml-sax.so* $(TARGET_DIR)/usr/lib/
 	mkdir -p $(TARGET_DIR)/usr/lib/security
-	-cp -dpf $(STAGING_DIR)/usr/lib/security/libgcj.security $(TARGET_DIR)/usr/lib/security/
-	-cp -dpf $(STAGING_DIR)/usr/lib/security/classpath.security $(TARGET_DIR)/usr/lib/security/
+	cp -dpf $(STAGING_DIR)/usr/lib/security/libgcj.security $(TARGET_DIR)/usr/lib/security/
+	cp -dpf $(STAGING_DIR)/usr/lib/security/classpath.security $(TARGET_DIR)/usr/lib/security/
 endif
 	touch $@
 

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-08-26 20:40:31 UTC (rev 19701)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-08-26 20:47:18 UTC (rev 19702)
@@ -340,18 +340,18 @@
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
 	# These are in /lib, so...
 	rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so*
-	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* $(TARGET_DIR)/lib/
+	cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* $(TARGET_DIR)/lib/
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
-	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
+	cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
 endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)
-	-cp -dpf $(STAGING_DIR)/lib/libgcj.so* $(TARGET_DIR)/lib/
-	-cp -dpf $(STAGING_DIR)/lib/lib-org-w3c-dom.so* $(TARGET_DIR)/lib/
-	-cp -dpf $(STAGING_DIR)/lib/lib-org-xml-sax.so* $(TARGET_DIR)/lib/
+	cp -dpf $(STAGING_DIR)/lib/libgcj.so* $(TARGET_DIR)/lib/
+	cp -dpf $(STAGING_DIR)/lib/lib-org-w3c-dom.so* $(TARGET_DIR)/lib/
+	cp -dpf $(STAGING_DIR)/lib/lib-org-xml-sax.so* $(TARGET_DIR)/lib/
 	mkdir -p $(TARGET_DIR)/usr/lib/security
-	-cp -dpf $(STAGING_DIR)/usr/lib/security/libgcj.security $(TARGET_DIR)/usr/lib/security/
-	-cp -dpf $(STAGING_DIR)/usr/lib/security/classpath.security $(TARGET_DIR)/usr/lib/security/
+	cp -dpf $(STAGING_DIR)/usr/lib/security/libgcj.security $(TARGET_DIR)/usr/lib/security/
+	cp -dpf $(STAGING_DIR)/usr/lib/security/classpath.security $(TARGET_DIR)/usr/lib/security/
 endif
 	touch $@
 

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-08-21 10:26 ` Cristian Ionescu-Idbohrn
@ 2007-08-21 11:11   ` Bernhard Fischer
  0 siblings, 0 replies; 170+ messages in thread
From: Bernhard Fischer @ 2007-08-21 11:11 UTC (permalink / raw)
  To: buildroot

On Tue, Aug 21, 2007 at 12:26:00PM +0200, Cristian Ionescu-Idbohrn wrote:
>I'd like to comment on this, if you don't mind.
>
>On Tue, 21 Aug 2007, aldot at uclibc.org wrote:
>
>> Log:
>> - put libstdc++.so into the correct place (usr/lib) and make sure
>>   that the dir exists
>>
>>
>> Modified:
>>    trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
>>    trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
>>
>>
>> Changeset:
>> Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
>> Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
>> ===================================================================
>> --- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-08-21 10:26:55 UTC (rev 19601)
>> +++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-08-21 10:28:43 UTC (rev 19602)
>> @@ -333,6 +333,7 @@
>>  	#
>>  	# Ok... that's enough of that.
>>  	#
>> +	-mkdir -p $(TARGET_DIR)/usr/lib $(TARGET_DIR)/usr/sbin
>        ^
>        please remove the dash, because
>
>[man mkdir]
>       -p, --parents
>              no error if existing, make parent directories as needed
>
>But if it still fails for any reason, then we want to know and have
>make stop there.  What do you think?

Fair enough. See r19612

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-08-21 10:32 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-08-21 10:32 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-08-21 03:32:55 -0700 (Tue, 21 Aug 2007)
New Revision: 19603

Log:
- 4.2.1 obsoletes 4.2.0


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


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-08-21 10:28:43 UTC (rev 19602)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-08-21 10:32:55 UTC (rev 19603)
@@ -69,7 +69,7 @@
 		bool "gcc 4.1.2"
 
 	config BR2_GCC_VERSION_4_2_0
-		depends !BR2_avr32 && !BR2_nios2
+		depends !BR2_avr32 && !BR2_nios2 && BR2_DEPRECATED
 		bool "gcc 4.2.0"
 
 	config BR2_GCC_VERSION_4_2_1

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-08-21 10:28 aldot at uclibc.org
  2007-08-21 10:26 ` Cristian Ionescu-Idbohrn
  0 siblings, 1 reply; 170+ messages in thread
From: aldot at uclibc.org @ 2007-08-21 10:28 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-08-21 03:28:43 -0700 (Tue, 21 Aug 2007)
New Revision: 19602

Log:
- put libstdc++.so into the correct place (usr/lib) and make sure that the dir exists


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-08-21 10:26:55 UTC (rev 19601)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-08-21 10:28:43 UTC (rev 19602)
@@ -309,6 +309,7 @@
 	#
 	# Ok... that's enough of that.
 	#
+	-mkdir -p $(TARGET_DIR)/usr/lib $(TARGET_DIR)/usr/sbin
 	touch $@
 
 $(GCC_BUILD_DIR2)/.libs_installed: $(GCC_BUILD_DIR2)/.installed

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-08-21 10:26:55 UTC (rev 19601)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-08-21 10:28:43 UTC (rev 19602)
@@ -333,6 +333,7 @@
 	#
 	# Ok... that's enough of that.
 	#
+	-mkdir -p $(TARGET_DIR)/usr/lib $(TARGET_DIR)/usr/sbin
 	touch $@
 
 $(GCC_BUILD_DIR2)/.libs_installed: $(GCC_BUILD_DIR2)/.installed
@@ -342,7 +343,7 @@
 	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* $(TARGET_DIR)/lib/
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
-	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libstdc++.so* $(TARGET_DIR)/lib/
+	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
 endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)
 	-cp -dpf $(STAGING_DIR)/lib/libgcj.so* $(TARGET_DIR)/lib/

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-08-21 10:28 aldot at uclibc.org
@ 2007-08-21 10:26 ` Cristian Ionescu-Idbohrn
  2007-08-21 11:11   ` Bernhard Fischer
  0 siblings, 1 reply; 170+ messages in thread
From: Cristian Ionescu-Idbohrn @ 2007-08-21 10:26 UTC (permalink / raw)
  To: buildroot

I'd like to comment on this, if you don't mind.

On Tue, 21 Aug 2007, aldot at uclibc.org wrote:

> Log:
> - put libstdc++.so into the correct place (usr/lib) and make sure
>   that the dir exists
>
>
> Modified:
>    trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
>    trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
>
>
> Changeset:
> Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
> Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
> ===================================================================
> --- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-08-21 10:26:55 UTC (rev 19601)
> +++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-08-21 10:28:43 UTC (rev 19602)
> @@ -333,6 +333,7 @@
>  	#
>  	# Ok... that's enough of that.
>  	#
> +	-mkdir -p $(TARGET_DIR)/usr/lib $(TARGET_DIR)/usr/sbin
        ^
        please remove the dash, because

[man mkdir]
       -p, --parents
              no error if existing, make parent directories as needed

But if it still fails for any reason, then we want to know and have
make stop there.  What do you think?


Cheers,

-- 
Cristian

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-08-19 21:15 ulf at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: ulf at uclibc.org @ 2007-08-19 21:15 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-08-19 14:15:02 -0700 (Sun, 19 Aug 2007)
New Revision: 19570

Log:
gcc-4 cleanup

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-08-19 21:13:08 UTC (rev 19569)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-08-19 21:15:02 UTC (rev 19570)
@@ -309,7 +309,7 @@
 		cd usr/bin; \
 		for app in $(REAL_GNU_TARGET_NAME)-* ; do \
 			ln -snf $${app} \
-		   	$(GNU_TARGET_NAME)$${app##$(REAL_GNU_TARGET_NAME)}; \
+			$(GNU_TARGET_NAME)$${app##$(REAL_GNU_TARGET_NAME)}; \
 		done; \
 	);
 	#
@@ -342,7 +342,7 @@
 	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* $(TARGET_DIR)/lib/
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
-	-cp -dpf $(STAGING_DIR)/usr/lib/libstdc++.so* $(TARGET_DIR)/lib/
+	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libstdc++.so* $(TARGET_DIR)/lib/
 endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)
 	-cp -dpf $(STAGING_DIR)/lib/libgcj.so* $(TARGET_DIR)/lib/

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-08-01 19:15 ulf at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: ulf at uclibc.org @ 2007-08-01 19:15 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-08-01 12:15:14 -0700 (Wed, 01 Aug 2007)
New Revision: 19393

Log:
F77 is not supported on AVR32

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


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-08-01 19:13:18 UTC (rev 19392)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-08-01 19:15:14 UTC (rev 19393)
@@ -155,6 +155,7 @@
 config BR2_GCC_CROSS_FORTRAN
 	bool "Fortran cross-compiler support"
 	default n
+	depends on !BR2_avr32
 	help
 	  Build a Fortran cross-compiler
 

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-08-01  8:58 ulf at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: ulf at uclibc.org @ 2007-08-01  8:58 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-08-01 01:58:14 -0700 (Wed, 01 Aug 2007)
New Revision: 19383

Log:
Simplify AVR32 gcc build (libmudflap, doesn't work, so applied even though objections)

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


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-08-01 08:54:56 UTC (rev 19382)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-08-01 08:58:14 UTC (rev 19383)
@@ -140,16 +140,6 @@
 	  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 ""

Modified: trunk/buildroot/toolchain/gcc/Config.in.2
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in.2	2007-08-01 08:54:56 UTC (rev 19382)
+++ trunk/buildroot/toolchain/gcc/Config.in.2	2007-08-01 08:58:14 UTC (rev 19383)
@@ -2,19 +2,9 @@
 	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 ""

Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2007-08-01 08:54:56 UTC (rev 19382)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2007-08-01 08:58:14 UTC (rev 19383)
@@ -12,7 +12,7 @@
 #"))
 
 # AVR32 GCC configuration
-ifeq ($(strip $(BR2_GCC_AVR32_CONFIGURATION)),y)
+ifeq ($(strip $(BR2_avr32)),y)
 EXTRA_GCC_CONFIG_OPTIONS+=--disable-libmudflap
 endif
 
@@ -86,7 +86,7 @@
 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] 170+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-07-31 15:07 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-07-31 15:07 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-07-31 08:07:06 -0700 (Tue, 31 Jul 2007)
New Revision: 19353

Log:
- add possibility to select which cross-compilers to build
- add prerequisites from the config


Modified:
   trunk/buildroot/toolchain/gcc/Config.in
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-07-31 15:02:06 UTC (rev 19352)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-07-31 15:07:06 UTC (rev 19353)
@@ -156,6 +156,18 @@
 	help
 	  Any additional gcc configure options you may want to include....
 
+config BR2_GCC_CROSS_CXX
+	bool "C++ cross-compiler support"
+	default n
+	help
+	  Build a C++ cross-compiler
+
+config BR2_GCC_CROSS_FORTRAN
+	bool "Fortran cross-compiler support"
+	default n
+	help
+	  Build a Fortran cross-compiler
+
 config BR2_INSTALL_LIBSTDCPP
 	bool "Build/install c++ compiler and libstdc++?"
 	default n

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-31 15:02:06 UTC (rev 19352)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-31 15:07:06 UTC (rev 19353)
@@ -75,10 +75,31 @@
 
 GCC_TARGET_LANGUAGES:=c
 
-GCC_COMMON_PREREQ= $(wildcard $(BASE_DIR)/include/config/br2/install/libstdcpp* $(BASE_DIR)/include/config/br2/install/libgcj* $(BASE_DIR)/include/config/br2/install/objc* $(BASE_DIR)/include/config/br2/install/fortran* $(BASE_DIR)/include/config/br2/prefer/ima* $(BASE_DIR)/include/config/br2/toolchain/sysroot* $(BASE_DIR)/include/config/br2/use/sjlj/exceptions* $(BASE_DIR)/include/config/br2/gcc/shared/libgcc*)
-GCC_TARGET_PREREQ += $(GCC_COMMON_PREREQ) $(wildcard $(BASE_DIR)/include/config/br2/extra/target/gcc/config/options*)
-GCC_STAGING_PREREQ+= $(GCC_COMMON_PREREQ) $(wildcard $(BASE_DIR)/include/config/br2/extra/gcc/config/options*)
+GCC_CROSS_LANGUAGES:=c
+ifeq ($(BR2_GCC_CROSS_CXX),y)
+GCC_CROSS_LANGUAGES:=$(GCC_CROSS_LANGUAGES),c++
+endif
+ifeq ($(BR2_GCC_CROSS_FORTRAN),y)
+GCC_CROSS_LANGUAGES:=$(GCC_CROSS_LANGUAGES),fortran
+endif
+ifeq ($(BR2_GCC_CROSS_OBJC),y)
+GCC_CROSS_LANGUAGES:=$(GCC_CROSS_LANGUAGES),objc
+endif
 
+GCC_COMMON_PREREQ= $(wildcard $(BR2_DEPENDS_DIR)/br2/install/libstdcpp*)\
+$(wildcard $(BR2_DEPENDS_DIR)/br2/install/libgcj*)\
+$(wildcard $(BR2_DEPENDS_DIR)/br2/install/objc*)\
+$(wildcard $(BR2_DEPENDS_DIR)/br2/install/fortran*)\
+$(wildcard $(BR2_DEPENDS_DIR)/br2/prefer/ima*)\
+$(wildcard $(BR2_DEPENDS_DIR)/br2/toolchain/sysroot*)\
+$(wildcard $(BR2_DEPENDS_DIR)/br2/use/sjlj/exceptions*)\
+$(wildcard $(BR2_DEPENDS_DIR)/br2/gcc/shared/libgcc*)
+GCC_TARGET_PREREQ += $(GCC_COMMON_PREREQ) \
+$(wildcard $(BR2_DEPENDS_DIR)/br2/extra/target/gcc/config/options*)
+GCC_STAGING_PREREQ+= $(GCC_COMMON_PREREQ) \
+$(wildcard $(BR2_DEPENDS_DIR)/br2/extra/gcc/config/options*)\
+$(wildcard $(BR2_DEPENDS_DIR)/br2/gcc/cross/*)
+
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 GCC_TARGET_LANGUAGES:=$(GCC_TARGET_LANGUAGES),c++
 endif
@@ -232,7 +253,7 @@
 		--build=$(GNU_HOST_NAME) \
 		--host=$(GNU_HOST_NAME) \
 		--target=$(REAL_GNU_TARGET_NAME) \
-		--enable-languages=$(GCC_TARGET_LANGUAGES) \
+		--enable-languages=$(GCC_CROSS_LANGUAGES) \
 		$(BR2_CONFIGURE_STAGING_SYSROOT) \
 		$(BR2_CONFIGURE_BUILD_TOOLS) \
 		--disable-__cxa_atexit \

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-07-30 18:24 ulf at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: ulf at uclibc.org @ 2007-07-30 18:24 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-07-30 11:24:53 -0700 (Mon, 30 Jul 2007)
New Revision: 19350

Log:
Revert bad patch

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


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-07-30 18:23:47 UTC (rev 19349)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-07-30 18:24:53 UTC (rev 19350)
@@ -159,8 +159,9 @@
 config BR2_INSTALL_LIBSTDCPP
 	bool "Build/install c++ compiler and libstdc++?"
 	default n
+	# >= 4.2.0 work fine without LARGEFILE
 	# huh? why so? select BR2_LARGEFILE
-	select BR2_LARGEFILE if !BR2_GCC_VERSION_4_2_0 && !BR2_GCC_VERSION_4_3
+	select BR2_LARGEFILE if BR2_GCC_VERSION_3_3_5 || BR2_GCC_VERSION_3_3_6 || BR2_GCC_VERSION_3_4_2 || BR2_GCC_VERSION_3_4_3 || BR2_GCC_VERSION_3_4_4 || BR2_GCC_VERSION_3_4_5 || BR2_GCC_VERSION_3_4_6 || BR2_GCC_VERSION_4_0_0 || BR2_GCC_VERSION_4_0_1 || BR2_GCC_VERSION_4_0_2 || BR2_GCC_VERSION_4_0_3 || BR2_GCC_VERSION_4_0_4 || BR2_GCC_VERSION_4_1_0 || BR2_GCC_VERSION_4_1_1 || BR2_GCC_VERSION_4_1_2
 	help
 	  Build/install c++ compiler and libstdc++?
 

^ permalink raw reply	[flat|nested] 170+ 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; 170+ 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] 170+ 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
  0 siblings, 0 replies; 170+ 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] 170+ 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; 170+ 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] 170+ 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; 170+ 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] 170+ 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; 170+ 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] 170+ 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; 170+ 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] 170+ 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; 170+ 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] 170+ 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   ` Ulf Samuelsson
  1 sibling, 1 reply; 170+ 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] 170+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-07-29 17:43 ulf at uclibc.org
@ 2007-07-30  7:21 ` Bernhard Fischer
  2007-07-30  7:53   ` Hans-Christian Egtvedt
  2007-07-30 14:25   ` Ulf Samuelsson
  0 siblings, 2 replies; 170+ 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] 170+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-07-29 17:36 ulf at uclibc.org
@ 2007-07-30  7:19 ` Bernhard Fischer
  0 siblings, 0 replies; 170+ messages in thread
From: Bernhard Fischer @ 2007-07-30  7:19 UTC (permalink / raw)
  To: buildroot

On Sun, Jul 29, 2007 at 10:36:45AM -0700, ulf at uclibc.org wrote:
>Author: ulf
>Date: 2007-07-29 10:36:45 -0700 (Sun, 29 Jul 2007)
>New Revision: 19330
>
>Log:
>gcc config for AVR32
>
>Modified:
>   trunk/buildroot/toolchain/gcc/Config.in
>
>
>Changeset:
>Modified: trunk/buildroot/toolchain/gcc/Config.in
>===================================================================
>--- trunk/buildroot/toolchain/gcc/Config.in	2007-07-29 17:34:20 UTC (rev 19329)
>+++ trunk/buildroot/toolchain/gcc/Config.in	2007-07-29 17:36:45 UTC (rev 19330)

>@@ -147,27 +159,29 @@
> config BR2_INSTALL_LIBSTDCPP
> 	bool "Build/install c++ compiler and libstdc++?"
> 	default n
>-	# >= 4.2.0 work fine without LARGEFILE
>-	select BR2_LARGEFILE if BR2_GCC_VERSION_3_3_5 || BR2_GCC_VERSION_3_3_6 || BR2_GCC_VERSION_3_4_2 || BR2_GCC_VERSION_3_4_3 || BR2_GCC_VERSION_3_4_4 || BR2_GCC_VERSION_3_4_5 || BR2_GCC_VERSION_3_4_6 || BR2_GCC_VERSION_4_0_0 || BR2_GCC_VERSION_4_0_1 || BR2_GCC_VERSION_4_0_2 || BR2_GCC_VERSION_4_0_3 || BR2_GCC_VERSION_4_0_4 || BR2_GCC_VERSION_4_1_0 || BR2_GCC_VERSION_4_1_1 || BR2_GCC_VERSION_4_1_2
>+	# huh? why so? select BR2_LARGEFILE
>+	select BR2_LARGEFILE if !BR2_GCC_VERSION_4_2_0 && !BR2_GCC_VERSION_4_3
> 	help
> 	  Build/install c++ compiler and libstdc++?

heh! Why did you revert my change ?

Please fix.

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-07-29 17:51 ulf at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: ulf at uclibc.org @ 2007-07-29 17:51 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-07-29 10:51:32 -0700 (Sun, 29 Jul 2007)
New Revision: 19334

Log:
Add AVR32 options to gcc

Modified:
   trunk/buildroot/toolchain/gcc/Makefile.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2007-07-29 17:47:27 UTC (rev 19333)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2007-07-29 17:51:32 UTC (rev 19334)
@@ -10,6 +10,12 @@
 #"))
 EXTRA_GCC_CONFIG_OPTIONS:=$(strip $(subst ",, $(BR2_EXTRA_GCC_CONFIG_OPTIONS)))
 #"))
+
+# AVR32 GCC configuration
+ifeq ($(strip $(BR2_GCC_AVR32_CONFIGURATION)),y)
+EXTRA_GCC_CONFIG_OPTIONS+=--disable-libmudflap
+endif
+
 ifeq ($(strip $(subst ",, $(BR2_GCC_IS_SNAP))),y)
 #"))
 GCC_SNAP_DATE:=$(strip $(subst ",, $(BR2_GCC_SNAP_DATE)))
@@ -79,5 +85,10 @@
 endif
 endif # BR2_PREFER_IMA=y
 
+# AVR32 target GCC configuration
+ifeq ($(strip $(BR2_GCC_TARGET_AVR32_CONFIGURATION)),y)
+EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--disable-libmudflap
+endif
+
 TARGETS+=gcc_target
 endif

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

* [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; 170+ 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] 170+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-07-29 17:36 ulf at uclibc.org
  2007-07-30  7:19 ` Bernhard Fischer
  0 siblings, 1 reply; 170+ messages in thread
From: ulf at uclibc.org @ 2007-07-29 17:36 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-07-29 10:36:45 -0700 (Sun, 29 Jul 2007)
New Revision: 19330

Log:
gcc config for AVR32

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


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-07-29 17:34:20 UTC (rev 19329)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-07-29 17:36:45 UTC (rev 19330)
@@ -9,58 +9,59 @@
 	  Select the version of gcc you wish to use.
 
 	config BR2_GCC_VERSION_3_3_5
-		depends !BR2_nios2 && BR2_DEPRECATED
+		depends !BR2_avr32 && !BR2_nios2 && BR2_DEPRECATED
 		bool "gcc 3.3.5"
 
 	config BR2_GCC_VERSION_3_3_6
-		depends !BR2_nios2 && BR2_DEPRECATED
+		depends !BR2_avr32 && !BR2_nios2 && BR2_DEPRECATED
 		bool "gcc 3.3.6"
 
 	config BR2_GCC_VERSION_3_4_2
-		depends BR2_DEPRECATED
+		depends !BR2_avr32 && BR2_DEPRECATED
 		bool "gcc 3.4.2"
 
 	config BR2_GCC_VERSION_3_4_3
-		depends BR2_DEPRECATED
+		depends !BR2_avr32 && BR2_DEPRECATED
 		bool "gcc 3.4.3"
 
 	config BR2_GCC_VERSION_3_4_4
-		depends BR2_DEPRECATED
+		depends !BR2_avr32 && BR2_DEPRECATED
 		bool "gcc 3.4.4"
 
 	config BR2_GCC_VERSION_3_4_5
-		depends BR2_DEPRECATED
+		depends !BR2_avr32 && BR2_DEPRECATED
 		bool "gcc 3.4.5"
 
 	config BR2_GCC_VERSION_3_4_6
+		depends on !BR2_avr32
 		bool "gcc 3.4.6"
 
 	config BR2_GCC_VERSION_4_0_0
-		depends !BR2_nios2 && BR2_DEPRECATED
+		depends !BR2_avr32 && !BR2_nios2 && BR2_DEPRECATED
 		bool "gcc 4.0.0"
 
 	config BR2_GCC_VERSION_4_0_1
-		depends !BR2_nios2 && BR2_DEPRECATED
+		depends !BR2_avr32 && !BR2_nios2 && BR2_DEPRECATED
 		bool "gcc 4.0.1"
 
 	config BR2_GCC_VERSION_4_0_2
-		depends !BR2_nios2 && BR2_DEPRECATED
+		depends !BR2_avr32 && !BR2_nios2 && BR2_DEPRECATED
 		bool "gcc 4.0.2"
 
 	config BR2_GCC_VERSION_4_0_3
-		depends !BR2_nios2 && BR2_DEPRECATED
+		depends !BR2_avr32 && !BR2_nios2 && BR2_DEPRECATED
 		bool "gcc 4.0.3"
 
 	config BR2_GCC_VERSION_4_0_4
-		depends !BR2_nios2 && BR2_DEPRECATED
+		depends !BR2_avr32 && !BR2_nios2 && BR2_DEPRECATED
 		bool "gcc 4.0.4"
 
 	config BR2_GCC_VERSION_4_1_0
-		depends !BR2_nios2 && BR2_DEPRECATED
+		depends !BR2_avr32 && !BR2_nios2 && BR2_DEPRECATED
 		bool "gcc 4.1.0"
 
 	config BR2_GCC_VERSION_4_1_1
-		depends !BR2_nios2 && BR2_DEPRECATED
+		depends !BR2_avr32 && !BR2_nios2 && BR2_DEPRECATED
 		bool "gcc 4.1.1"
 
 	config BR2_GCC_VERSION_4_1_2
@@ -68,21 +69,22 @@
 		bool "gcc 4.1.2"
 
 	config BR2_GCC_VERSION_4_2_0
-		depends !BR2_nios2
+		depends !BR2_avr32 && !BR2_nios2
 		bool "gcc 4.2.0"
 
 	config BR2_GCC_VERSION_4_2_1
-		depends !BR2_nios2
+		depends !BR2_avr32 && !BR2_nios2
 		bool "gcc 4.2.1"
 
 #	config BR2_GCC_VERSION_4_3
-#		depends !BR2_nios2
+#		depends !BR2_avr32 && !BR2_nios2
 #		select BR2_GCC_IS_SNAP
 #		bool "gcc 4.3"
 
 endchoice
 
 config BR2_GCC_IS_SNAP
+	depends !BR2_avr32
 	bool
 	default n
 
@@ -138,6 +140,16 @@
 	  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 ""
@@ -147,27 +159,29 @@
 config BR2_INSTALL_LIBSTDCPP
 	bool "Build/install c++ compiler and libstdc++?"
 	default n
-	# >= 4.2.0 work fine without LARGEFILE
-	select BR2_LARGEFILE if BR2_GCC_VERSION_3_3_5 || BR2_GCC_VERSION_3_3_6 || BR2_GCC_VERSION_3_4_2 || BR2_GCC_VERSION_3_4_3 || BR2_GCC_VERSION_3_4_4 || BR2_GCC_VERSION_3_4_5 || BR2_GCC_VERSION_3_4_6 || BR2_GCC_VERSION_4_0_0 || BR2_GCC_VERSION_4_0_1 || BR2_GCC_VERSION_4_0_2 || BR2_GCC_VERSION_4_0_3 || BR2_GCC_VERSION_4_0_4 || BR2_GCC_VERSION_4_1_0 || BR2_GCC_VERSION_4_1_1 || BR2_GCC_VERSION_4_1_2
+	# huh? why so? select BR2_LARGEFILE
+	select BR2_LARGEFILE if !BR2_GCC_VERSION_4_2_0 && !BR2_GCC_VERSION_4_3
 	help
 	  Build/install c++ compiler and libstdc++?
 
 config BR2_INSTALL_LIBGCJ
 	bool "Build/install java compiler and libgcj?"
 	default n
-	depends on BR2_INSTALL_LIBSTDCPP
+	depends on !BR2_avr32 && BR2_INSTALL_LIBSTDCPP
 	help
 	  Build/install java compiler and libgcj?
 
 config BR2_INSTALL_OBJC
 	bool "Build/install Objective-C compiler and runtime?"
 	default n
+	depends on !BR2_avr32
 	help
 	  Build/install Objective-C compiler and runtime?
 
 config BR2_INSTALL_FORTRAN
 	bool "Build/install Fortran compiler and runtime?"
 	default n
+	depends on !BR2_avr32
 	select BR2_PACKAGE_LIBMPFR
 	help
 	  Build/install Fortran compiler and runtime?

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-07-08 16:27 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-07-08 16:27 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-07-08 09:27:25 -0700 (Sun, 08 Jul 2007)
New Revision: 19039

Log:
- unify the GCC_WITH_ configure options and make them active


Modified:
   trunk/buildroot/toolchain/gcc/Makefile.in
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2007-07-08 13:55:49 UTC (rev 19038)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2007-07-08 16:27:25 UTC (rev 19039)
@@ -47,7 +47,20 @@
 SOFT_FLOAT_CONFIG_OPTION:=
 TARGET_SOFT_FLOAT:=
 ARCH_FPU_SUFFIX:=
+# some additional defaults
+ifneq ($(strip $(subst ",,$(BR2_GCC_TARGET_ARCH))),)
+# ")))
+GCC_WITH_ARCH:=--with-arch=$(BR2_GCC_TARGET_ARCH)
 endif
+ifneq ($(strip $(subst ",,$(BR2_GCC_TARGET_TUNE))),)
+# ")))
+GCC_WITH_TUNE:=--with-tune=$(BR2_GCC_TARGET_TUNE)
+endif
+ifneq ($(strip $(subst ",,$(BR2_GCC_TARGET_ABI))),)
+# ")))
+GCC_WITH_ABI:=--with-tune=$(BR2_GCC_TARGET_ABI)
+endif
+endif
 
 TARGET_GCC_FLAGS= CFLAGS_FOR_TARGET="$(TARGET_CFLAGS) $(TARGET_SOFT_FLOAT)" \
 	CXXFLAGS_FOR_TARGET="$(TARGET_CFLAGS) $(TARGET_SOFT_FLOAT)" \

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-07-08 13:55:49 UTC (rev 19038)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-07-08 16:27:25 UTC (rev 19039)
@@ -173,7 +173,7 @@
 		$(THREADS) \
 		$(MULTILIB) \
 		$(SOFT_FLOAT_CONFIG_OPTION) \
-		$(GCC_WITH_CPU) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
+		$(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
 		$(EXTRA_GCC_CONFIG_OPTIONS));
 	touch $@
 
@@ -233,7 +233,7 @@
 		$(THREADS) \
 		$(MULTILIB) \
 		$(SOFT_FLOAT_CONFIG_OPTION) \
-		$(GCC_WITH_CPU) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
+		$(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
 		$(GCC_USE_SJLJ_EXCEPTIONS) \
 		$(DISABLE_LARGEFILE) \
 		$(EXTRA_GCC_CONFIG_OPTIONS));
@@ -366,7 +366,7 @@
 		$(THREADS) \
 		$(MULTILIB) \
 		$(SOFT_FLOAT_CONFIG_OPTION) \
-		$(GCC_WITH_CPU) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
+		$(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
 		$(GCC_USE_SJLJ_EXCEPTIONS) \
 		$(DISABLE_LARGEFILE) \
 		$(EXTRA_GCC_CONFIG_OPTIONS) \
@@ -400,10 +400,6 @@
 else
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
 endif
-#XXX: FIXME: cleanup BR2_ARCH selection and establish BR2_CPU
-#GCC_WITH_ARCH=--with-arch=$(BR2_ARCH)
-#GCC_WITH_TUNE=--with-tune=$(BR2_ARCH)
-#GCC_WITH_CPU=--with-cpu=$(BR2_ARCH)
 endif
 
 $(TARGET_DIR)/usr/bin/gcc: $(GCC_BUILD_DIR3)/.compiled

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-08 13:55:49 UTC (rev 19038)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-08 16:27:25 UTC (rev 19039)
@@ -170,7 +170,7 @@
 		$(THREADS) \
 		$(MULTILIB) \
 		$(SOFT_FLOAT_CONFIG_OPTION) \
-		$(GCC_WITH_CPU) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
+		$(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
 		$(EXTRA_GCC_CONFIG_OPTIONS));
 	touch $@
 
@@ -231,7 +231,7 @@
 		$(THREADS) \
 		$(MULTILIB) \
 		$(SOFT_FLOAT_CONFIG_OPTION) \
-		$(GCC_WITH_CPU) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
+		$(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
 		$(GCC_USE_SJLJ_EXCEPTIONS) \
 		$(DISABLE_LARGEFILE) \
 		$(EXTRA_GCC_CONFIG_OPTIONS));
@@ -366,7 +366,7 @@
 		$(THREADS) \
 		$(MULTILIB) \
 		$(SOFT_FLOAT_CONFIG_OPTION) \
-		$(GCC_WITH_CPU) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
+		$(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
 		$(GCC_USE_SJLJ_EXCEPTIONS) \
 		$(DISABLE_LARGEFILE) \
 		$(EXTRA_GCC_CONFIG_OPTIONS) \
@@ -400,10 +400,6 @@
 else
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
 endif
-#XXX: FIXME: cleanup BR2_ARCH selection and establish BR2_CPU
-#GCC_WITH_ARCH=--with-arch=$(BR2_ARCH)
-#GCC_WITH_TUNE=--with-tune=$(BR2_ARCH)
-#GCC_WITH_CPU=--with-cpu=$(BR2_ARCH)
 endif
 
 $(TARGET_DIR)/usr/bin/gcc: $(GCC_BUILD_DIR3)/.compiled

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-07-08 13:13 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-07-08 13:13 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-07-08 06:13:29 -0700 (Sun, 08 Jul 2007)
New Revision: 19035

Log:
- factor-out common config options for staging and target compiler
- take extra options for the respective compilers into account


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-08 12:50:06 UTC (rev 19034)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-08 13:13:29 UTC (rev 19035)
@@ -53,8 +53,9 @@
 
 GCC_TARGET_LANGUAGES:=c
 
-GCC_TARGET_PREREQ += $(wildcard $(BASE_DIR)/include/config/br2/install/libstdcpp* $(BASE_DIR)/include/config/br2/install/libgcj* $(BASE_DIR)/include/config/br2/install/objc* $(BASE_DIR)/include/config/br2/install/fortran*)
-GCC_STAGING_PREREQ+= $(wildcard $(BASE_DIR)/include/config/br2/install/libstdcpp* $(BASE_DIR)/include/config/br2/install/libgcj* $(BASE_DIR)/include/config/br2/install/objc* $(BASE_DIR)/include/config/br2/install/fortran*)
+GCC_COMMON_PREREQ= $(wildcard $(BASE_DIR)/include/config/br2/install/libstdcpp* $(BASE_DIR)/include/config/br2/install/libgcj* $(BASE_DIR)/include/config/br2/install/objc* $(BASE_DIR)/include/config/br2/install/fortran* $(BASE_DIR)/include/config/br2/prefer/ima* $(BASE_DIR)/include/config/br2/toolchain/sysroot* $(BASE_DIR)/include/config/br2/use/sjlj/exceptions* $(BASE_DIR)/include/config/br2/gcc/shared/libgcc*)
+GCC_TARGET_PREREQ += $(GCC_COMMON_PREREQ) $(wildcard $(BASE_DIR)/include/config/br2/extra/target/gcc/config/options*)
+GCC_STAGING_PREREQ+= $(GCC_COMMON_PREREQ) $(wildcard $(BASE_DIR)/include/config/br2/extra/gcc/config/options*)
 
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 GCC_TARGET_LANGUAGES:=$(GCC_TARGET_LANGUAGES),c++

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-07-08 12:50 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-07-08 12:50 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-07-08 05:50:06 -0700 (Sun, 08 Jul 2007)
New Revision: 19034

Log:
- we have to reconfigure iff some compiler-config was changed.


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-08 12:20:58 UTC (rev 19033)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-08 12:50:06 UTC (rev 19034)
@@ -48,8 +48,14 @@
 #
 #############################################################
 
+GCC_TARGET_PREREQ =
+GCC_STAGING_PREREQ= $(STAGING_DIR)/usr/lib/libc.a
+
 GCC_TARGET_LANGUAGES:=c
 
+GCC_TARGET_PREREQ += $(wildcard $(BASE_DIR)/include/config/br2/install/libstdcpp* $(BASE_DIR)/include/config/br2/install/libgcj* $(BASE_DIR)/include/config/br2/install/objc* $(BASE_DIR)/include/config/br2/install/fortran*)
+GCC_STAGING_PREREQ+= $(wildcard $(BASE_DIR)/include/config/br2/install/libstdcpp* $(BASE_DIR)/include/config/br2/install/libgcj* $(BASE_DIR)/include/config/br2/install/objc* $(BASE_DIR)/include/config/br2/install/fortran*)
+
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 GCC_TARGET_LANGUAGES:=$(GCC_TARGET_LANGUAGES),c++
 endif
@@ -62,9 +68,6 @@
 GCC_TARGET_LANGUAGES:=$(GCC_TARGET_LANGUAGES),objc
 endif
 
-GCC_TARGET_PREREQ =
-GCC_STAGING_PREREQ= $(STAGING_DIR)/usr/lib/libc.a
-
 ifndef GCC_NO_MPFR
 GCC_WITH_HOST_GMP=--with-gmp=$(GMP_HOST_DIR)
 GCC_WITH_HOST_MPFR=--with-mpfr=$(MPFR_HOST_DIR)

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-07-07 23:55 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-07-07 23:55 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-07-07 16:55:19 -0700 (Sat, 07 Jul 2007)
New Revision: 19024

Log:
- adjust for the released 4.2.0 version


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


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-07-07 23:54:33 UTC (rev 19023)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-07-07 23:55:19 UTC (rev 19024)
@@ -143,7 +143,7 @@
 	bool "Build/install c++ compiler and libstdc++?"
 	default n
 	# huh? why so? select BR2_LARGEFILE
-	select BR2_LARGEFILE if !BR2_GCC_VERSION_4_2
+	select BR2_LARGEFILE if !BR2_GCC_VERSION_4_2_0 && !BR2_GCC_VERSION_4_3
 	help
 	  Build/install c++ compiler and libstdc++?
 

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-07-07 12:58 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-07-07 12:58 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-07-07 05:58:15 -0700 (Sat, 07 Jul 2007)
New Revision: 19021

Log:
- use correct path to libstdc++


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-07 12:28:25 UTC (rev 19020)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-07 12:58:15 UTC (rev 19021)
@@ -303,7 +303,7 @@
 	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* $(TARGET_DIR)/lib/
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
-	-cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/lib/
+	-cp -dpf $(STAGING_DIR)/usr/lib/libstdc++.so* $(TARGET_DIR)/lib/
 endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)
 	-cp -dpf $(STAGING_DIR)/lib/libgcj.so* $(TARGET_DIR)/lib/

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-07-07 11:55   ` Ulf Samuelsson
@ 2007-07-07 12:39     ` Bernhard Fischer
  0 siblings, 0 replies; 170+ messages in thread
From: Bernhard Fischer @ 2007-07-07 12:39 UTC (permalink / raw)
  To: buildroot

On Sat, Jul 07, 2007 at 01:55:24PM +0200, Ulf Samuelsson wrote:
>>> # Strip the host binaries
>>> ifeq ($(GCC_STRIP_HOST_BINARIES),true)
>>>- -strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/*
>>>+ if [ -e $(STAGING_DIR)/usr/bin/*-gccbug ] ; then \
>> 
>> testing for existance doesn't work on all solaris test(1).
>
>
>What will happen on a Solaris host then if this is found?
>Will [ -a <file> ] work?

KISS.
-f FILE
-x FILE

This place doesn't need anything but checking by one of the above.

>> What you really want is perhaps something like ifneq $((..$(wildcard..)),)
>> 
>
>I believe ifneq is read in stage 1 of the Makefile, so this wont work either, right?

Could be that it doesn't work, yes. Didn't try since i regard it as
completely unimportant there.

We don't bail out on failures from strip, and if you are not interrested
in errors, then redirect stderr to /dev/null instead of needlessly
stat()ing around, IMO.

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-07-07 12:28 ulf at uclibc.org
  2007-09-01 18:43 ` Bernhard Fischer
  0 siblings, 1 reply; 170+ messages in thread
From: ulf at uclibc.org @ 2007-07-07 12:28 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-07-07 05:28:25 -0700 (Sat, 07 Jul 2007)
New Revision: 19020

Log:
Avoid stripping scripts

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-07 11:06:08 UTC (rev 19019)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-07 12:28:25 UTC (rev 19020)
@@ -247,17 +247,13 @@
 		mv "$(STAGING_DIR)/lib64/"* "$(STAGING_DIR)/lib/" ; \
 		rmdir "$(STAGING_DIR)/lib64" ; \
 	fi
+	# Move gcc bug reporting script out of path of real executables
+	mv -f $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gccbug \
+		$(STAGING_DIR)/usr/bin/$(GNU_TARGET_NAME)-gccbug
 	# Strip the host binaries
 ifeq ($(GCC_STRIP_HOST_BINARIES),true)
-	if [ -e $(STAGING_DIR)/usr/bin/*-gccbug ] ; then \
-		mkdir -p "$(STAGING_DIR)/tmp" ; \
-		mv $(STAGING_DIR)/usr/bin/*-gccbug  $(STAGING_DIR)/tmp ; \
-		-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/* ; \
-		mv $(STAGING_DIR)/tmp/*-gccbug $(STAGING_DIR)/usr/bin ; \
-		rmdir "$(STAGING_DIR)/tmp" ; \
-	else \
-		-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/* ; \
-	fi
+	-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*
+	-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/faked
 endif
 	# Make sure we have 'cc'.
 	if [ ! -e $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc ] ; then \

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-07-07  9:33 ` Bernhard Fischer
@ 2007-07-07 11:55   ` Ulf Samuelsson
  2007-07-07 12:39     ` Bernhard Fischer
  0 siblings, 1 reply; 170+ messages in thread
From: Ulf Samuelsson @ 2007-07-07 11:55 UTC (permalink / raw)
  To: buildroot

>> # Strip the host binaries
>> ifeq ($(GCC_STRIP_HOST_BINARIES),true)
>>- -strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/*
>>+ if [ -e $(STAGING_DIR)/usr/bin/*-gccbug ] ; then \
> 
> testing for existance doesn't work on all solaris test(1).


What will happen on a Solaris host then if this is found?
Will [ -a <file> ] work?

> What you really want is perhaps something like ifneq $((..$(wildcard..)),)
> 

I believe ifneq is read in stage 1 of the Makefile, so this wont work either, right?
The files will only exist in mid build.

Maybe we should not create "arm-linux-uclibc-gccbug" to begin with...
If we rename "arm-linux-uclibc-gccbug" to "arm-linux-gccbug" right 
after the make  and then strip 

* "$(REAL_GNU_TARGET_NAME)-*"
* "faked"

we should be OK.

>>+ mkdir -p "$(STAGING_DIR)/tmp" ; \
> 
> If by now $(STAGING_DIR) could not be created, then something is
> fundamentally wrong (the -p is superfluous).
> 

$(STAGING_DIR) is OK, but "$(STAGING_DIR)/tmp" could 
exist if someone adds this in the future and does not remove it.

Best Regards
Ulf Samuelsson                

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
  2007-07-07  7:34 ulf at uclibc.org
@ 2007-07-07  9:33 ` Bernhard Fischer
  2007-07-07 11:55   ` Ulf Samuelsson
  0 siblings, 1 reply; 170+ messages in thread
From: Bernhard Fischer @ 2007-07-07  9:33 UTC (permalink / raw)
  To: buildroot

On Sat, Jul 07, 2007 at 12:34:37AM -0700, ulf at uclibc.org wrote:
>Author: ulf
>Date: 2007-07-07 00:34:37 -0700 (Sat, 07 Jul 2007)
>New Revision: 19014
>
>Log:
>Avoid stripping a script file
>
>Modified:
>   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
>
>
>Changeset:
>Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
>===================================================================
>--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-06 16:57:06 UTC (rev 19013)
>+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-07 07:34:37 UTC (rev 19014)
>@@ -249,7 +249,15 @@
> 	fi
> 	# Strip the host binaries
> ifeq ($(GCC_STRIP_HOST_BINARIES),true)
>-	-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/*
>+	if [ -e $(STAGING_DIR)/usr/bin/*-gccbug ] ; then \

testing for existance doesn't work on all solaris test(1).
What you really want is perhaps something like ifneq $((..$(wildcard..)),)

>+		mkdir -p "$(STAGING_DIR)/tmp" ; \

If by now $(STAGING_DIR) could not be created, then something is
fundamentally wrong (the -p is superfluous).

>+		mv $(STAGING_DIR)/usr/bin/*-gccbug  $(STAGING_DIR)/tmp ; \
>+		-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/* ; \
>+		mv $(STAGING_DIR)/tmp/*-gccbug $(STAGING_DIR)/usr/bin ; \
>+		rmdir "$(STAGING_DIR)/tmp" ; \
>+	else \
>+		-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/* ; \
>+	fi

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-07-07  7:34 ulf at uclibc.org
  2007-07-07  9:33 ` Bernhard Fischer
  0 siblings, 1 reply; 170+ messages in thread
From: ulf at uclibc.org @ 2007-07-07  7:34 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-07-07 00:34:37 -0700 (Sat, 07 Jul 2007)
New Revision: 19014

Log:
Avoid stripping a script file

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-06 16:57:06 UTC (rev 19013)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-07 07:34:37 UTC (rev 19014)
@@ -249,7 +249,15 @@
 	fi
 	# Strip the host binaries
 ifeq ($(GCC_STRIP_HOST_BINARIES),true)
-	-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/*
+	if [ -e $(STAGING_DIR)/usr/bin/*-gccbug ] ; then \
+		mkdir -p "$(STAGING_DIR)/tmp" ; \
+		mv $(STAGING_DIR)/usr/bin/*-gccbug  $(STAGING_DIR)/tmp ; \
+		-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/* ; \
+		mv $(STAGING_DIR)/tmp/*-gccbug $(STAGING_DIR)/usr/bin ; \
+		rmdir "$(STAGING_DIR)/tmp" ; \
+	else \
+		-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/* ; \
+	fi
 endif
 	# Make sure we have 'cc'.
 	if [ ! -e $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc ] ; then \

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-07-05  5:15 sjhill at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: sjhill at uclibc.org @ 2007-07-05  5:15 UTC (permalink / raw)
  To: buildroot

Author: sjhill
Date: 2007-07-04 22:15:47 -0700 (Wed, 04 Jul 2007)
New Revision: 19002

Log:
This was for when I was building a toolchain without BR2_TOOLCHAIN_SYSROOT set. Maybe when it is set the C++ libraries get put into $(TARGET_DIR)/lib. If that is the case, then an 'if-else' block will need to be placed to strip the right location.


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-07-05 05:13:46 UTC (rev 19001)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-07-05 05:15:47 UTC (rev 19002)
@@ -306,7 +306,7 @@
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 	-cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
-	$(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libstdc++.so*
+	$(STRIP) --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*
 endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)
 	-cp -dpf $(STAGING_DIR)/lib/libgcj.so* $(TARGET_DIR)/usr/lib/

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-07-05  5:13 sjhill at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: sjhill at uclibc.org @ 2007-07-05  5:13 UTC (permalink / raw)
  To: buildroot

Author: sjhill
Date: 2007-07-04 22:13:46 -0700 (Wed, 04 Jul 2007)
New Revision: 19001

Log:
Enable the option.


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


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-07-05 05:13:20 UTC (rev 19000)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-07-05 05:13:46 UTC (rev 19001)
@@ -111,9 +111,8 @@
 	default "4.3"       if BR2_GCC_VERSION_4_3
 
 config BR2_TOOLCHAIN_SYSROOT
-#	bool "Enable toolchain with --sysroot support"
-	bool
-	depends on !BR2_GCC_VERSION_3_3_5 && !BR2_GCC_VERSION_3_3_6 && !BR2_GCC_VERSION_3_4_2 && !BR2_GCC_VERSION_3_4_3 && !BR2_GCC_VERSION_3_4_4 && !BR2_GCC_VERSION_3_4_5 && !BR2_GCC_VERSION_3_4_6 &&!BR2_GCC_VERSION_4_0_0 && !BR2_GCC_VERSION_4_0_1 && !BR2_GCC_VERSION_4_0_2 && !BR2_GCC_VERSION_4_0_3 && !BR2_GCC_VERSION_4_0_4 && !BR2_GCC_VERSION_4_1_0 && !BR2_GCC_VERSION_4_1_1 && !BR2_GCC_VERSION_4_1_2
+	bool "Enable toolchain with --sysroot support"
+	depends on !BR2_GCC_VERSION_3_3_5 && !BR2_GCC_VERSION_3_3_6 && !BR2_GCC_VERSION_3_4_2 && !BR2_GCC_VERSION_3_4_3 && !BR2_GCC_VERSION_3_4_4 && !BR2_GCC_VERSION_3_4_5 && !BR2_GCC_VERSION_3_4_6
 	default y
 	help
 	  Enables --sysroot=dir for binutils and gcc.

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-06-28 14:05 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-06-28 14:05 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-06-28 07:05:29 -0700 (Thu, 28 Jun 2007)
New Revision: 18964

Log:
- work around bug in gcc (or rather libiberty) for parallel install


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-06-28 14:03:04 UTC (rev 18963)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-06-28 14:05:29 UTC (rev 18964)
@@ -400,7 +400,7 @@
 
 $(TARGET_DIR)/usr/bin/gcc: $(GCC_BUILD_DIR3)/.compiled
 	PATH=$(TARGET_PATH) DESTDIR=$(TARGET_DIR) \
-		$(MAKE) -C $(GCC_BUILD_DIR3) install
+		$(MAKE1) -C $(GCC_BUILD_DIR3) install
 	# Remove broken specs file (cross compile flag is set).
 	rm -f $(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR)/specs
 	#

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-06-25  7:52 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-06-25  7:52 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-06-25 00:52:41 -0700 (Mon, 25 Jun 2007)
New Revision: 18908

Log:
- adjust patches of the gcc-clean target


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-06-24 17:23:54 UTC (rev 18907)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-06-25 07:52:41 UTC (rev 18908)
@@ -249,7 +249,7 @@
 	fi
 	# Strip the host binaries
 ifeq ($(GCC_STRIP_HOST_BINARIES),true)
-	-strip --strip-all -R .note -R .comment $(STAGING_DIR)/bin/*
+	-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/*
 endif
 	# Make sure we have 'cc'.
 	if [ ! -e $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc ] ; then \
@@ -320,8 +320,8 @@
 gcc-clean:
 	rm -rf $(GCC_BUILD_DIR2)
 	for prog in cpp gcc gcc-[0-9]* protoize unprotoize gcov gccbug cc; do \
-	    rm -f $(STAGING_DIR)/bin/$(REAL_GNU_TARGET_NAME)-$$prog \
-	    rm -f $(STAGING_DIR)/bin/$(GNU_TARGET_NAME)-$$prog; \
+	    rm -f $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-$$prog \
+	    rm -f $(STAGING_DIR)/usr/bin/$(GNU_TARGET_NAME)-$$prog; \
 	done
 
 gcc-dirclean: gcc_initial-dirclean

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-06-24 11:30 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-06-24 11:30 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-06-24 04:30:05 -0700 (Sun, 24 Jun 2007)
New Revision: 18904

Log:
- disable sysroot support for anything but the current, stable release series


Modified:
   trunk/buildroot/toolchain/gcc/Config.in
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-06-23 23:14:02 UTC (rev 18903)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-06-24 11:30:05 UTC (rev 18904)
@@ -52,7 +52,7 @@
 		bool "gcc 4.0.3"
 
 	config BR2_GCC_VERSION_4_0_4
-		depends !BR2_nios2
+		depends !BR2_nios2 && BR2_DEPRECATED
 		bool "gcc 4.0.4"
 
 	config BR2_GCC_VERSION_4_1_0
@@ -84,7 +84,7 @@
 
 config BR2_GCC_SNAP_DATE
 	string "GCC snapshot date"
-	default "20070601"
+	default "20070622"
 	depends BR2_GCC_IS_SNAP
 	help
 	  Enter snapshot date to use for gcc.  Format is:
@@ -113,7 +113,7 @@
 config BR2_TOOLCHAIN_SYSROOT
 #	bool "Enable toolchain with --sysroot support"
 	bool
-	depends on !BR2_GCC_VERSION_3_3_5 && !BR2_GCC_VERSION_3_3_6 && !BR2_GCC_VERSION_3_4_2 && !BR2_GCC_VERSION_3_4_3 && !BR2_GCC_VERSION_3_4_4 && !BR2_GCC_VERSION_3_4_5 && !BR2_GCC_VERSION_3_4_6
+	depends on !BR2_GCC_VERSION_3_3_5 && !BR2_GCC_VERSION_3_3_6 && !BR2_GCC_VERSION_3_4_2 && !BR2_GCC_VERSION_3_4_3 && !BR2_GCC_VERSION_3_4_4 && !BR2_GCC_VERSION_3_4_5 && !BR2_GCC_VERSION_3_4_6 &&!BR2_GCC_VERSION_4_0_0 && !BR2_GCC_VERSION_4_0_1 && !BR2_GCC_VERSION_4_0_2 && !BR2_GCC_VERSION_4_0_3 && !BR2_GCC_VERSION_4_0_4 && !BR2_GCC_VERSION_4_1_0 && !BR2_GCC_VERSION_4_1_1 && !BR2_GCC_VERSION_4_1_2
 	default y
 	help
 	  Enables --sysroot=dir for binutils and gcc.
@@ -122,6 +122,9 @@
 	  /usr/include and libraries in /usr/lib, it will instead search
 	  dir/usr/include and dir/usr/lib.
 
+	  This does not work with gcc < 4.2.0 (4.1.2 gets
+	  ORIGINAL_AS_FOR_TARGET wrong)
+
 config BR2_GCC_USE_SJLJ_EXCEPTIONS
 	bool "Enable setjmp/longjmp exceptions?"
 	default n

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-06-23 23:14:02 UTC (rev 18903)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-06-24 11:30:05 UTC (rev 18904)
@@ -19,8 +19,8 @@
 
 ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
 
-# only for gcc-3.x
-ifeq ($(findstring y,$(BR2_GCC_VERSION_3_3_5)$(BR2_GCC_VERSION_3_3_6)$(BR2_GCC_VERSION_3_4_2)$(BR2_GCC_VERSION_3_4_3)$(BR2_GCC_VERSION_3_4_4)$(BR2_GCC_VERSION_3_4_5)$(BR2_GCC_VERSION_3_4_6)),y)
+# without sysroot support. Sysroot toolchain is gcc-uclibc-4.x.mk
+ifneq ($(BR2_TOOLCHAIN_SYSROOT),y)
 
 ifeq ($(GCC_SNAP_DATE),)
 GCC_OFFICIAL_VER:=$(GCC_VERSION)

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-06-23 23:14:02 UTC (rev 18903)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-06-24 11:30:05 UTC (rev 18904)
@@ -17,8 +17,9 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
-# gcc-4.x only
-ifeq ($(findstring y,$(BR2_GCC_VERSION_3_3_5)$(BR2_GCC_VERSION_3_3_6)$(BR2_GCC_VERSION_3_4_2)$(BR2_GCC_VERSION_3_4_3)$(BR2_GCC_VERSION_3_4_4)$(BR2_GCC_VERSION_3_4_5)$(BR2_GCC_VERSION_3_4_6)),)
+# sysroot support works with gcc >= 4.2.0 only
+ifeq ($(BR2_TOOLCHAIN_SYSROOT),y)
+
 ifeq ($(GCC_SNAP_DATE),)
 GCC_OFFICIAL_VER:=$(GCC_VERSION)
 GCC_SITE:=http://ftp.gnu.org/gnu/gcc/gcc-$(GCC_VERSION)

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-05-24 21:23 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2007-05-24 21:23 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2007-05-24 14:23:19 -0700 (Thu, 24 May 2007)
New Revision: 18686

Log:
Fixed silly typo. Thanks to Petur Thors for reporting

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-05-24 13:52:46 UTC (rev 18685)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-05-24 21:23:19 UTC (rev 18686)
@@ -296,7 +296,7 @@
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 	-cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/lib/
-	$(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libstc++.so*
+	$(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libstdc++.so*
 endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)
 	-cp -dpf $(STAGING_DIR)/lib/libgcj.so* $(TARGET_DIR)/lib/

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-05-15 13:58 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2007-05-15 13:58 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2007-05-15 06:58:35 -0700 (Tue, 15 May 2007)
New Revision: 18630

Log:
Strip libraries

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-05-15 12:50:04 UTC (rev 18629)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-05-15 13:58:35 UTC (rev 18630)
@@ -292,9 +292,11 @@
 	# These are in /lib, so...
 	rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so*
 	-cp -dpf $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* $(TARGET_DIR)/lib/
+	$(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 	-cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/lib/
+	$(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libstc++.so*
 endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)
 	-cp -dpf $(STAGING_DIR)/lib/libgcj.so* $(TARGET_DIR)/lib/

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-04-13  2:04 sjhill at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: sjhill at uclibc.org @ 2007-04-13  2:04 UTC (permalink / raw)
  To: buildroot

Author: sjhill
Date: 2007-04-12 19:04:32 -0700 (Thu, 12 Apr 2007)
New Revision: 18422

Log:
If using an external toolchain, don't include any of this stuff.


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-04-12 21:20:25 UTC (rev 18421)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-04-13 02:04:32 UTC (rev 18422)
@@ -17,6 +17,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
+ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
+
 ifeq ($(GCC_SNAP_DATE),)
 GCC_OFFICIAL_VER:=$(GCC_VERSION)
 GCC_SITE:=http://ftp.gnu.org/gnu/gcc/gcc-$(GCC_VERSION)
@@ -443,3 +445,5 @@
 
 gcc_target-dirclean:
 	rm -rf $(GCC_BUILD_DIR3)
+
+endif

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-04-02 16:18 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-04-02 16:18 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-04-02 09:18:48 -0700 (Mon, 02 Apr 2007)
New Revision: 18303

Log:
- make sure that we do not confuse versions (due to how findstring works)


Modified:
   trunk/buildroot/toolchain/gcc/Makefile.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2007-04-02 12:37:28 UTC (rev 18302)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2007-04-02 16:18:48 UTC (rev 18303)
@@ -25,14 +25,14 @@
 
 ifeq ($(BR2_SOFT_FLOAT),y)
 # gcc 3.4.x soft float configuration is different than previous versions.
-ifeq ($(findstring 3.4.,$(GCC_VERSION)),3.4.)
+ifeq ($(findstring x3.4.,x$(GCC_VERSION)),x3.4.)
 SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft
 else
 SOFT_FLOAT_CONFIG_OPTION:=--without-float
 endif
 
 # again... there must be a better way
-ifeq ($(findstring 4.,$(GCC_VERSION)),4.)
+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
@@ -61,7 +61,7 @@
 
 ifeq ($(BR2_PREFER_IMA),y)
 # >= 4.x
-ifneq ($(findstring 3.,$(GCC_VERSION)),3.)
+ifneq ($(findstring x3.,x$(GCC_VERSION)),x3.)
 EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--enable-intermodule
 endif
 endif # BR2_PREFER_IMA=y

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-03-22 17:21 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-03-22 17:21 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-03-22 10:21:18 -0700 (Thu, 22 Mar 2007)
New Revision: 18204

Log:
- see if the dir exists before trying to strip an empty list of files..


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-03-22 16:23:43 UTC (rev 18203)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-03-22 17:21:18 UTC (rev 18204)
@@ -412,11 +412,11 @@
 	#
 	# Ok... that's enough of that.
 	#
-	-(cd $(TARGET_DIR)/bin; find -type f | xargs $(STRIP) > /dev/null 2>&1)
-	-(cd $(TARGET_DIR)/usr/bin; find -type f | xargs $(STRIP) > /dev/null 2>&1)
-	-(cd $(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR); $(STRIP) cc1 cc1plus collect2 > /dev/null 2>&1)
-	-(cd $(TARGET_DIR)/usr/lib; $(STRIP) libstdc++.so.*.*.* > /dev/null 2>&1)
-	-(cd $(TARGET_DIR)/lib; $(STRIP) libgcc_s*.so.*.*.* > /dev/null 2>&1)
+	-(cd $(TARGET_DIR)/bin && find -type f | xargs $(STRIP) > /dev/null 2>&1)
+	-(cd $(TARGET_DIR)/usr/bin && find -type f | xargs $(STRIP) > /dev/null 2>&1)
+	-(cd $(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR) && $(STRIP) cc1 cc1plus collect2 > /dev/null 2>&1)
+	-(cd $(TARGET_DIR)/usr/lib && $(STRIP) libstdc++.so.*.*.* > /dev/null 2>&1)
+	-(cd $(TARGET_DIR)/lib && $(STRIP) libgcc_s*.so.*.*.* > /dev/null 2>&1)
 	#
 	rm -f $(TARGET_DIR)/usr/lib/*.la*
 	#rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-02-14  8:49 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-02-14  8:49 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-02-14 00:49:00 -0800 (Wed, 14 Feb 2007)
New Revision: 17884

Log:
- gcc-4.1.2 released


Modified:
   trunk/buildroot/toolchain/gcc/Config.in
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-02-14 08:36:13 UTC (rev 17883)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-02-14 08:49:00 UTC (rev 17884)
@@ -60,7 +60,7 @@
 		bool "gcc 4.1.0"
 
 	config BR2_GCC_VERSION_4_1_1
-		depends !BR2_nios2
+		depends !BR2_nios2 && BR2_DEPRECATED
 		bool "gcc 4.1.1"
 
 	config BR2_GCC_VERSION_4_1_2

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-02-14 08:36:13 UTC (rev 17883)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-02-14 08:49:00 UTC (rev 17884)
@@ -26,13 +26,6 @@
 GCC_SITE:=ftp://sources.redhat.com/pub/gcc/snapshots/$(GCC_OFFICIAL_VER)
 endif
 
-# Temporary for 4.1.2-RC1
-ifeq ($(BR2_GCC_VERSION_4_1_2),y)
-GCC_SNAP_DATE:=20070208
-GCC_OFFICIAL_VER:=$(GCC_VERSION)-$(GCC_SNAP_DATE)
-GCC_SITE:=ftp://gcc.gnu.org/pub/gcc/prerelease-$(GCC_OFFICIAL_VER)/
-endif
-
 GCC_SOURCE:=gcc-$(GCC_OFFICIAL_VER).tar.bz2
 GCC_DIR:=$(TOOL_BUILD_DIR)/gcc-$(GCC_OFFICIAL_VER)
 GCC_CAT:=$(BZCAT)

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-02-09 13:43 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-02-09 13:43 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-02-09 05:43:36 -0800 (Fri, 09 Feb 2007)
New Revision: 17836

Log:
- 4.0.4 *seems* to support this too, so just exclude anything that is even older than that one.


Modified:
   trunk/buildroot/toolchain/gcc/Makefile.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2007-02-09 13:35:41 UTC (rev 17835)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2007-02-09 13:43:36 UTC (rev 17836)
@@ -60,12 +60,10 @@
 #"))
 
 ifeq ($(BR2_PREFER_IMA),y)
-# >= 4.1
-ifeq ($(findstring 4.,$(GCC_VERSION)),4.)
-ifneq ($(findstring 4.0,$(GCC_VERSION)),4.0)
+# >= 4.x
+ifneq ($(findstring 3.,$(GCC_VERSION)),3.)
 EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--enable-intermodule
 endif
-endif
 endif # BR2_PREFER_IMA=y
 
 TARGETS+=gcc_target

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-02-04 21:59 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-02-04 21:59 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-02-04 13:59:39 -0800 (Sun, 04 Feb 2007)
New Revision: 17773

Log:
- add missing hunk from fix for #1191


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-02-04 21:30:35 UTC (rev 17772)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-02-04 21:59:39 UTC (rev 17773)
@@ -309,6 +309,7 @@
 	-cp -dpf $(STAGING_DIR)/usr/lib/security/libgcj.security $(TARGET_DIR)/usr/lib/security/
 	-cp -dpf $(STAGING_DIR)/usr/lib/security/classpath.security $(TARGET_DIR)/usr/lib/security/
 endif
+	touch $@
 
 gcc: uclibc-configured binutils gcc_initial $(LIBFLOAT_TARGET) uclibc \
 	$(GCC_BUILD_DIR2)/.installed $(GCC_BUILD_DIR2)/.libs_installed \
@@ -333,7 +334,7 @@
 #############################################################
 GCC_BUILD_DIR3:=$(BUILD_DIR)/gcc-$(GCC_VERSION)-target
 
-$(GCC_BUILD_DIR3)/.prepared: $(GCC_BUILD_DIR2)/.installed $(GCC_TARGET_PREREQ)
+$(GCC_BUILD_DIR3)/.prepared: $(GCC_BUILD_DIR2)/.libs_installed $(GCC_TARGET_PREREQ)
 	mkdir -p $(GCC_BUILD_DIR3)
 	touch $@
 

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-02-04 15:23 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-02-04 15:23 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-02-04 07:23:26 -0800 (Sun, 04 Feb 2007)
New Revision: 17759

Log:
- allow intermodule also for 4.1


Modified:
   trunk/buildroot/toolchain/gcc/Makefile.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2007-02-04 11:16:21 UTC (rev 17758)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2007-02-04 15:23:26 UTC (rev 17759)
@@ -60,12 +60,11 @@
 #"))
 
 ifeq ($(BR2_PREFER_IMA),y)
-# >= 4.2
-ifeq ($(findstring 4.2,$(GCC_VERSION)),4.2)
+# >= 4.1
+ifeq ($(findstring 4.,$(GCC_VERSION)),4.)
+ifneq ($(findstring 4.0,$(GCC_VERSION)),4.0)
 EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--enable-intermodule
 endif
-ifeq ($(findstring 4.3,$(GCC_VERSION)),4.3)
-EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--enable-intermodule
 endif
 endif # BR2_PREFER_IMA=y
 

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-01-31 15:09 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-01-31 15:09 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-01-31 07:09:26 -0800 (Wed, 31 Jan 2007)
New Revision: 17686

Log:
- add gcc-4.1.2 (release candidate1). Send bugs etc to MarkM, if you feel like


Added:
   trunk/buildroot/toolchain/gcc/4.1.2/

Modified:
   trunk/buildroot/toolchain/gcc/Config.in
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Copied: trunk/buildroot/toolchain/gcc/4.1.2 (from rev 17683, trunk/buildroot/toolchain/gcc/4.1.1)

Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-01-31 14:21:08 UTC (rev 17685)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-01-31 15:09:26 UTC (rev 17686)
@@ -55,6 +55,10 @@
 		depends !BR2_nios2
 		bool "gcc 4.1.1"
 
+	config BR2_GCC_VERSION_4_1_2
+		depends !BR2_nios2
+		bool "gcc 4.1.2"
+
 	config BR2_GCC_VERSION_4_2
 		depends !BR2_nios2
 		select BR2_GCC_IS_SNAP
@@ -89,6 +93,7 @@
 	default "4.0.3"     if BR2_GCC_VERSION_4_0_3
 	default "4.1.0"     if BR2_GCC_VERSION_4_1_0
 	default "4.1.1"     if BR2_GCC_VERSION_4_1_1
+	default "4.1.2"     if BR2_GCC_VERSION_4_1_2
 	default "4.2"       if BR2_GCC_VERSION_4_2
 
 

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-01-31 14:21:08 UTC (rev 17685)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-01-31 15:09:26 UTC (rev 17686)
@@ -26,6 +26,13 @@
 GCC_SITE:=ftp://sources.redhat.com/pub/gcc/snapshots/$(GCC_OFFICIAL_VER)
 endif
 
+# Temporary for 4.1.2-RC1
+ifeq ($(BR2_GCC_VERSION_4_1_2),y)
+GCC_SNAP_DATE:=20070128
+GCC_OFFICIAL_VER:=$(GCC_VERSION)-$(GCC_SNAP_DATE)
+GCC_SITE:=ftp://gcc.gnu.org/pub/gcc/prerelease-$(GCC_OFFICIAL_VER)/
+endif
+
 GCC_SOURCE:=gcc-$(GCC_OFFICIAL_VER).tar.bz2
 GCC_DIR:=$(TOOL_BUILD_DIR)/gcc-$(GCC_OFFICIAL_VER)
 GCC_CAT:=$(BZCAT)

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-01-28 11:57 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-01-28 11:57 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-01-28 03:57:00 -0800 (Sun, 28 Jan 2007)
New Revision: 17592

Log:
- fix indentation of help texts


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


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-01-28 11:14:26 UTC (rev 17591)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-01-28 11:57:00 UTC (rev 17592)
@@ -96,16 +96,16 @@
 	bool "Enable setjmp/longjmp exceptions?"
 	default n
 	help
-	    For some platforms, proper stack unwinding works perfectly,
-	    while other platforms must use setjmp/longjmp exceptions for
-	    proper stack unwinding during exception handling.  Most people
-	    can leave this set to n.
+	  For some platforms, proper stack unwinding works perfectly,
+	  while other platforms must use setjmp/longjmp exceptions for
+	  proper stack unwinding during exception handling.  Most people
+	  can leave this set to n.
 
 config BR2_EXTRA_GCC_CONFIG_OPTIONS
 	string "Additional gcc options"
 	default ""
 	help
-	    Any additional gcc options you may want to include....
+	  Any additional gcc configure options you may want to include....
 
 config BR2_INSTALL_LIBSTDCPP
 	bool "Build/install c++ compiler and libstdc++?"
@@ -113,35 +113,33 @@
 	# huh? why so? select BR2_LARGEFILE
 	select BR2_LARGEFILE if !BR2_GCC_VERSION_4_2
 	help
-	    Build/install c++ compiler and libstdc++?
+	  Build/install c++ compiler and libstdc++?
 
 config BR2_INSTALL_LIBGCJ
 	bool "Build/install java compiler and libgcj?"
 	default n
 	depends on BR2_INSTALL_LIBSTDCPP
 	help
-	    Build/install java compiler and libgcj?
+	  Build/install java compiler and libgcj?
 
 config BR2_INSTALL_OBJC
 	bool "Build/install Objective-C compiler and runtime?"
 	default n
 	help
-	    Build/install Objective-C compiler and runtime?
+	  Build/install Objective-C compiler and runtime?
 
 config BR2_INSTALL_FORTRAN
 	bool "Build/install Fortran compiler and runtime?"
 	default n
 	select BR2_PACKAGE_LIBMPFR
 	help
-	    Build/install Fortran compiler and runtime?
-	    Note that it is highly recommended NOT to use gfortran
-	    from gcc older than 4.2.0
+	  Build/install Fortran compiler and runtime?
+	  Note that it is highly recommended NOT to use gfortran
+	  from gcc older than 4.2.0
 
-	    You have been warned..
-
 config BR2_GCC_SHARED_LIBGCC
 	bool "Build/install a shared libgcc?"
 	default y
 	help
-	    Build/install a shared libgcc library
+	  Build/install a shared libgcc library
 

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-01-26 14:51 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-01-26 14:51 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-01-26 06:51:38 -0800 (Fri, 26 Jan 2007)
New Revision: 17541

Log:
- for the native target gcc, drop --enable-optspace in favour of using the configured flags (that default to -Os anyway).
  Saves about 20% size without additional configure args:
   text    data     bss     dec     hex filename
4685000   17280  566360 5268640  5064a0 optspace/i586-linux-uclibc/4.2.0/cc1
3630655   15184  562172 4208011  40358b usrflags/i586-linux-uclibc/4.2.0/cc1
4853646   23532  568528 5445706  53184a optspace/i586-linux-uclibc/4.2.0/f951
3772121   21292  564148 4357561  427db9 usrflags/i586-linux-uclibc/4.2.0/f951


Modified:
   trunk/buildroot/toolchain/gcc/Makefile.in
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2007-01-26 09:07:26 UTC (rev 17540)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2007-01-26 14:51:38 UTC (rev 17541)
@@ -30,18 +30,30 @@
 else
 SOFT_FLOAT_CONFIG_OPTION:=--without-float
 endif
+
 # again... there must be a better way
 ifeq ($(findstring 4.,$(GCC_VERSION)),4.)
 SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft
+ifeq ($(BR2_SOFT_FLOAT_FP),y)
+TARGET_SOFT_FLOAT:=-mfloat-abi=softfp
+else # no fp at all
+TARGET_SOFT_FLOAT:=-mfloat-abi=soft
 endif
+else # not gcc-4.x
 TARGET_SOFT_FLOAT:=-msoft-float
+endif
 ARCH_FPU_SUFFIX:=_nofpu
-else
+else # no softfloat support
 SOFT_FLOAT_CONFIG_OPTION:=
 TARGET_SOFT_FLOAT:=
 ARCH_FPU_SUFFIX:=
 endif
 
+TARGET_GCC_FLAGS= CFLAGS_FOR_TARGET="$(TARGET_CFLAGS) $(TARGET_SOFT_FLOAT)" \
+	CXXFLAGS_FOR_TARGET="$(TARGET_CFLAGS) $(TARGET_SOFT_FLOAT)" \
+	CFLAGS="$(TARGET_CFLAGS) $(TARGET_SOFT_FLOAT)" \
+	BOOT_CFLAGS="$(TARGET_CFLAGS) $(TARGET_SOFT_FLOAT)"
+
 ifeq ($(strip $(BR2_PACKAGE_GCC_TARGET)),y)
 TARGETS+=gcc_target
 endif

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-01-26 09:07:26 UTC (rev 17540)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-01-26 14:51:38 UTC (rev 17541)
@@ -333,7 +333,8 @@
 	(cd $(GCC_BUILD_DIR3); rm -rf config.cache ; \
 		PATH=$(TARGET_PATH) \
 		CC_FOR_BUILD="$(HOSTCC)" \
-		BOOT_CFLAGS="$(TARGET_CFLAGS)" \
+		CFLAGS_FOR_BUILD="-g -O2" \
+		$(TARGET_GCC_FLAGS) \
 		$(GCC_DIR)/configure \
 		--prefix=/usr \
 		--build=$(GNU_HOST_NAME) \
@@ -342,7 +343,6 @@
 		--enable-languages=$(GCC_TARGET_LANGUAGES) \
 		--with-gxx-include-dir=/usr/include/c++ \
 		--disable-__cxa_atexit \
-		--enable-target-optspace \
 		--with-gnu-ld \
 		$(GCC_SHARED_LIBGCC) \
 		$(GCC_WITH_TARGET_GMP) \
@@ -354,12 +354,13 @@
 		$(GCC_WITH_CPU) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
 		$(GCC_USE_SJLJ_EXCEPTIONS) \
 		$(DISABLE_LARGEFILE) \
-		$(EXTRA_GCC_CONFIG_OPTIONS));
+		$(EXTRA_GCC_CONFIG_OPTIONS) \
+		$(EXTRA_TARGET_GCC_CONFIG_OPTIONS));
 	touch $@
 
 $(GCC_BUILD_DIR3)/.compiled: $(GCC_BUILD_DIR3)/.configured
 	PATH=$(TARGET_PATH) \
-	$(MAKE) $(TARGET_GCC_ARGS) -C $(GCC_BUILD_DIR3) all
+	$(MAKE) -C $(GCC_BUILD_DIR3) all
 	touch $@
 
 #

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-01-25  0:18 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-01-25  0:18 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-01-24 16:18:19 -0800 (Wed, 24 Jan 2007)
New Revision: 17516

Log:
- TODO: cleanup BR2_ARCH selection and establish BR2_CPU


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-01-25 00:00:02 UTC (rev 17515)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-01-25 00:18:19 UTC (rev 17516)
@@ -384,9 +384,10 @@
 else
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
 endif
-GCC_WITH_ARCH=--with-arch=$(BR2_ARCH)
-GCC_WITH_TUNE=--with-tune=$(BR2_ARCH)
-GCC_WITH_CPU=--with-cpu=$(BR2_ARCH)
+#XXX: FIXME: cleanup BR2_ARCH selection and establish BR2_CPU
+#GCC_WITH_ARCH=--with-arch=$(BR2_ARCH)
+#GCC_WITH_TUNE=--with-tune=$(BR2_ARCH)
+#GCC_WITH_CPU=--with-cpu=$(BR2_ARCH)
 endif
 
 $(TARGET_DIR)/usr/bin/gcc: $(GCC_BUILD_DIR3)/.compiled

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-01-21 11:50 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-01-21 11:50 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-01-21 03:50:10 -0800 (Sun, 21 Jan 2007)
New Revision: 17432

Log:
- handle all gcc-4.x for the softfloat case.


Modified:
   trunk/buildroot/toolchain/gcc/Makefile.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2007-01-21 11:34:14 UTC (rev 17431)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2007-01-21 11:50:10 UTC (rev 17432)
@@ -22,6 +22,7 @@
 ifeq ($(strip $(BR2_GCC_USE_SJLJ_EXCEPTIONS)),y)
 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 3.4.,$(GCC_VERSION)),3.4.)
@@ -30,12 +31,9 @@
 SOFT_FLOAT_CONFIG_OPTION:=--without-float
 endif
 # again... there must be a better way
-ifeq ($(findstring 4.0.,$(GCC_VERSION)),4.0.)
+ifeq ($(findstring 4.,$(GCC_VERSION)),4.)
 SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft
 endif
-ifeq ($(findstring 4.1.,$(GCC_VERSION)),4.1.)
-SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft
-endif
 TARGET_SOFT_FLOAT:=-msoft-float
 ARCH_FPU_SUFFIX:=_nofpu
 else

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2006-12-28  8:49 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2006-12-28  8:49 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2006-12-28 00:49:55 -0800 (Thu, 28 Dec 2006)
New Revision: 17099

Log:
- I'm pretty sure that i don't want LFS support on the gcc-4_2-branch
  Leave the rest as is. *shrug*


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


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2006-12-28 08:48:31 UTC (rev 17098)
+++ trunk/buildroot/toolchain/gcc/Config.in	2006-12-28 08:49:55 UTC (rev 17099)
@@ -110,7 +110,8 @@
 config BR2_INSTALL_LIBSTDCPP
 	bool "Build/install c++ compiler and libstdc++?"
 	default n
-	select BR2_LARGEFILE
+	# huh? why so? select BR2_LARGEFILE
+	select BR2_LARGEFILE if !BR2_GCC_VERSION_4_2
 	help
 	    Build/install c++ compiler and libstdc++?
 

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2006-12-28  8:48 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2006-12-28  8:48 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2006-12-28 00:48:31 -0800 (Thu, 28 Dec 2006)
New Revision: 17098

Log:
- Pass largefile support down to the cross- and the native target compiler.


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-12-28 08:47:36 UTC (rev 17097)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-12-28 08:48:31 UTC (rev 17098)
@@ -207,6 +207,7 @@
 		$(SOFT_FLOAT_CONFIG_OPTION) \
 		$(GCC_WITH_CPU) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
 		$(GCC_USE_SJLJ_EXCEPTIONS) \
+		$(DISABLE_LARGEFILE) \
 		$(EXTRA_GCC_CONFIG_OPTIONS));
 	touch $(GCC_BUILD_DIR2)/.configured
 
@@ -335,6 +336,7 @@
 		$(SOFT_FLOAT_CONFIG_OPTION) \
 		$(GCC_WITH_CPU) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
 		$(GCC_USE_SJLJ_EXCEPTIONS) \
+		$(DISABLE_LARGEFILE) \
 		$(EXTRA_GCC_CONFIG_OPTIONS));
 	touch $(GCC_BUILD_DIR3)/.configured
 

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2006-12-22 11:45 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2006-12-22 11:45 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2006-12-22 03:45:20 -0800 (Fri, 22 Dec 2006)
New Revision: 17046

Log:
- add gfortran support


Modified:
   trunk/buildroot/toolchain/gcc/Config.in
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2006-12-22 11:43:06 UTC (rev 17045)
+++ trunk/buildroot/toolchain/gcc/Config.in	2006-12-22 11:45:20 UTC (rev 17046)
@@ -127,8 +127,16 @@
 	help
 	    Build/install Objective-C compiler and runtime?
 
+config BR2_INSTALL_FORTRAN
+	bool "Build/install Fortran compiler and runtime?"
+	default n
+	select BR2_PACKAGE_LIBMPFR
+	help
+	    Build/install Fortran compiler and runtime?
+
 config BR2_GCC_SHARED_LIBGCC
 	bool "Build/install a shared libgcc?"
 	default y
 	help
 	    Build/install a shared libgcc library
+

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-12-22 11:43:06 UTC (rev 17045)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-12-22 11:45:20 UTC (rev 17046)
@@ -51,8 +51,17 @@
 TARGET_LANGUAGES:=$(TARGET_LANGUAGES),objc
 endif
 
+TARGET_PREREQ =
+STAGING_PREREQ= $(STAGING_DIR)/lib/libc.a
+
 ifeq ($(BR2_INSTALL_FORTRAN),y)
 TARGET_LANGUAGES:=$(TARGET_LANGUAGES),fortran
+TARGET_PREREQ += $(TARGET_DIR)/lib/libmpfr.so
+STAGING_PREREQ+= $(TOOL_BUILD_DIR)/mpfr/lib/libmpfr.a
+GCC_WITH_TARGET_GMP:=--with-gmp=$(STAGING_DIR)
+GCC_WITH_TARGET_MPFR:=--with-mpfr=$(STAGING_DIR)
+GCC_WITH_HOST_GMP=--with-gmp=$(GMP_HOST_DIR)
+GCC_WITH_HOST_MPFR=--with-mpfr=$(MPFR_HOST_DIR)
 endif
 
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
@@ -61,6 +70,11 @@
 GCC_SHARED_LIBGCC:=--disable-shared
 endif
 
+ifneq ($(BR2_ENABLE_LOCALE),y)
+GCC_ENABLE_CLOCALE:=--disable-clocale
+endif
+
+
 #############################################################
 #
 # build the first pass gcc compiler
@@ -169,7 +183,7 @@
 # guarantees.  mjn3
 
 GCC_BUILD_DIR2:=$(TOOL_BUILD_DIR)/gcc-$(GCC_VERSION)-final
-$(GCC_BUILD_DIR2)/.configured: $(GCC_DIR)/.patched $(STAGING_DIR)/lib/libc.a
+$(GCC_BUILD_DIR2)/.configured: $(GCC_DIR)/.patched $(STAGING_PREREQ)
 	mkdir -p $(GCC_BUILD_DIR2)
 	# Important!  Required for limits.h to be fixed.
 	ln -snf ../include $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/sys-include
@@ -184,6 +198,8 @@
 		--disable-__cxa_atexit \
 		--enable-target-optspace \
 		--with-gnu-ld \
+		$(GCC_WITH_HOST_GMP) \
+		$(GCC_WITH_HOST_MPFR) \
 		$(GCC_SHARED_LIBGCC) \
 		$(DISABLE_NLS) \
 		$(THREADS) \
@@ -311,6 +327,8 @@
 		--enable-target-optspace \
 		--with-gnu-ld \
 		$(GCC_SHARED_LIBGCC) \
+		$(GCC_WITH_HOST_GMP) \
+		$(GCC_WITH_HOST_MPFR) \
 		$(DISABLE_NLS) \
 		$(THREADS) \
 		$(MULTILIB) \

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2006-12-22 11:43 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2006-12-22 11:43 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2006-12-22 03:43:06 -0800 (Fri, 22 Dec 2006)
New Revision: 17045

Log:
- fix building the target-compiler by passing the correct HOSTCC in.


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-12-22 11:38:07 UTC (rev 17044)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-12-22 11:43:06 UTC (rev 17045)
@@ -292,9 +292,14 @@
 #############################################################
 GCC_BUILD_DIR3:=$(BUILD_DIR)/gcc-$(GCC_VERSION)-target
 
-$(GCC_BUILD_DIR3)/.configured: $(GCC_BUILD_DIR2)/.installed
+$(GCC_BUILD_DIR3)/.prepared: $(GCC_BUILD_DIR2)/.installed $(TARGET_PREREQ)
 	mkdir -p $(GCC_BUILD_DIR3)
-	(cd $(GCC_BUILD_DIR3); PATH=$(TARGET_PATH) \
+	touch $@
+
+$(GCC_BUILD_DIR3)/.configured: $(GCC_BUILD_DIR3)/.prepared
+	(cd $(GCC_BUILD_DIR3); rm -rf config.cache ; \
+		PATH=$(TARGET_PATH) \
+		CC_FOR_BUILD="$(HOSTCC)" \
 		$(GCC_DIR)/configure \
 		--prefix=/usr \
 		--build=$(GNU_HOST_NAME) \

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2006-12-22 11:38 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2006-12-22 11:38 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2006-12-22 03:38:07 -0800 (Fri, 22 Dec 2006)
New Revision: 17044

Log:
- fix setting the REAL_GCC_VERSION if no snapdate was given (i.e. we're using a svn co of the branch).
  sjhill, please verify that this still works for you!


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-12-22 11:29:52 UTC (rev 17043)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-12-22 11:38:07 UTC (rev 17044)
@@ -336,8 +336,8 @@
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
 endif
 ifeq ($(findstring 4.2,$(GCC_VERSION)),4.2)
-ifneq ($(GCC_SNAP_DATE),)
-REAL_GCC_VERSION:=`cat ${GCC_DIR}/gcc/BASE-VER`
+ifneq ($(findstring 4.2.,$(GCC_VERSION)),4.2.)
+REAL_GCC_VERSION=$(shell cat $(GCC_DIR)/gcc/BASE-VER)
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(REAL_GCC_VERSION)
 else
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2006-12-12 17:01 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2006-12-12 17:01 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2006-12-12 09:01:26 -0800 (Tue, 12 Dec 2006)
New Revision: 16854

Log:
- workaround vi's syntax highlighting


Modified:
   trunk/buildroot/toolchain/gcc/Makefile.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2006-12-12 14:38:03 UTC (rev 16853)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2006-12-12 17:01:26 UTC (rev 16854)
@@ -5,18 +5,20 @@
 # the top level.
 
 GCC_VERSION:=$(strip $(subst ",, $(BR2_GCC_VERSION)))
-#"
+#"))
 TARGET_OPTIMIZATION:=$(strip $(subst ",, $(BR2_TARGET_OPTIMIZATION)))
-#"
+#"))
 EXTRA_GCC_CONFIG_OPTIONS:=$(strip $(subst ",, $(BR2_EXTRA_GCC_CONFIG_OPTIONS)))
-#"
+#"))
 ifeq ($(strip $(subst ",, $(BR2_GCC_IS_SNAP))),y)
+#"))
 GCC_SNAP_DATE:=$(strip $(subst ",, $(BR2_GCC_SNAP_DATE)))
+#"))
 else
 GCC_SNAP_DATE:=
 endif
+#")))
 
-
 ifeq ($(strip $(BR2_GCC_USE_SJLJ_EXCEPTIONS)),y)
 GCC_USE_SJLJ_EXCEPTIONS:=--enable-sjlj-exceptions
 endif

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2006-12-10 13:24 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2006-12-10 13:24 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2006-12-10 05:24:03 -0800 (Sun, 10 Dec 2006)
New Revision: 16832

Log:
- revert r16800.


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-12-10 02:52:19 UTC (rev 16831)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-12-10 13:24:03 UTC (rev 16832)
@@ -115,7 +115,7 @@
 # fixed, so we need to actually have working C library header files prior to
 # the step or libgcc will not build...
 
-$(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.patched uclibc-configured
+$(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.patched
 	mkdir -p $(GCC_BUILD_DIR1)
 	(cd $(GCC_BUILD_DIR1); PATH=$(TARGET_PATH) \
 		CC="$(HOSTCC)" \

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2006-12-07 17:02 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2006-12-07 17:02 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2006-12-07 09:02:32 -0800 (Thu, 07 Dec 2006)
New Revision: 16800

Log:
- The sysroot requires an existing argument, so make sure that we did configure
  uClibc properly before attempting to use it.


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-12-07 16:31:21 UTC (rev 16799)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-12-07 17:02:32 UTC (rev 16800)
@@ -115,7 +115,7 @@
 # fixed, so we need to actually have working C library header files prior to
 # the step or libgcc will not build...
 
-$(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.patched
+$(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.patched uclibc-configured
 	mkdir -p $(GCC_BUILD_DIR1)
 	(cd $(GCC_BUILD_DIR1); PATH=$(TARGET_PATH) \
 		CC="$(HOSTCC)" \

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2006-12-07  4:49 sjhill at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: sjhill at uclibc.org @ 2006-12-07  4:49 UTC (permalink / raw)
  To: buildroot

Author: sjhill
Date: 2006-12-06 20:49:05 -0800 (Wed, 06 Dec 2006)
New Revision: 16795

Log:
Update to newer snapshot.


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


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2006-12-06 23:14:31 UTC (rev 16794)
+++ trunk/buildroot/toolchain/gcc/Config.in	2006-12-07 04:49:05 UTC (rev 16795)
@@ -68,7 +68,7 @@
 
 config BR2_GCC_SNAP_DATE
 	string "GCC snapshot date"
-	default "20060408"
+	default "20061121"
 	depends BR2_GCC_IS_SNAP
 	help
 	  Enter snapshot date to use for gcc.  Format is:

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2006-12-02  5:15 sjhill at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: sjhill at uclibc.org @ 2006-12-02  5:15 UTC (permalink / raw)
  To: buildroot

Author: sjhill
Date: 2006-12-01 21:15:27 -0800 (Fri, 01 Dec 2006)
New Revision: 16750

Log:
For GCC 4.2 snapshots, we need to get the actual version from the BASE-VER file so that the target compiler will build and install properly.


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-12-02 02:01:57 UTC (rev 16749)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-12-02 05:15:27 UTC (rev 16750)
@@ -335,9 +335,14 @@
 ifeq ($(findstring 4.1.,$(GCC_VERSION)),4.1.)
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
 endif
-ifeq ($(findstring 4.2.,$(GCC_VERSION)),4.2.)
+ifeq ($(findstring 4.2,$(GCC_VERSION)),4.2)
+ifneq ($(GCC_SNAP_DATE),)
+REAL_GCC_VERSION:=`cat ${GCC_DIR}/gcc/BASE-VER`
+GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(REAL_GCC_VERSION)
+else
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
 endif
+endif
 
 $(TARGET_DIR)/usr/bin/gcc: $(GCC_BUILD_DIR3)/.compiled
 	PATH=$(TARGET_PATH) \

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2006-11-16  9:55 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2006-11-16  9:55 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2006-11-16 01:55:20 -0800 (Thu, 16 Nov 2006)
New Revision: 16536

Log:
Make sure libgcc_s.so.1 and friends always gets installed in TARGET_DIR.
Patch by Lars Munch.


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-11-16 02:27:24 UTC (rev 16535)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-11-16 09:55:20 UTC (rev 16536)
@@ -250,6 +250,9 @@
 	#
 	# Ok... that's enough of that.
 	#
+	touch $(GCC_BUILD_DIR2)/.installed
+
+gcc-target-libs: $(GCC_BUILD_DIR2)/.installed
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
 	# These are in /lib, so...
 	rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so*
@@ -266,10 +269,9 @@
 	-cp -a $(STAGING_DIR)/usr/lib/security/libgcj.security $(TARGET_DIR)/usr/lib/security/
 	-cp -a $(STAGING_DIR)/usr/lib/security/classpath.security $(TARGET_DIR)/usr/lib/security/
 endif
-	touch $(GCC_BUILD_DIR2)/.installed
 
 gcc: uclibc-configured binutils gcc_initial $(LIBFLOAT_TARGET) uclibc \
-	$(GCC_BUILD_DIR2)/.installed $(GCC_TARGETS)
+	$(GCC_BUILD_DIR2)/.installed gcc-target-libs $(GCC_TARGETS)
 
 gcc-source: $(DL_DIR)/$(GCC_SOURCE)
 

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2006-10-26 15:15 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2006-10-26 15:15 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2006-10-26 08:15:08 -0700 (Thu, 26 Oct 2006)
New Revision: 16442

Log:
Fix missing libgcc_s.so.1 with BR2_GCC_SHARED_LIBGCC

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-10-26 01:47:34 UTC (rev 16441)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-10-26 15:15:08 UTC (rev 16442)
@@ -250,12 +250,11 @@
 	#
 	# Ok... that's enough of that.
 	#
-	touch $(GCC_BUILD_DIR2)/.installed
-
-$(TARGET_DIR)/lib/libgcc_s.so.1: $(GCC_BUILD_DIR2)/.installed
+ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
 	# These are in /lib, so...
 	rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so*
 	-cp -a $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* $(TARGET_DIR)/lib/
+endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 	-cp -a $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/lib/
 endif
@@ -267,7 +266,7 @@
 	-cp -a $(STAGING_DIR)/usr/lib/security/libgcj.security $(TARGET_DIR)/usr/lib/security/
 	-cp -a $(STAGING_DIR)/usr/lib/security/classpath.security $(TARGET_DIR)/usr/lib/security/
 endif
-	touch -c $(TARGET_DIR)/lib/libgcc_s.so.1
+	touch $(GCC_BUILD_DIR2)/.installed
 
 gcc: uclibc-configured binutils gcc_initial $(LIBFLOAT_TARGET) uclibc \
 	$(GCC_BUILD_DIR2)/.installed $(GCC_TARGETS)

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

* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2006-10-02 19:40 andersen at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: andersen at uclibc.org @ 2006-10-02 19:40 UTC (permalink / raw)
  To: buildroot

Author: andersen
Date: 2006-10-02 12:40:44 -0700 (Mon, 02 Oct 2006)
New Revision: 16292

Log:
add a know to enable/disable building a shared libgcc


Modified:
   trunk/buildroot/toolchain/gcc/Config.in
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2006-10-02 18:52:49 UTC (rev 16291)
+++ trunk/buildroot/toolchain/gcc/Config.in	2006-10-02 19:40:44 UTC (rev 16292)
@@ -126,3 +126,9 @@
 	default n
 	help
 	    Build/install Objective-C compiler and runtime?
+
+config BR2_GCC_SHARED_LIBGCC
+	bool "Build/install a shared libgcc?"
+	default y
+	help
+	    Build/install a shared libgcc library

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-10-02 18:52:49 UTC (rev 16291)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-10-02 19:40:44 UTC (rev 16292)
@@ -55,6 +55,12 @@
 TARGET_LANGUAGES:=$(TARGET_LANGUAGES),fortran
 endif
 
+ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
+GCC_SHARED_LIBGCC:=--enable-shared
+else
+GCC_SHARED_LIBGCC:=--disable-shared
+endif
+
 #############################################################
 #
 # build the first pass gcc compiler
@@ -119,11 +125,11 @@
 		--host=$(GNU_HOST_NAME) \
 		--target=$(REAL_GNU_TARGET_NAME) \
 		--enable-languages=c \
-		--disable-shared \
 		--with-sysroot=$(TOOL_BUILD_DIR)/uClibc_dev/ \
 		--disable-__cxa_atexit \
 		--enable-target-optspace \
 		--with-gnu-ld \
+		--disable-shared \
 		$(DISABLE_NLS) \
 		$(THREADS) \
 		$(MULTILIB) \
@@ -175,10 +181,10 @@
 		--host=$(GNU_HOST_NAME) \
 		--target=$(REAL_GNU_TARGET_NAME) \
 		--enable-languages=$(TARGET_LANGUAGES) \
-		--enable-shared \
 		--disable-__cxa_atexit \
 		--enable-target-optspace \
 		--with-gnu-ld \
+		$(GCC_SHARED_LIBGCC) \
 		$(DISABLE_NLS) \
 		$(THREADS) \
 		$(MULTILIB) \
@@ -264,7 +270,7 @@
 	touch -c $(TARGET_DIR)/lib/libgcc_s.so.1
 
 gcc: uclibc-configured binutils gcc_initial $(LIBFLOAT_TARGET) uclibc \
-	$(TARGET_DIR)/lib/libgcc_s.so.1 $(GCC_BUILD_DIR2)/.installed $(GCC_TARGETS)
+	$(GCC_BUILD_DIR2)/.installed $(GCC_TARGETS)
 
 gcc-source: $(DL_DIR)/$(GCC_SOURCE)
 
@@ -294,11 +300,11 @@
 		--host=$(REAL_GNU_TARGET_NAME) \
 		--target=$(REAL_GNU_TARGET_NAME) \
 		--enable-languages=$(TARGET_LANGUAGES) \
-		--enable-shared \
 		--with-gxx-include-dir=/usr/include/c++ \
 		--disable-__cxa_atexit \
 		--enable-target-optspace \
 		--with-gnu-ld \
+		$(GCC_SHARED_LIBGCC) \
 		$(DISABLE_NLS) \
 		$(THREADS) \
 		$(MULTILIB) \

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

end of thread, other threads:[~2009-03-01 20:20 UTC | newest]

Thread overview: 170+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-09 14:05 [Buildroot] svn commit: trunk/buildroot/toolchain/gcc aldot at uclibc.org
  -- strict thread matches above, loose matches on Subject: below --
2009-03-01 20:20 jacmet at uclibc.org
2009-01-30 13:34 jacmet at uclibc.org
2009-01-29 19:24 jacmet at uclibc.org
2009-01-29 19:13 jacmet at uclibc.org
2009-01-22 11:18 jacmet at uclibc.org
2009-01-22 10:04 jacmet at uclibc.org
2009-01-17 22:38 Frank Hoeflich
2009-01-17 23:53 ` Shinya Kuribayashi
2009-01-16 14:13 jacmet at uclibc.org
2009-01-16 14:13 jacmet at uclibc.org
2009-01-16 16:36 ` Sven Neumann
2009-01-16 19:20   ` Peter Korsgaard
2009-01-18 13:47     ` Sven Neumann
2009-01-20  9:38       ` Peter Korsgaard
2009-01-17 15:37 ` Shinya Kuribayashi
2009-01-17 16:29   ` Peter Korsgaard
2009-01-17 23:07     ` Shinya Kuribayashi
2009-01-18  8:37       ` Peter Korsgaard
2009-01-18  8:48         ` Shinya Kuribayashi
2009-01-18 11:02           ` Peter Korsgaard
2008-10-02 15:02 egtvedt at uclibc.org
2008-10-02 14:32 egtvedt at uclibc.org
2008-08-22 13:59 jacmet at uclibc.org
2008-07-08 19:31 ulf at uclibc.org
2008-06-21 19:47 jacmet at uclibc.org
2008-06-22 10:25 ` Luigi 'Comio' Mantellini
2008-06-22 11:17   ` Peter Korsgaard
2008-06-22 20:18     ` Bernhard Fischer
2008-06-22 20:52       ` Peter Korsgaard
2008-09-17 11:12         ` Fathi Boudra
2008-09-17 11:33           ` Peter Korsgaard
2008-09-17 11:45             ` Fathi Boudra
2008-09-17 14:03               ` Peter Korsgaard
2008-06-19 19:06 jacmet at uclibc.org
2008-06-18 15:46 jacmet at uclibc.org
2008-06-19  0:38 ` Hamish Moffatt
2008-06-19  7:01   ` Peter Korsgaard
2008-06-18 15:42 jacmet at uclibc.org
2008-06-18 16:33 ` Thiago A. Corrêa
2008-06-18 17:59   ` Peter Korsgaard
2008-06-18 18:29     ` Bernhard Fischer
2008-06-17 13:33 jacmet at uclibc.org
2008-06-17 13:28 jacmet at uclibc.org
2008-06-17 12:54 jacmet at uclibc.org
2008-06-17 13:10 ` Hans-Christian Egtvedt
2008-06-17 13:33   ` Peter Korsgaard
2008-06-06 12:49 jacmet at uclibc.org
2008-04-04 14:16 jacmet at uclibc.org
2008-03-30  8:07 nkukard at uclibc.org
2008-03-30  8:06 nkukard at uclibc.org
2008-03-30  8:05 nkukard at uclibc.org
2008-03-30  8:04 nkukard at uclibc.org
2007-12-17 11:37 vanokuten at uclibc.org
2007-12-13 12:10 vanokuten at uclibc.org
2007-10-20 18:09 vanokuten at uclibc.org
2007-10-19 17:51 vanokuten at uclibc.org
2007-10-12 21:01 ulf at uclibc.org
2007-10-13  8:49 ` Cristian Ionescu-Idbohrn
2007-10-13  9:57   ` Ulf Samuelsson
2007-10-13 10:19     ` Cristian Ionescu-Idbohrn
2007-10-13 11:23       ` Bernhard Fischer
2007-10-13 18:37       ` Ulf Samuelsson
2007-10-13 19:58         ` Cristian Ionescu-Idbohrn
2007-10-13 20:31           ` Ulf Samuelsson
2007-10-13 23:31             ` Cristian Ionescu-Idbohrn
2007-10-14  1:08               ` Ivan Kuten
2007-10-15  6:50               ` Ulf Samuelsson
2007-10-15 17:40                 ` Cristian Ionescu-Idbohrn
2007-10-15 18:16                   ` Ulf Samuelsson
2007-10-15 18:55                   ` Bernhard Fischer
2007-10-15 19:27                     ` Ulf Samuelsson
2007-10-13 11:25     ` Bernhard Fischer
2007-10-12 15:14 ulf at uclibc.org
2007-10-12 12:30 ulf at uclibc.org
2007-10-07 17:22 ulf at uclibc.org
2007-10-01 21:12 ulf at uclibc.org
2007-10-01 21:06 aldot at uclibc.org
2007-10-01 12:57 aldot at uclibc.org
2007-10-01 12:56 aldot at uclibc.org
2007-09-29 20:44 ulf at uclibc.org
2007-09-29 17:32 ulf at uclibc.org
2007-09-28 19:53 ulf at uclibc.org
2007-09-25 17:21 aldot at uclibc.org
2007-09-25 16:39 aldot at uclibc.org
2007-09-23 21:23 aldot at uclibc.org
2007-09-20  9:25 aldot at uclibc.org
2007-09-19 18:46 aldot at uclibc.org
2007-09-19 17:32 aldot at uclibc.org
2007-09-15 12:12 aldot at uclibc.org
2007-09-04  7:35 aldot at uclibc.org
2007-09-03  6:26 ulf at uclibc.org
2007-09-03 14:09 ` Bernhard Fischer
2007-09-03 14:29   ` Ulf Samuelsson
2007-09-03 16:22     ` Rouslan Solomakhin
2007-09-03 21:16       ` Ulf Samuelsson
2007-09-04  8:22         ` Cristian Ionescu-Idbohrn
2007-09-04  8:43           ` Peter Korsgaard
2007-09-04  7:39     ` Bernhard Fischer
2007-09-03  6:10 ulf at uclibc.org
2007-09-01 17:11 aldot at uclibc.org
2007-09-01 17:09 aldot at uclibc.org
2007-08-26 21:00 aldot at uclibc.org
2007-08-26 20:47 aldot at uclibc.org
2007-08-21 10:32 aldot at uclibc.org
2007-08-21 10:28 aldot at uclibc.org
2007-08-21 10:26 ` Cristian Ionescu-Idbohrn
2007-08-21 11:11   ` Bernhard Fischer
2007-08-19 21:15 ulf at uclibc.org
2007-08-01 19:15 ulf at uclibc.org
2007-08-01  8:58 ulf at uclibc.org
2007-07-31 15:07 aldot at uclibc.org
2007-07-30 18:24 ulf at uclibc.org
2007-07-29 17:51 ulf at uclibc.org
2007-07-29 17:43 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 14:25   ` Ulf Samuelsson
2007-07-29 17:36 ulf at uclibc.org
2007-07-30  7:19 ` Bernhard Fischer
2007-07-08 16:27 aldot at uclibc.org
2007-07-08 13:13 aldot at uclibc.org
2007-07-08 12:50 aldot at uclibc.org
2007-07-07 23:55 aldot at uclibc.org
2007-07-07 12:58 aldot at uclibc.org
2007-07-07 12:28 ulf at uclibc.org
2007-09-01 18:43 ` Bernhard Fischer
2007-09-03  7:41   ` Ulf Samuelsson
2007-07-07  7:34 ulf at uclibc.org
2007-07-07  9:33 ` Bernhard Fischer
2007-07-07 11:55   ` Ulf Samuelsson
2007-07-07 12:39     ` Bernhard Fischer
2007-07-05  5:15 sjhill at uclibc.org
2007-07-05  5:13 sjhill at uclibc.org
2007-06-28 14:05 aldot at uclibc.org
2007-06-25  7:52 aldot at uclibc.org
2007-06-24 11:30 aldot at uclibc.org
2007-05-24 21:23 jacmet at uclibc.org
2007-05-15 13:58 jacmet at uclibc.org
2007-04-13  2:04 sjhill at uclibc.org
2007-04-02 16:18 aldot at uclibc.org
2007-03-22 17:21 aldot at uclibc.org
2007-02-14  8:49 aldot at uclibc.org
2007-02-09 13:43 aldot at uclibc.org
2007-02-04 21:59 aldot at uclibc.org
2007-02-04 15:23 aldot at uclibc.org
2007-01-31 15:09 aldot at uclibc.org
2007-01-28 11:57 aldot at uclibc.org
2007-01-26 14:51 aldot at uclibc.org
2007-01-25  0:18 aldot at uclibc.org
2007-01-21 11:50 aldot at uclibc.org
2006-12-28  8:49 aldot at uclibc.org
2006-12-28  8:48 aldot at uclibc.org
2006-12-22 11:45 aldot at uclibc.org
2006-12-22 11:43 aldot at uclibc.org
2006-12-22 11:38 aldot at uclibc.org
2006-12-12 17:01 aldot at uclibc.org
2006-12-10 13:24 aldot at uclibc.org
2006-12-07 17:02 aldot at uclibc.org
2006-12-07  4:49 sjhill at uclibc.org
2006-12-02  5:15 sjhill at uclibc.org
2006-11-16  9:55 jacmet at uclibc.org
2006-10-26 15:15 jacmet at uclibc.org
2006-10-02 19:40 andersen at uclibc.org

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.