Bug#446714: gcc-4.3: Fails to build a program which builds fine with gcc-4.1
Package: gcc-4.3
Version: 4.3-20070902-1
Severity: normal
Dear Debian GCC team,
I am preparing a package for DiAlign-T, a bioinformatic software.
(http://bugs.debian.org/445983). I manage to build it with gcc-4.1, but
not gcc-4.3 neither gcc-4.2. Here is the output of the compilation:
chouca〔source〕$ make CC=gcc-4.3 CFLAGS='-Wall -g -O2' CPPFLAGS=''
gcc-4.3 -Wall -g -O2 -c -o museq.o museq.c
museq.c: In function ‘main’:
museq.c:80: warning: ‘pdist’ may be used uninitialized in this function
museq.c:79: warning: ‘in_seq_col’ may be used uninitialized in this function
gcc-4.3 -Wall -g -O2 -c -o parameters.o parameters.c
gcc-4.3 -Wall -g -O2 -c -o io.o io.c
io.c: In function ‘read_fasta’:
io.c:407: warning: ‘data_maxlen’ may be used uninitialized in this function
io.c:406: warning: ‘slen’ may be used uninitialized in this function
io.c:405: warning: ‘data’ may be used uninitialized in this function
io.c:392: warning: ‘seq’ may be used uninitialized in this function
gcc-4.3 -Wall -g -O2 -c -o diag.o diag.c
diag.c: In function ‘find_diags_dyn’:
diag.c:850: warning: ‘ap’ may be used uninitialized in this function
diag.c: In function ‘find_diags_dialign’:
diag.c:423: warning: ‘ap’ may be used uninitialized in this function
gcc-4.3 -Wall -g -O2 -c -o alig.o alig.c
alig.c: In function ‘prepare_alignment’:
alig.c:637: warning: ‘max’ may be used uninitialized in this function
alig.c: In function ‘adapt_diag’:
alig.c:225: warning: ‘succF’ may be used uninitialized in this function
alig.c:225: warning: ‘predF’ may be used uninitialized in this function
alig.c: In function ‘simple_aligner’:
alig.c:806: warning: ‘tclock’ may be used uninitialized in this function
gcc-4.3 -Wall -g -O2 -c -o prob.o prob.c
prob.c: In function ‘calc_score_dist’:
prob.c:157: warning: ‘sq1’ is used uninitialized in this function
prob.c:158: warning: ‘sq2’ is used uninitialized in this function
prob.c:248: internal compiler error: in assign_386_stack_local, at
config/i386/i386.c:15706
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.3/README.Bugs>.
make: *** [prob.o] Erreur 1
Interestingly, this bug seems to be arch-specific: I managed to build
dialign-t with gcc-4.2 on a powerpc system.
I do not know enough of C to say anything more... but if you want me to
submit upstream and forward you the bug number I will do it.
Have a nice day,
-- Charles Plessy, Wako, Saitama, Japan
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.21-2-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages gcc-4.3 depends on:
ii binutils 2.18~cvs20070812-1 The GNU assembler, linker and bina
ii cpp-4.3 4.3-20070902-1 The GNU C preprocessor
ii gcc-4.3-base 4.3-20070902-1 The GNU Compiler Collection (base
ii libc6 2.6.1-1+b1 GNU C Library: Shared libraries
ii libgcc1 1:4.3-20070902-1 GCC support library
ii libgmp3c2 2:4.2.1+dfsg-5 Multiprecision arithmetic library
ii libgomp1 4.3-20070902-1 GCC OpenMP (GOMP) support library
ii libmpfr1ldbl 2.3.0~rc1.dfsg.1-2 multiple precision floating-point
Versions of packages gcc-4.3 recommends:
ii libc6-dev 2.6.1-1+b1 GNU C Library: Development Librari
ii libmudflap0-4.3-dev 4.3-20070902-1 GCC mudflap support libraries (dev
-- no debconf information
Reply to: