Problems with egcs-2.91.16 980328
Markus Kossmann
markus.kossmann@inka.de
Wed Apr 1 23:39:00 GMT 1998
1st problem egcs-980321-980328.diff.gz throws two rejects, if I try to
apply it to clean egcs-980321 ( made by unpacking full egcs-980205
sources and applying all previous patches without rejects) :
patching file `.brik'
Hunk #68 FAILED at 5296.
1 out of 68 hunks FAILED -- saving rejects to .brik.rej
patching file `ChangeLog'
patching file `config.sub'
[...]
patching file `texinfo/util/texi2dvi'
Hunk #16 FAILED at 327.
1 out of 16 hunks FAILED -- saving rejects to texinfo/util/texi2dvi.rej
patching file `texinfo/util/texindex.c'
patching file `texinfo/util/update-info'
I Iam attaching the rejects.
2nd problem .980328 dumps core on the linux aic7xxx 5.0.8 driver. :
gcc -D__KERNEL__ -I/usr/src/linux-2.1.92-pre-2-aic/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe
-fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2
-malign-functions=2 -DCPU=686 -D__SMP__ -c -o aic7xxx.o aic7xxx.c
/usr/src/linux-2.1.92-pre-2-aic/include/asm/string.h: In function
`__constant_memcpy':
In file included from
/usr/src/linux-2.1.92-pre-2-aic/include/linux/string.h:39,
from
/usr/src/linux-2.1.92-pre-2-aic/include/linux/signal.h:64,
from
/usr/src/linux-2.1.92-pre-2-aic/include/linux/sched.h:22,
from
/usr/src/linux-2.1.92-pre-2-aic/include/linux/vmalloc.h:4,
from
/usr/src/linux-2.1.92-pre-2-aic/include/asm/io.h:101,
from aic7xxx.c:171:
/usr/src/linux-2.1.92-pre-2-aic/include/asm/string.h:448: warning:
control reaches end of non-void function
/usr/src/linux-2.1.92-pre-2-aic/include/asm/string.h: In function
`__constant_c_and_count_memset':
/usr/src/linux-2.1.92-pre-2-aic/include/asm/string.h:599: warning:
control reaches end of non-void function
aic7xxx.c: In function `aic7xxx_device_queue_depth':
aic7xxx.c:5031: warning: type defaults to `int' in declaration of
`print_warning'
cpp: output pipe has been closed
gcc: Internal compiler error: program cc1 got fatal signal 6
No problems with 980321 and older versions on that file . I can provide
the preprocessed sources of that driver if someone is interested ( IMHO
to big for the mailing list) . A backtrace on the
generated core shows the following :
[...]
Core was generated by
`/usr/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.16/cc1 aic7xxx.i
-quiet -O -v'.
Program terminated with signal 6, IOT trap/Abort.
Reading symbols from /lib/libc.so.5...done.
Reading symbols from /lib/ld-linux.so.1...done.
#0 0x40073a89 in __kill ()
(gdb) backtrace
#0 0x40073a89 in __kill ()
#1 0x400428c9 in raise (sig=139507136)
#2 0x814f2b1 in reload_cse_regs ()
#3 0x806e172 in rest_of_compilation ()
#4 0x8057bd6 in finish_function ()
#5 0x8049f3f in yyparse ()
#6 0x806b0b1 in compile_file ()
#7 0x806f92e in main ()
#8 0x804911e in _start ()
(gdb)
Iôve noticed the problems to compile regex.c ( here the regex.c of
mc-4.1.28) , too. The backtrace of the core dump looks quite equal
This GDB was configured as "i686-pc-linux-gnulibc1"...
Core was generated by
`/usr/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.16/cc1 regex.i -quiet
-dumpba'.
Program terminated with signal 6, IOT trap/Abort.
Reading symbols from /lib/libc.so.5...done.
Reading symbols from /lib/ld-linux.so.1...done.
#0 0x40073a89 in __kill ()
(gdb) where
#0 0x40073a89 in __kill ()
#1 0x400428c9 in raise (sig=137375764)
#2 0x814f2b1 in reload_cse_regs ()
#3 0x806e172 in rest_of_compilation ()
#4 0x8057bd6 in finish_function ()
#5 0x8049f3f in yyparse ()
#6 0x806b0b1 in compile_file ()
#7 0x806f92e in main ()
#8 0x804911e in _start ()
PS: There is also the already reported problem with texinfo.
--
------------------------------------------------------------------------------
Markus <markus.kossmann@inka.de> (Markus Kossmann)
***************
*** 308,370 ****
# If index files have changed since TeX has been run, or if the aux
# file wasn't present originally, run texindex and TeX again.
! if test "${index_files_changed_p}" ; then :; else
# Nothing changed. We're done with TeX.
break
fi
done
# Generate list of files to delete, then call rm once with the entire
# list. This is significantly faster than multiple executions of rm.
file_list=
! for file in ${orig_index_files} ; do
file_list="${file_list} ${file}${backup_extension}"
done
! if test -n "${file_list}" ; then
! $verbose "Removing $file_list $tmp_dir $tmp_dir.2 ..."
rm -f ${file_list}
! rm -rf $tmp_dir $tmp_dir.2
fi
done
$verbose "$0 done."
true # exit successfully.
-
- # texi2dvi ends here
- # $Log: texi2dvi,v $
- # Revision 1.1.1.1 1997/08/21 22:58:13 jason
- # devo-support and libstc++
- #
- # Revision 1.1 1997/08/21 22:58:13 jason
- # Initial revision
- #
- # Revision 1.10 1996/10/04 18:21:55 karl
- # Include only the current year in the copyright message.
- #
- # Revision 1.9 1996/10/04 11:49:48 karl
- # Exit successfully. From arnold.
- #
- # Revision 1.8 1996/10/03 23:14:26 karl
- # Only show diff if verbose.
- # Update version number.
- #
- # Revision 1.7 1996/09/29 22:56:08 karl
- # Use $progname instead of $0 for --version.
- #
- # Revision 1.6 1996/09/28 21:01:23 karl
- # Recompute original index files each time through loop.
- # Make indentation uniform.
- # Use same basename for the temp input files.
- # Standardize --version output.
- #
- # Revision 1.5 1996/09/26 14:46:34 karl
- # (texi2dvi): Run TeX until the aux/index files stabilize, instead of just
- # twice. From: David Shaw <daves@gsms01.alcatel.com.au>.
- #
- # Revision 1.4 1996/08/27 18:59:26 karl
- # Include bug reporting address.
- #
- # Revision 1.3 1996/07/26 18:20:56 karl
- # Do macro expansion with makeinfo before running TeX.
- # Various expansion safety measures added for test; avoid use of -o.
- #
--- 327,362 ----
# If index files have changed since TeX has been run, or if the aux
# file wasn't present originally, run texindex and TeX again.
! if test "${index_files_changed_p}"; then :; else
# Nothing changed. We're done with TeX.
break
fi
done
+ # If we were in clean mode, compilation was in a tmp directory.
+ # Copy the DVI file into the directory where the compilation
+ # has been done. (The temp dir is about to get removed anyway.)
+ # We also return to the original directory so that
+ # - the next file is processed in correct conditions
+ # - the temporary file can be removed
+ if test -n "$clean"; then
+ $verbose "Copying DVI file from `pwd` to $orig_pwd"
+ cp -p $filename_noext.dvi $orig_pwd
+ cd $orig_pwd || exit 1
+ fi
+
# Generate list of files to delete, then call rm once with the entire
# list. This is significantly faster than multiple executions of rm.
file_list=
! for file in ${orig_index_files}; do
file_list="${file_list} ${file}${backup_extension}"
done
! if test -n "${file_list}"; then
! $verbose "Removing $file_list $tmp_dir $tmp_dir2 ..."
rm -f ${file_list}
! rm -rf $tmp_dir $tmp_dir2
fi
done
$verbose "$0 done."
true # exit successfully.
More information about the Gcc-bugs
mailing list