[EMAIL PROTECTED] a écrit :
On Tue, Jun 12, 2007 at 10:48:06AM +0200, [EMAIL PROTECTED] wrote:
The gcc-4.1 4.1.2-8 builds the package ok.
The gcc-4.1 4.1.2-11 is ko.
Seb
Problem logged on debian bug #428509.
Seb
___
parisc-linux mailing list
[EMAIL PROTECTED]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
Here is the reduced diff. I removed anything that is unrelated to hppa,
C or anything.
The diff is between -7 and -12.
The diff is mere 300 lines long.
The problem lies here.
diff -r -u -b -B -w gcc-4.1-4.1.2-7/src/configure gcc-4.1-4.1.2-12/src/configure
--- gcc-4.1-4.1.2-7/src/configure 2007-06-12 22:08:36.0 +0200
+++ gcc-4.1-4.1.2-12/src/configure 2006-11-21 18:48:36.0 +0100
@@ -16,8 +16,6 @@
ac_help=$ac_help
--enable-libsspBuilds libssp directory
ac_help=$ac_help
- --enable-libffiBuilds libffi directory
-ac_help=$ac_help
--with-mpfr-dir=PATHSpecify source directory for MPFR library
ac_help=$ac_help
--with-mpfr=PATHSpecify directory for installed MPFR library
@@ -1109,20 +1107,6 @@
noconfigdirs=$noconfigdirs target-libssp
fi
-# Check whether --enable-libffi or --disable-libffi was given.
-if test ${enable_libffi+set} = set; then
- enableval=$enable_libffi
- ENABLE_LIBFFI=$enableval
-else
- ENABLE_LIBFFI=yes
-fi
-
-if test ${ENABLE_LIBFFI} != yes ; then
- noconfigdirs=$noconfigdirs target-libffi
-else
- libgcj=`echo $libgcj | sed 's/target-libffi *//'`
-fi
-
# Save it here so that, even in case of --enable-libgcj, if the Java
# front-end isn't enabled, we still get libgcj disabled.
libgcj_saved=$libgcj
diff -r -u -b -B -w gcc-4.1-4.1.2-7/src/configure.in
gcc-4.1-4.1.2-12/src/configure.in
--- gcc-4.1-4.1.2-7/src/configure.in2007-06-12 22:08:36.0 +0200
+++ gcc-4.1-4.1.2-12/src/configure.in 2006-11-21 18:48:36.0 +0100
@@ -315,16 +315,6 @@
noconfigdirs=$noconfigdirs target-libssp
fi
-AC_ARG_ENABLE(libffi,
-[ --enable-libffiBuilds libffi directory],
-ENABLE_LIBFFI=$enableval,
-ENABLE_LIBFFI=yes)
-if test ${ENABLE_LIBFFI} != yes ; then
- noconfigdirs=$noconfigdirs target-libffi
-else
- libgcj=`echo $libgcj | sed 's/target-libffi *//'`
-fi
-
# Save it here so that, even in case of --enable-libgcj, if the Java
# front-end isn't enabled, we still get libgcj disabled.
libgcj_saved=$libgcj
diff -r -u -b -B -w gcc-4.1-4.1.2-7/src/gcc/cgraphunit.c
gcc-4.1-4.1.2-12/src/gcc/cgraphunit.c
--- gcc-4.1-4.1.2-7/src/gcc/cgraphunit.c2007-01-05 20:44:10.0
+0100
+++ gcc-4.1-4.1.2-12/src/gcc/cgraphunit.c 2007-06-12 22:13:19.0
+0200
@@ -1330,8 +1330,6 @@
return;
}
- process_pending_assemble_externals ();
-
/* Frontend may output common variables after the unit has been finalized.
It is safe to deal with them here as they are always zero initialized. */
cgraph_varpool_analyze_pending_decls ();
diff -r -u -b -B -w gcc-4.1-4.1.2-7/src/gcc/combine.c
gcc-4.1-4.1.2-12/src/gcc/combine.c
--- gcc-4.1-4.1.2-7/src/gcc/combine.c 2007-01-21 23:34:57.0 +0100
+++ gcc-4.1-4.1.2-12/src/gcc/combine.c 2007-06-12 22:12:56.0 +0200
@@ -5443,11 +5443,11 @@
SUBST(SET_SRC (x), op0);
src = SET_SRC (x);
}
- else
- {
/* Otherwise, update the COMPARE if needed. */
- SUBST (XEXP (src, 0), op0);
- SUBST (XEXP (src, 1), op1);
+ else if (XEXP (src, 0) != op0 || XEXP (src, 1) != op1)
+ {
+ SUBST (SET_SRC (x), gen_rtx_COMPARE (compare_mode, op0, op1));
+ src = SET_SRC (x);
}
}
else
--- gcc-4.1-4.1.2-7/src/gcc/config/elfos.h 2006-08-01 00:08:47.0
+0200
+++ gcc-4.1-4.1.2-12/src/gcc/config/elfos.h 2007-06-12 22:13:19.0
+0200
@@ -494,3 +494,13 @@
fprintf ((FILE), \\n); \
} \
while (0)
+
+/* A C statement (sans semicolon) to output to the stdio stream STREAM
+ any text necessary for declaring the name of an external symbol
+ named NAME whch is referenced in this compilation but not defined.
+ It is needed to properly support non-default visibility. */
+
+#ifndef ASM_OUTPUT_EXTERNAL
+#define ASM_OUTPUT_EXTERNAL(FILE, DECL, NAME) \
+ default_elf_asm_output_external (FILE, DECL, NAME)
+#endif
diff -r -u -b -B -w gcc-4.1-4.1.2-7/src/gcc/config/t-libc-ok
gcc-4.1-4.1.2-12/src/gcc/config/t-libc-ok
--- gcc-4.1-4.1.2-7/src/gcc/config/t-libc-ok2002-11-26 23:47:18.0
+0100
+++ gcc-4.1-4.1.2-12/src/gcc/config/t-libc-ok 2007-06-12 22:13:19.0
+0200
@@ -1 +1 @@
-CRTSTUFF_T_CFLAGS_S=-fPIC
+CRTSTUFF_T_CFLAGS_S = $(CRTSTUFF_T_CFLAGS) -fPIC
diff -r -u -b -B -w gcc-4.1-4.1.2-7/src/gcc/config/t-netbsd
gcc-4.1-4.1.2-12/src/gcc/config/t-netbsd
--- gcc-4.1-4.1.2-7/src/gcc/config/t-netbsd 2003-09-23 20:56:00.0