* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc: 4.3.1
@ 2008-06-19 19:06 jacmet at uclibc.org
2008-06-20 15:50 ` Fathi Boudra
0 siblings, 1 reply; 12+ 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:06:04 -0700 (Thu, 19 Jun 2008)
New Revision: 22453
Log:
toolchain/gcc: add 4.3.1
Based on Bernhards tree.
Added:
trunk/buildroot/toolchain/gcc/4.3.1/
trunk/buildroot/toolchain/gcc/4.3.1/100-uclibc-conf.patch
trunk/buildroot/toolchain/gcc/4.3.1/104-gnuhurd-uclibc-conf.patch
trunk/buildroot/toolchain/gcc/4.3.1/301-missing-execinfo_h.patch
trunk/buildroot/toolchain/gcc/4.3.1/302-c99-snprintf.patch
trunk/buildroot/toolchain/gcc/4.3.1/305-libmudflap-susv3-legacy.patch
trunk/buildroot/toolchain/gcc/4.3.1/810-arm-softfloat-libgcc.patch
trunk/buildroot/toolchain/gcc/4.3.1/993-arm_insn-opinit-RTX_CODE-fixup.patch
trunk/buildroot/toolchain/gcc/4.3.1/995-short-enums.diff
trunk/buildroot/toolchain/gcc/4.3.1/998-gcc-4.3.0-fix-header.00.patch
Modified:
trunk/buildroot/toolchain/gcc/Config.in
trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
Changeset:
Added: trunk/buildroot/toolchain/gcc/4.3.1/100-uclibc-conf.patch
===================================================================
--- trunk/buildroot/toolchain/gcc/4.3.1/100-uclibc-conf.patch (rev 0)
+++ trunk/buildroot/toolchain/gcc/4.3.1/100-uclibc-conf.patch 2008-06-19 19:06:04 UTC (rev 22453)
@@ -0,0 +1,33 @@
+--- gcc/gcc/config/--- gcc/contrib/regression/objs-gcc.sh
++++ gcc/contrib/regression/objs-gcc.sh
+@@ -105,6 +105,10 @@
+ then
+ make all-gdb all-dejagnu all-ld || exit 1
+ make install-gdb install-dejagnu install-ld || exit 1
++elif [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-uclibc ]
++ then
++ make all-gdb all-dejagnu all-ld || exit 1
++ make install-gdb install-dejagnu install-ld || exit 1
+ elif [ $H_REAL_TARGET = $H_REAL_HOST ] ; then
+ make bootstrap || exit 1
+ make install || exit 1
+--- gcc/libjava/classpath/ltconfig
++++ gcc/libjava/classpath/ltconfig
+@@ -603,7 +603,7 @@
+
+ # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
+ case $host_os in
+-linux-gnu*) ;;
++linux-gnu*|linux-uclibc*) ;;
+ linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
+ esac
+
+@@ -1251,7 +1251,7 @@
+ ;;
+
+ # This must be Linux ELF.
+-linux-gnu*)
++linux*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
Added: trunk/buildroot/toolchain/gcc/4.3.1/104-gnuhurd-uclibc-conf.patch
===================================================================
--- trunk/buildroot/toolchain/gcc/4.3.1/104-gnuhurd-uclibc-conf.patch (rev 0)
+++ trunk/buildroot/toolchain/gcc/4.3.1/104-gnuhurd-uclibc-conf.patch 2008-06-19 19:06:04 UTC (rev 22453)
@@ -0,0 +1,13 @@
+diff -rdup gcc-4.2.1.oorig/gcc/config.gcc gcc-4.2.1/gcc/config.gcc
+--- gcc-4.2.1.oorig/gcc/config.gcc 2007-10-01 11:52:52.000000000 +0200
++++ gcc-4.2.1/gcc/config.gcc 2007-10-01 13:22:12.000000000 +0200
+@@ -494,6 +494,9 @@ case ${target} in
+ alpha*)
+ tm_file="${cpu_type}/${cpu_type}.h alpha/elf.h alpha/linux.h alpha/linux-elf.h gnu.h ${tm_file}"
+ ;;
++ i[34567]86-*hurd*-*)
++ tm_file="${cpu_type}/${cpu_type}.h i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/gnu.h gnu.h ${tm_file}"
++ ;;
+ i[34567]86-*-*)
+ tm_file="${cpu_type}/${cpu_type}.h i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h gnu.h ${tm_file}"
+ ;;
Added: trunk/buildroot/toolchain/gcc/4.3.1/301-missing-execinfo_h.patch
===================================================================
--- trunk/buildroot/toolchain/gcc/4.3.1/301-missing-execinfo_h.patch (rev 0)
+++ trunk/buildroot/toolchain/gcc/4.3.1/301-missing-execinfo_h.patch 2008-06-19 19:06:04 UTC (rev 22453)
@@ -0,0 +1,11 @@
+--- gcc-4.0.0/boehm-gc/include/gc.h-orig 2005-04-28 22:28:57.000000000 -0500
++++ gcc-4.0.0/boehm-gc/include/gc.h 2005-04-28 22:30:38.000000000 -0500
+@@ -500,7 +500,7 @@
+ #ifdef __linux__
+ # include <features.h>
+ # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \
+- && !defined(__ia64__)
++ && !defined(__ia64__) && !defined(__UCLIBC__)
+ # ifndef GC_HAVE_BUILTIN_BACKTRACE
+ # define GC_HAVE_BUILTIN_BACKTRACE
+ # endif
Added: trunk/buildroot/toolchain/gcc/4.3.1/302-c99-snprintf.patch
===================================================================
--- trunk/buildroot/toolchain/gcc/4.3.1/302-c99-snprintf.patch (rev 0)
+++ trunk/buildroot/toolchain/gcc/4.3.1/302-c99-snprintf.patch 2008-06-19 19:06:04 UTC (rev 22453)
@@ -0,0 +1,13 @@
+Index: gcc-4.3.0/libstdc++-v3/include/c_global/cstdio
+===================================================================
+--- gcc-4.3.0/libstdc++-v3/include/c_global/cstdio (revision 129202)
++++ gcc-4.3.0/libstdc++-v3/include/c_global/cstdio (working copy)
+@@ -144,7 +144,7 @@
+
+ _GLIBCXX_END_NAMESPACE
+
+-#if _GLIBCXX_USE_C99
++#if _GLIBCXX_USE_C99 || defined __UCLIBC__
+
+ #undef snprintf
+ #undef vfscanf
Added: trunk/buildroot/toolchain/gcc/4.3.1/305-libmudflap-susv3-legacy.patch
===================================================================
--- trunk/buildroot/toolchain/gcc/4.3.1/305-libmudflap-susv3-legacy.patch (rev 0)
+++ trunk/buildroot/toolchain/gcc/4.3.1/305-libmudflap-susv3-legacy.patch 2008-06-19 19:06:04 UTC (rev 22453)
@@ -0,0 +1,49 @@
+Index: gcc-4.2/libmudflap/mf-hooks2.c
+===================================================================
+--- gcc-4.2/libmudflap/mf-hooks2.c (revision 119834)
++++ gcc-4.2/libmudflap/mf-hooks2.c (working copy)
+@@ -427,7 +427,7 @@
+ {
+ TRACE ("%s\n", __PRETTY_FUNCTION__);
+ MF_VALIDATE_EXTENT(s, n, __MF_CHECK_WRITE, "bzero region");
+- bzero (s, n);
++ memset (s, 0, n);
+ }
+
+
+@@ -437,7 +437,7 @@
+ TRACE ("%s\n", __PRETTY_FUNCTION__);
+ MF_VALIDATE_EXTENT(src, n, __MF_CHECK_READ, "bcopy src");
+ MF_VALIDATE_EXTENT(dest, n, __MF_CHECK_WRITE, "bcopy dest");
+- bcopy (src, dest, n);
++ memmove (dest, src, n);
+ }
+
+
+@@ -447,7 +447,7 @@
+ TRACE ("%s\n", __PRETTY_FUNCTION__);
+ MF_VALIDATE_EXTENT(s1, n, __MF_CHECK_READ, "bcmp 1st arg");
+ MF_VALIDATE_EXTENT(s2, n, __MF_CHECK_READ, "bcmp 2nd arg");
+- return bcmp (s1, s2, n);
++ return n == 0 ? 0 : memcmp (s1, s2, n);
+ }
+
+
+@@ -456,7 +456,7 @@
+ size_t n = strlen (s);
+ TRACE ("%s\n", __PRETTY_FUNCTION__);
+ MF_VALIDATE_EXTENT(s, CLAMPADD(n, 1), __MF_CHECK_READ, "index region");
+- return index (s, c);
++ return strchr (s, c);
+ }
+
+
+@@ -465,7 +465,7 @@
+ size_t n = strlen (s);
+ TRACE ("%s\n", __PRETTY_FUNCTION__);
+ MF_VALIDATE_EXTENT(s, CLAMPADD(n, 1), __MF_CHECK_READ, "rindex region");
+- return rindex (s, c);
++ return strrchr (s, c);
+ }
+
+ /* XXX: stpcpy, memccpy */
Added: trunk/buildroot/toolchain/gcc/4.3.1/810-arm-softfloat-libgcc.patch
===================================================================
--- trunk/buildroot/toolchain/gcc/4.3.1/810-arm-softfloat-libgcc.patch (rev 0)
+++ trunk/buildroot/toolchain/gcc/4.3.1/810-arm-softfloat-libgcc.patch 2008-06-19 19:06:04 UTC (rev 22453)
@@ -0,0 +1,29 @@
+Index: gcc-4.3.0/gcc/config/arm/t-linux
+===================================================================
+--- gcc-4.3.0/gcc/config/arm/t-linux (revision 129896)
++++ gcc-4.3.0/gcc/config/arm/t-linux (working copy)
+@@ -3,7 +3,10 @@
+ TARGET_LIBGCC2_CFLAGS = -fomit-frame-pointer -fPIC
+
+ LIB1ASMSRC = arm/lib1funcs.asm
+-LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx
++LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx \
++ _negdf2 _addsubdf3 _muldivdf3 _cmpdf2 _unorddf2 _fixdfsi _fixunsdfsi \
++ _truncdfsf2 _negsf2 _addsubsf3 _muldivsf3 _cmpsf2 _unordsf2 \
++ _fixsfsi _fixunssfsi _floatdidf _floatundidf _floatdisf _floatundisf
+
+ # MULTILIB_OPTIONS = mhard-float/msoft-float
+ # MULTILIB_DIRNAMES = hard-float soft-float
+Index: gcc-4.3.0/gcc/config/arm/linux-elf.h
+===================================================================
+--- gcc-4.3.0/gcc/config/arm/linux-elf.h (revision 129896)
++++ gcc-4.3.0/gcc/config/arm/linux-elf.h (working copy)
+@@ -48,7 +62,7 @@
+ %{shared:-lc} \
+ %{!shared:%{profile:-lc_p}%{!profile:-lc}}"
+
+-#define LIBGCC_SPEC "%{msoft-float:-lfloat} %{mfloat-abi=soft*:-lfloat} -lgcc"
++#define LIBGCC_SPEC "-lgcc"
+
+ #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
+
Added: trunk/buildroot/toolchain/gcc/4.3.1/993-arm_insn-opinit-RTX_CODE-fixup.patch
===================================================================
--- trunk/buildroot/toolchain/gcc/4.3.1/993-arm_insn-opinit-RTX_CODE-fixup.patch (rev 0)
+++ trunk/buildroot/toolchain/gcc/4.3.1/993-arm_insn-opinit-RTX_CODE-fixup.patch 2008-06-19 19:06:04 UTC (rev 22453)
@@ -0,0 +1,41 @@
+gcc/ChangeLog
+2007-11-27 Bernhard Fischer <>
+
+ * config/arm/arm-protos.h (arm_vector_mode_supported_p,
+ arm_hard_regno_mode_ok, const_ok_for_arm): Do not hide non-rtx related
+ function prototypes in RTX_CODE.
+ * genopinit.c: Include tm_p.h.
+
+Index: gcc-4.3.0/gcc/config/arm/arm-protos.h
+===================================================================
+--- gcc-4.3.0/gcc/config/arm/arm-protos.h (revision 130463)
++++ gcc-4.3.0/gcc/config/arm/arm-protos.h (working copy)
+@@ -40,15 +40,14 @@
+ unsigned int);
+ extern unsigned int arm_dbx_register_number (unsigned int);
+ extern void arm_output_fn_unwind (FILE *, bool);
+-
+
+ #ifdef TREE_CODE
+ extern int arm_return_in_memory (const_tree);
+ #endif
+-#ifdef RTX_CODE
+ extern bool arm_vector_mode_supported_p (enum machine_mode);
+ extern int arm_hard_regno_mode_ok (unsigned int, enum machine_mode);
+ extern int const_ok_for_arm (HOST_WIDE_INT);
++#ifdef RTX_CODE
+ extern int arm_split_constant (RTX_CODE, enum machine_mode, rtx,
+ HOST_WIDE_INT, rtx, rtx, int);
+ extern RTX_CODE arm_canonicalize_comparison (RTX_CODE, enum machine_mode,
+Index: gcc-4.3.0/gcc/genopinit.c
+===================================================================
+--- gcc-4.3.0/gcc/genopinit.c (revision 130463)
++++ gcc-4.3.0/gcc/genopinit.c (working copy)
+@@ -486,6 +486,7 @@
+ printf ("#include \"expr.h\"\n");
+ printf ("#include \"optabs.h\"\n");
+ printf ("#include \"reload.h\"\n\n");
++ printf ("#include \"tm_p.h\"\n\n");
+
+ printf ("void\ninit_all_optabs (void)\n{\n");
+
Added: trunk/buildroot/toolchain/gcc/4.3.1/995-short-enums.diff
===================================================================
--- trunk/buildroot/toolchain/gcc/4.3.1/995-short-enums.diff (rev 0)
+++ trunk/buildroot/toolchain/gcc/4.3.1/995-short-enums.diff 2008-06-19 19:06:04 UTC (rev 22453)
@@ -0,0 +1,42 @@
+see gcc PR34205
+Index: gcc-4.3.0/gcc/tree.h
+===================================================================
+--- gcc-4.3.0/gcc/tree.h (revision 130511)
++++ gcc-4.3.0/gcc/tree.h (working copy)
+@@ -38,6 +38,7 @@
+
+ LAST_AND_UNUSED_TREE_CODE /* A convenient way to get a value for
+ NUM_TREE_CODES. */
++ ,__LAST_AND_UNUSED_TREE_CODE=32767 /* Force 16bit width. */
+ };
+
+ #undef DEFTREECODE
+Index: gcc-4.3.0/gcc/rtl.h
+===================================================================
+--- gcc-4.3.0/gcc/rtl.h (revision 130511)
++++ gcc-4.3.0/gcc/rtl.h (working copy)
+@@ -48,9 +48,11 @@
+ #include "rtl.def" /* rtl expressions are documented here */
+ #undef DEF_RTL_EXPR
+
+- LAST_AND_UNUSED_RTX_CODE}; /* A convenient way to get a value for
++ LAST_AND_UNUSED_RTX_CODE /* A convenient way to get a value for
+ NUM_RTX_CODE.
+ Assumes default enum value assignment. */
++ ,__LAST_AND_UNUSED_RTX_CODE=32767 /* Force 16bit width. */
++};
+
+ #define NUM_RTX_CODE ((int) LAST_AND_UNUSED_RTX_CODE)
+ /* The cast here, saves many elsewhere. */
+Index: gcc-4.3.0/gcc/c-common.h
+===================================================================
+--- gcc-4.3.0/gcc/c-common.h (revision 130511)
++++ gcc-4.3.0/gcc/c-common.h (working copy)
+@@ -125,6 +125,7 @@
+ RID_LAST_AT = RID_AT_IMPLEMENTATION,
+ RID_FIRST_PQ = RID_IN,
+ RID_LAST_PQ = RID_ONEWAY
++ ,__LAST_AND_UNUSED_RID=32767 /* Force 16bit width. */
+ };
+
+ #define OBJC_IS_AT_KEYWORD(rid) \
Added: trunk/buildroot/toolchain/gcc/4.3.1/998-gcc-4.3.0-fix-header.00.patch
===================================================================
--- trunk/buildroot/toolchain/gcc/4.3.1/998-gcc-4.3.0-fix-header.00.patch (rev 0)
+++ trunk/buildroot/toolchain/gcc/4.3.1/998-gcc-4.3.0-fix-header.00.patch 2008-06-19 19:06:04 UTC (rev 22453)
@@ -0,0 +1,15 @@
+\\\\
+\\ gcc PR33200
+Index: gcc-4.3.0/gcc/config.gcc
+===================================================================
+--- gcc-4.3.0/gcc/config.gcc (revision 131628)
++++ gcc-4.3.0/gcc/config.gcc (working copy)
+@@ -2302,7 +2305,7 @@ sh-*-symbianelf* | sh[12346l]*-*-symbian
+ if test x${enable_incomplete_targets} = xyes ; then
+ tm_defines="$tm_defines SUPPORT_SH1=1 SUPPORT_SH2E=1 SUPPORT_SH4=1 SUPPORT_SH4_SINGLE=1 SUPPORT_SH2A=1 SUPPORT_SH2A_SINGLE=1 SUPPORT_SH5_32MEDIA=1 SUPPORT_SH5_32MEDIA_NOFPU=1 SUPPORT_SH5_64MEDIA=1 SUPPORT_SH5_64MEDIA_NOFPU=1"
+ fi
+- use_fixproto=yes
++ # XXX: why? use_fixproto=yes
+ ;;
+ sh-*-rtemscoff*)
+ tmake_file="sh/t-sh t-rtems sh/t-rtems"
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in 2008-06-19 19:05:59 UTC (rev 22452)
+++ trunk/buildroot/toolchain/gcc/Config.in 2008-06-19 19:06:04 UTC (rev 22453)
@@ -38,6 +38,10 @@
depends on !BR2_avr32 && !BR2_nios2
bool "gcc 4.2.4"
+ config BR2_GCC_VERSION_4_3_1
+ depends on !BR2_avr32 && !BR2_nios2
+ bool "gcc 4.3.1"
+
# config BR2_GCC_VERSION_4_3
# depends !BR2_avr32 && !BR2_nios2
# select BR2_GCC_IS_SNAP
@@ -75,6 +79,7 @@
default "4.2.1" if BR2_GCC_VERSION_4_2_1
default "4.2.3" if BR2_GCC_VERSION_4_2_3
default "4.2.4" if BR2_GCC_VERSION_4_2_4
+ default "4.3.1" if BR2_GCC_VERSION_4_3_1
default "4.3" if BR2_GCC_VERSION_4_3
config BR2_TOOLCHAIN_SYSROOT
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk 2008-06-19 19:05:59 UTC (rev 22452)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk 2008-06-19 19:06:04 UTC (rev 22453)
@@ -219,12 +219,22 @@
touch $@
$(GCC_BUILD_DIR1)/.compiled: $(GCC_BUILD_DIR1)/.configured
+ # gcc >= 4.3.0 have to also build all-target-libgcc
+ifeq ($(BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE),y)
+ $(MAKE) -C $(GCC_BUILD_DIR1) all-gcc all-target-libgcc
+else
$(MAKE) -C $(GCC_BUILD_DIR1) all-gcc
+endif
touch $@
gcc_initial=$(GCC_BUILD_DIR1)/.installed
$(gcc_initial) $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc: $(GCC_BUILD_DIR1)/.compiled
+ # gcc >= 4.3.0 have to also install install-target-libgcc
+ifeq ($(BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE),y)
+ PATH=$(TARGET_PATH) $(MAKE) -C $(GCC_BUILD_DIR1) install-gcc install-target-libgcc
+else
PATH=$(TARGET_PATH) $(MAKE) -C $(GCC_BUILD_DIR1) install-gcc
+endif
touch $(gcc_initial)
gcc_initial: uclibc-configured binutils $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc
^ permalink raw reply [flat|nested] 12+ messages in thread* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc: 4.3.1
2008-06-19 19:06 [Buildroot] svn commit: trunk/buildroot/toolchain/gcc: 4.3.1 jacmet at uclibc.org
@ 2008-06-20 15:50 ` Fathi Boudra
2008-06-20 15:56 ` Bernhard Fischer
0 siblings, 1 reply; 12+ messages in thread
From: Fathi Boudra @ 2008-06-20 15:50 UTC (permalink / raw)
To: buildroot
Hi
Author: jacmet
> Date: 2008-06-19 12:06:04 -0700 (Thu, 19 Jun 2008)
> New Revision: 22453
>
> Log:
> toolchain/gcc: add 4.3.1
>
> Based on Bernhards tree.
>
>
Could you add gcc-4.3.0 too ?
It seems gcc-4.3.1 cross-toolchain doesn't work on all architectures.
This is just a guess because emdebian gcc-4.3.1 toolchains are successfully
built for arm only.
It fails on powerpc, mips, etc..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080620/0591320f/attachment.htm
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc: 4.3.1
2008-06-20 15:50 ` Fathi Boudra
@ 2008-06-20 15:56 ` Bernhard Fischer
2008-06-20 16:06 ` Fathi Boudra
2008-06-20 18:24 ` Peter Korsgaard
0 siblings, 2 replies; 12+ messages in thread
From: Bernhard Fischer @ 2008-06-20 15:56 UTC (permalink / raw)
To: buildroot
On Fri, Jun 20, 2008 at 05:50:18PM +0200, Fathi Boudra wrote:
>Could you add gcc-4.3.0 too ?
>
>It seems gcc-4.3.1 cross-toolchain doesn't work on all architectures.
>This is just a guess because emdebian gcc-4.3.1 toolchains are successfully
>built for arm only.
>It fails on powerpc, mips, etc..
If there are problems then it would make more sense to fixup 4.3.1, really.
just a thought.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc: 4.3.1
2008-06-20 15:56 ` Bernhard Fischer
@ 2008-06-20 16:06 ` Fathi Boudra
2008-06-20 16:40 ` Bernhard Fischer
2008-06-20 18:32 ` Peter Korsgaard
2008-06-20 18:24 ` Peter Korsgaard
1 sibling, 2 replies; 12+ messages in thread
From: Fathi Boudra @ 2008-06-20 16:06 UTC (permalink / raw)
To: buildroot
>
> If there are problems then it would make more sense to fixup 4.3.1, really.
>
I agree but there's no clue so far:
/opt/trunk/powerpc/gcc-4.3-4.3.1-2/build/./gcc/xgcc
-B/opt/trunk/powerpc/gcc-4.3-4.3.1-2/build/./gcc/
-B/usr/powerpc-linux-gnu/bin/ -B/usr/powerpc-linux-gnu/lib/ -isystem
/usr/powerpc-linux-gnu/include -isystem
/usr/powerpc-linux-gnu/sys-include -O2 -O2 -g -g -O2 -DIN_GCC
-DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-isystem ./include -fPIC -mno-minimal-toc -g -DHAVE_GTHR_DEFAULT
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -shared
-nodefaultlibs -Wl,--soname=libgcc_s.so.1
-Wl,--version-script=libgcc.map -o 64/libgcc_s.so.1.tmp -O2 -g -g -O2
-m64 -fPIC -mstrict-align -B./ _muldi3_s.o _negdi2_s.o _lshrdi3_s.o
_ashldi3_s.o _ashrdi3_s.o _cmpdi2_s.o _ucmpdi2_s.o _clear_cache_s.o
_enable_execute_stack_s.o _trampoline_s.o __main_s.o _absvsi2_s.o
_absvdi2_s.o _addvsi3_s.o _addvdi3_s.o _subvsi3_s.o _subvdi3_s.o
_mulvsi3_s.o _mulvdi3_s.o _negvsi2_s.o _negvdi2_s.o _ctors_s.o
_ffssi2_s.o _ffsdi2_s.o _clz_s.o _clzsi2_s.o _clzdi2_s.o _ctzsi2_s.o
_ctzdi2_s.o _popcount_tab_s.o _popcountsi2_s.o _popcountdi2_s.o
_paritysi2_s.o _paritydi2_s.o _powisf2_s.o _powidf2_s.o _powixf2_s.o
_powitf2_s.o _mulsc3_s.o _muldc3_s.o _mulxc3_s.o _multc3_s.o
_divsc3_s.o _divdc3_s.o _divxc3_s.o _divtc3_s.o _bswapsi2_s.o
_bswapdi2_s.o _fixunssfsi_s.o _fixunsdfsi_s.o _fixunsxfsi_s.o
_fixsfdi_s.o _fixdfdi_s.o _fixxfdi_s.o _fixtfdi_s.o _fixunssfdi_s.o
_fixunsdfdi_s.o _fixunsxfdi_s.o _fixunstfdi_s.o _floatdisf_s.o
_floatdidf_s.o _floatdixf_s.o _floatditf_s.o _floatundisf_s.o
_floatundidf_s.o _floatundixf_s.o _floatunditf_s.o _divdi3_s.o
_moddi3_s.o _udivdi3_s.o _umoddi3_s.o _udiv_w_sdiv_s.o _udivmoddi4_s.o
darwin-ldouble_s.o ppc64-fp_s.o adddf3_s.o addsf3_s.o divdf3_s.o
divsf3_s.o eqdf2_s.o eqsf2_s.o extendsfdf2_s.o fixdfsi_s.o fixsfsi_s.o
floatsidf_s.o floatsisf_s.o floatunsidf_s.o floatunsisf_s.o gedf2_s.o
gesf2_s.o ledf2_s.o lesf2_s.o muldf3_s.o mulsf3_s.o negdf2_s.o
negsf2_s.o subdf3_s.o subsf3_s.o truncdfsf2_s.o unorddf2_s.o
unordsf2_s.o tramp_s.o unwind-dw2_s.o unwind-dw2-fde-glibc_s.o
unwind-sjlj_s.o gthr-gnat_s.o unwind-c_s.o emutls_s.o -lc && rm -f
64/libgcc_s.so && if [ -f 64/libgcc_s.so.1 ]; then mv -f
64/libgcc_s.so.1 64/libgcc_s.so.1.backup; else true; fi && mv
64/libgcc_s.so.1.tmp 64/libgcc_s.so.1 && ln -s libgcc_s.so.1
64/libgcc_s.so
/usr/powerpc-linux-gnu/bin/ld: skipping incompatible
/usr/powerpc-linux-gnu/lib/libc.so when searching for -lc
/usr/powerpc-linux-gnu/bin/ld: skipping incompatible
/usr/powerpc-linux-gnu/lib/libc.a when searching for -lc
/usr/powerpc-linux-gnu/bin/ld: skipping incompatible
/usr/powerpc-linux-gnu/bin/../../lib/libc.so when searching for -lc
/usr/powerpc-linux-gnu/bin/ld: skipping incompatible
/usr/powerpc-linux-gnu/bin/../../lib/libc.a when searching for -lc
/usr/powerpc-linux-gnu/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
btw, it's against libc and not uclibc. I tried against uclibc but I
have another build failure.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080620/e6a39ab6/attachment.htm
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc: 4.3.1
2008-06-20 16:06 ` Fathi Boudra
@ 2008-06-20 16:40 ` Bernhard Fischer
2008-06-20 18:32 ` Peter Korsgaard
1 sibling, 0 replies; 12+ messages in thread
From: Bernhard Fischer @ 2008-06-20 16:40 UTC (permalink / raw)
To: buildroot
On Fri, Jun 20, 2008 at 06:06:17PM +0200, Fathi Boudra wrote:
>>
>> If there are problems then it would make more sense to fixup 4.3.1, really.
>>
>
>I agree but there's no clue so far:
>btw, it's against libc and not uclibc.
Don't get me wrong, but i'm not interrested in glibc in this context.
> I tried against uclibc but I
>have another build failure.
That would be more interresting, yes.
What thing are you targeting? I could try a CHRP32 defconfig from the
kernel, or is there some config that would actually run on e.g. qemu?
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc: 4.3.1
2008-06-20 16:06 ` Fathi Boudra
2008-06-20 16:40 ` Bernhard Fischer
@ 2008-06-20 18:32 ` Peter Korsgaard
2008-06-20 18:50 ` Fathi Boudra
1 sibling, 1 reply; 12+ messages in thread
From: Peter Korsgaard @ 2008-06-20 18:32 UTC (permalink / raw)
To: buildroot
>>>>> "Fathi" == Fathi Boudra <fboudra@gmail.com> writes:
Fathi> /usr/powerpc-linux-gnu/bin/ld: cannot find -lc
Fathi> collect2: ld returned 1 exit status
Fathi> btw, it's against libc and not uclibc. I tried against uclibc
Fathi> but I have another build failure.
I also seem to have problems on powerpc, but haven't looked at it yet
in detail:
/home/peko/source/buildroot/toolchain_build_powerpc/gcc-4.3.1/libgcc/../libdecnumber/decExcept.c:30:18: error: fenv.h: No such file or directory
make[2]: *** [decExcept.o] Error 1
make[2]: Leaving directory `/home/peko/source/buildroot/toolchain_build_powerpc/gcc-4.3.1-initial/powerpc-linux-uclibc/libgcc'
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory
`/home/peko/source/buildroot/toolchain_build_powerpc/gcc-4.3.1-initial'
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc: 4.3.1
2008-06-20 18:32 ` Peter Korsgaard
@ 2008-06-20 18:50 ` Fathi Boudra
2008-06-20 20:13 ` Fathi Boudra
2008-06-21 12:21 ` Bernhard Fischer
0 siblings, 2 replies; 12+ messages in thread
From: Fathi Boudra @ 2008-06-20 18:50 UTC (permalink / raw)
To: buildroot
On Friday 20 June 2008 20:32:07 Peter Korsgaard wrote:
> I also seem to have problems on powerpc, but haven't looked at it yet
> in detail:
>
> /home/peko/source/buildroot/toolchain_build_powerpc/gcc-4.3.1/libgcc/../lib
>decnumber/decExcept.c:30:18: error: fenv.h: No such file or directory
> make[2]: *** [decExcept.o] Error 1
> make[2]: Leaving directory
> `/home/peko/source/buildroot/toolchain_build_powerpc/gcc-4.3.1-initial/powe
>rpc-linux-uclibc/libgcc' make[1]: *** [all-target-libgcc] Error 2
> make[1]: Leaving directory
> `/home/peko/source/buildroot/toolchain_build_powerpc/gcc-4.3.1-initial'
That's it. I retried right now and got same issue with a defconfig (except
arch + gcc switch):
ld_powerpc/gcc-4.3.1/libgcc -I/buildd/build-area/toolchain/buildroot-chrp32/toolchain_build_powerpc/gcc-4.3.1/libgcc/. -I/buildd/build-area/toolchain/buildroot-chrp32/toolchain_build_powerpc/gcc-4.3.1/libgcc/../gcc -I/buildd/build-area/toolchain/buildroot-chrp32/toolchain_build_powerpc/gcc-4.3.1/libgcc/../include -I/buildd/build-area/toolchain/buildroot-chrp32/toolchain_build_powerpc/gcc-4.3.1/libgcc/../libdecnumber/dpd -I/buildd/build-area/toolchain/buildroot-chrp32/toolchain_build_powerpc/gcc-4.3.1/libgcc/../libdecnumber -I../../libdecnumber -DHAVE_CC_TLS -o
decExcept.o-MT decExcept.o -MD -MP -MF
decExcept.dep -c /buildd/build-area/toolchain/buildroot-chrp32/toolchain_build_powerpc/gcc-4.3.1/libgcc/../libdecnumber/decExcept.c
/buildd/build-area/toolchain/buildroot-chrp32/toolchain_build_powerpc/gcc-4.3.1/libgcc/../libdecnumber/decExcept.c:30:18:
error: fenv.h: No such file or directory
make[2]: *** [decExcept.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/buildd/build-area/toolchain/buildroot-chrp32/toolchain_build_powerpc/gcc-4.3.1-initial/powerpc-linux-uclibc/libgcc'
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory
`/buildd/build-area/toolchain/buildroot-chrp32/toolchain_build_powerpc/gcc-4.3.1-initial'
make: ***
[/buildd/build-area/toolchain/buildroot-chrp32/toolchain_build_powerpc/gcc-4.3.1-initial/.compiled]
Error 2
$ find . -name fenv.h
./toolchain_build_powerpc/uClibc_dev/usr/include/bits/fenv.h
./toolchain_build_powerpc/gcc-4.3.1/libstdc++-v3/include/tr1/fenv.h
./toolchain_build_powerpc/gcc-4.3.1/libstdc++-v3/include/c_compatibility/fenv.h
./toolchain_build_powerpc/uClibc-0.9.29/libc/sysdeps/linux/mips/bits/fenv.h
./toolchain_build_powerpc/uClibc-0.9.29/libc/sysdeps/linux/ia64/bits/fenv.h
./toolchain_build_powerpc/uClibc-0.9.29/libc/sysdeps/linux/e1/bits/fenv.h
./toolchain_build_powerpc/uClibc-0.9.29/libc/sysdeps/linux/sparc/bits/fenv.h
./toolchain_build_powerpc/uClibc-0.9.29/libc/sysdeps/linux/powerpc/bits/fenv.h
./toolchain_build_powerpc/uClibc-0.9.29/libc/sysdeps/linux/powerpc/fenv.h
./toolchain_build_powerpc/uClibc-0.9.29/libc/sysdeps/linux/sh/bits/fenv.h
./toolchain_build_powerpc/uClibc-0.9.29/libc/sysdeps/linux/i386/bits/fenv.h
./toolchain_build_powerpc/uClibc-0.9.29/libc/sysdeps/linux/common/bits/fenv.h
./toolchain_build_powerpc/uClibc-0.9.29/libc/sysdeps/linux/arm/bits/fenv.h
./toolchain_build_powerpc/uClibc-0.9.29/libc/sysdeps/linux/m68k/bits/fenv.h
./toolchain_build_powerpc/uClibc-0.9.29/libc/sysdeps/linux/alpha/bits/fenv.h
./toolchain_build_powerpc/uClibc-0.9.29/libc/sysdeps/linux/hppa/bits/fenv.h
./toolchain_build_powerpc/uClibc-0.9.29/libc/sysdeps/linux/x86_64/bits/fenv.h
./toolchain_build_powerpc/uClibc-0.9.29/test/math/fenv.h
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc: 4.3.1
2008-06-20 18:50 ` Fathi Boudra
@ 2008-06-20 20:13 ` Fathi Boudra
2008-06-21 12:51 ` Bernhard Fischer
2008-06-21 12:21 ` Bernhard Fischer
1 sibling, 1 reply; 12+ messages in thread
From: Fathi Boudra @ 2008-06-20 20:13 UTC (permalink / raw)
To: buildroot
using --disable-decimal-float workaround the issue.
uclibc fails to build later:
CC libc/sysdeps/linux/common/chdir.os
In file included from ./include/sys/param.h:22,
from libc/sysdeps/linux/common/chdir.c:13:
./include/limits.h:124:26: error: limits.h: No such file or directory
make[2]: *** [libc/sysdeps/linux/common/chdir.os] Error 1
make[1]: *** [lib/libc.so.0] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080620/a968e758/attachment.htm
^ permalink raw reply [flat|nested] 12+ messages in thread* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc: 4.3.1
2008-06-20 20:13 ` Fathi Boudra
@ 2008-06-21 12:51 ` Bernhard Fischer
2008-06-25 19:22 ` Fathi Boudra
0 siblings, 1 reply; 12+ messages in thread
From: Bernhard Fischer @ 2008-06-21 12:51 UTC (permalink / raw)
To: buildroot
On Fri, Jun 20, 2008 at 10:13:39PM +0200, Fathi Boudra wrote:
>using --disable-decimal-float workaround the issue.
exactly. I've added a knob behind the scenes that takes care of it. I'll
commit it sometimes next week.
>
>uclibc fails to build later:
>
> CC libc/sysdeps/linux/common/chdir.os
>In file included from ./include/sys/param.h:22,
> from libc/sysdeps/linux/common/chdir.c:13:
>./include/limits.h:124:26: error: limits.h: No such file or directory
I'm not sure why you see this (works for me). Please show me your
$ egrep -v "(^#|^$)" .config
from buildroot
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc: 4.3.1
2008-06-20 18:50 ` Fathi Boudra
2008-06-20 20:13 ` Fathi Boudra
@ 2008-06-21 12:21 ` Bernhard Fischer
1 sibling, 0 replies; 12+ messages in thread
From: Bernhard Fischer @ 2008-06-21 12:21 UTC (permalink / raw)
To: buildroot
On Fri, Jun 20, 2008 at 08:50:31PM +0200, Fathi Boudra wrote:
>On Friday 20 June 2008 20:32:07 Peter Korsgaard wrote:
>
>> I also seem to have problems on powerpc, but haven't looked at it yet
>> in detail:
>>
>> /home/peko/source/buildroot/toolchain_build_powerpc/gcc-4.3.1/libgcc/../lib
>>decnumber/decExcept.c:30:18: error: fenv.h: No such file or directory
>> make[2]: *** [decExcept.o] Error 1
>> make[2]: Leaving directory
>> `/home/peko/source/buildroot/toolchain_build_powerpc/gcc-4.3.1-initial/powe
>>rpc-linux-uclibc/libgcc' make[1]: *** [all-target-libgcc] Error 2
>> make[1]: Leaving directory
>> `/home/peko/source/buildroot/toolchain_build_powerpc/gcc-4.3.1-initial'
>
>That's it. I retried right now and got same issue with a defconfig (except
>arch + gcc switch):
>
>ld_powerpc/gcc-4.3.1/libgcc -I/buildd/build-area/toolchain/buildroot-chrp32/toolchain_build_powerpc/gcc-4.3.1/libgcc/. -I/buildd/build-area/toolchain/buildroot-chrp32/toolchain_build_powerpc/gcc-4.3.1/libgcc/../gcc -I/buildd/build-area/toolchain/buildroot-chrp32/toolchain_build_powerpc/gcc-4.3.1/libgcc/../include -I/buildd/build-area/toolchain/buildroot-chrp32/toolchain_build_powerpc/gcc-4.3.1/libgcc/../libdecnumber/dpd -I/buildd/build-area/toolchain/buildroot-chrp32/toolchain_build_powerpc/gcc-4.3.1/libgcc/../libdecnumber -I../../libdecnumber -DHAVE_CC_TLS -o
>decExcept.o-MT decExcept.o -MD -MP -MF
>decExcept.dep -c /buildd/build-area/toolchain/buildroot-chrp32/toolchain_build_powerpc/gcc-4.3.1/libgcc/../libdecnumber/decExcept.c
>/buildd/build-area/toolchain/buildroot-chrp32/toolchain_build_powerpc/gcc-4.3.1/libgcc/../libdecnumber/decExcept.c:30:18:
>error: fenv.h: No such file or directory
so why don't you just disable it?
I've only added fexcept*() for my personal use on i386, no other arch
has it, currently. This is expected behaviour.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc: 4.3.1
2008-06-20 15:56 ` Bernhard Fischer
2008-06-20 16:06 ` Fathi Boudra
@ 2008-06-20 18:24 ` Peter Korsgaard
1 sibling, 0 replies; 12+ messages in thread
From: Peter Korsgaard @ 2008-06-20 18:24 UTC (permalink / raw)
To: buildroot
>>>>> "Bernhard" == Bernhard Fischer <rep.dot.nop@gmail.com> writes:
Bernhard> On Fri, Jun 20, 2008 at 05:50:18PM +0200, Fathi Boudra wrote:
>> Could you add gcc-4.3.0 too ?
>>
>> It seems gcc-4.3.1 cross-toolchain doesn't work on all architectures.
>> This is just a guess because emdebian gcc-4.3.1 toolchains are successfully
>> built for arm only.
>> It fails on powerpc, mips, etc..
Bernhard> If there are problems then it would make more sense to
Bernhard> fixup 4.3.1, really.
Me too. I like to keep the number of package versions to support (not
just gcc) to a minimum. It's hard enough to test the packages we have,
without multiplying the number of combinations with X versions.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2008-06-25 19:22 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-19 19:06 [Buildroot] svn commit: trunk/buildroot/toolchain/gcc: 4.3.1 jacmet at uclibc.org
2008-06-20 15:50 ` Fathi Boudra
2008-06-20 15:56 ` Bernhard Fischer
2008-06-20 16:06 ` Fathi Boudra
2008-06-20 16:40 ` Bernhard Fischer
2008-06-20 18:32 ` Peter Korsgaard
2008-06-20 18:50 ` Fathi Boudra
2008-06-20 20:13 ` Fathi Boudra
2008-06-21 12:51 ` Bernhard Fischer
2008-06-25 19:22 ` Fathi Boudra
2008-06-21 12:21 ` Bernhard Fischer
2008-06-20 18:24 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox