s390-loop.dpatch added to CVS
Hi, I have added the patch to our CVS. It fixes a runtime problem on s390. The fix will hopefully be applied upstream fixed within the next days. Gerhard
Bug#164554: gcc-3.2: volatile not respected on alpha
Package: gcc-3.2 Version: 1:3.2.1-0pre2 Severity: normal The following program produces output where the assignment to j occurs before the i has been incremented. This breaks any program using such constructs to ensure consistency: volatile int i; int j; void a() { i++; j = 6; i--; } .prologue 1 ldq $3,i($29) !literal lda $4,6($31) ldq $1,j($29) !literal ldl $2,0($3) stl $4,0($1) lda $2,1($2) stl $2,0($3) -- System Information Debian Release: testing/unstable Kernel Version: Linux gondolin 2.4.18-686-smp #1 SMP Sun Apr 14 12:07:19 EST 2002 i686 unknown unknown GNU/Linux Versions of the packages gcc-3.2 depends on: ii binutils 2.13.90.0.4-1 The GNU assembler, linker and binary utiliti ii cpp-3.23.2.1-0pre2The GNU C preprocessor. ii gcc-3.2-base 3.2.1-0pre2The GNU Compiler Collection (base package). ii libc6 2.2.5-14.3 GNU C Library: Shared libraries and Timezone ii libgcc13.2.1-0pre2GCC support library.
Bug#164582: error when building crosscompiler
Package: gcc-2.95 Version: 1:2.95.4-11 i tried to build an crosscompiler for building sparc binaries on an debian i686 system. i took the gcc-2.95-2.95.4.ds14 source package and read README.cross. I did everything as it was written there. The sparc architecture isn't mentioned, but i found the binutils-sparc package, so i think that this should work too. when calling 'dpkg-buildpackage', i get the following error (after some minutes): make[4]: Entering directory `/usr/sparc/gcc-2.95-2.95.4.ds14/build-native/i386-linux/libg++/utils' make[4]: Nothing to be done for `info'. make[4]: Leaving directory `/usr/sparc/gcc-2.95-2.95.4.ds14/build-native/i386-linux/libg++/utils' cd etc; make info ... make[4]: Entering directory `/usr/sparc/gcc-2.95-2.95.4.ds14/build-native/i386-linux/libg++/etc' make[4]: Nothing to be done for `info'. make[4]: Leaving directory `/usr/sparc/gcc-2.95-2.95.4.ds14/build-native/i386-linux/libg++/etc' cd test-install; make info ... make[4]: Entering directory `/usr/sparc/gcc-2.95-2.95.4.ds14/build-native/i386-linux/libg++/test-install' make[4]: Nothing to be done for `info'. make[4]: Leaving directory `/usr/sparc/gcc-2.95-2.95.4.ds14/build-native/i386-linux/libg++/test-install' make[3]: Leaving directory `/usr/sparc/gcc-2.95-2.95.4.ds14/build-native/i386-linux/libg++' make[2]: Leaving directory `/usr/sparc/gcc-2.95-2.95.4.ds14/build-native/i386-linux/libg++' chmod 755 /usr/sparc/gcc-2.95-2.95.4.ds14/src-native/contrib/warn_summary if [ -x /usr/sparc/gcc-2.95-2.95.4.ds14/src-native/contrib/warn_summary ]; then \ rm -f bootstrap-summary; \ /usr/sparc/gcc-2.95-2.95.4.ds14/src-native/contrib/warn_summary bootstrap-protocol \ > bootstrap-summary; \ fi : # build libg2c.a with PIC enabled rm -rf /usr/sparc/gcc-2.95-2.95.4.ds14/build-native/i386-linux/libf2c-pic cp -a /usr/sparc/gcc-2.95-2.95.4.ds14/build-native/i386-linux/libf2c \ /usr/sparc/gcc-2.95-2.95.4.ds14/build-native/i386-linux/libf2c-pic cp: cannot stat `/usr/sparc/gcc-2.95-2.95.4.ds14/build-native/i386-linux/libf2c': No such file or directory make[1]: *** [stamps/05-build-stamp-native] Error 1 make[1]: Leaving directory `/usr/sparc/gcc-2.95-2.95.4.ds14' make: *** [stamps/05-build-stamp-native] Error 2 i'm not sure if this is an bug, i already wrote to debian-gcc@lists.debian.org, but i didn't get an answer. i would be glad if you could help me fixing this problem. i want to cross compile the kernel (linux), because my sparc station ultra1 is very slow. thanks, moritz --
Bug#164588: gcc-3.2: -march=athlon or -march=pentium2 with -O2 incorrectly mix MMX with FPU
Package: gcc-3.2 Version: 1:3.2.1-0pre2 Severity: normal I tracked down this problem in the DRI CVS source tree. When compiling with -O2 -march=athlon or -O2 -march=pentium2 the generated code incorrectly mixes MMX and FPU instructions. I generated a stripped down preprocessed file and added a small main function and 2 printfs to demonstrate the problem. I will submit it as attachment with a follow-up mail. This is the exact compiler command line: gcc-3.2 -Wall -O2 -march=athlon -o radeon_state2 radeon_state2.i The programme is compiled correctly with: gcc-3.2 -Wall -O2 -mcpu=athlon -o radeon_state2 radeon_state2.i or gcc-3.2 -Wall -O2 -march=athlon -mno-mmx -mno-3dnow -o radeon_state2 radeon_state2.i The incorrect version produces this output Inside if: 133 != nan || 589 != nan and a sigsegv since I didn't fake things up enough in the main function ;-) The correct version produces this output: Outside if: 133 != 133.00 || 589 != 589.00 -- System Information Debian Release: testing/unstable Architecture: i386 Kernel: Linux viking 2.4.19 #6 Fre Sep 27 23:46:47 CEST 2002 i686 Locale: LANG=de_DE.ISO-8859-1, LC_CTYPE=de_DE.ISO-8859-1 Versions of packages gcc-3.2 depends on: ii binutils 2.13.90.0.4-1 The GNU assembler, linker and bina ii cpp-3.21:3.2.1-0pre2 The GNU C preprocessor. ii gcc-3.2-base 1:3.2.1-0pre2 The GNU Compiler Collection (base ii libc6 2.2.5-14.3GNU C Library: Shared libraries an ii libgcc11:3.2.1-0pre2 GCC support library.