[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

gcc-2.97 and bzip2



Hi,

I tried to compile bzip2 with gcc-2.97 and a test fails:

$ fakeroot apt-get -b source bzip2
[...]
Doing 6 tests (3 compress, 3 uncompress) ...
If there's a problem, things might stop at this point.
 
LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH \
./bzip2 -1  < sample1.ref > sample1.rb2
LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH \
./bzip2 -2  < sample2.ref > sample2.rb2
LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH \
./bzip2 -3  < sample3.ref > sample3.rb2

bzip2: Caught a SIGSEGV or SIGBUS whilst compressing.

   Possible causes are (most likely first):
   (1) This computer has unreliable memory or cache hardware
       (a surprisingly common problem; try a different machine.)
   (2) A bug in the compiler used to create this executable
       (unlikely, if you didn't compile bzip2 yourself.)
   (3) A real bug in bzip2 -- I hope this should never be the case.
   The user's manual, Section 4.3, has more info on (1) and (2).
   
   If you suspect this is a bug in bzip2, or are unsure about (1)
   or (2), feel free to report it to me at: jseward@acm.org.
   Section 4.3 of the user's manual describes the info a useful
   bug report should have.  If the manual is available on your
   system, please try and read it before mailing me.  If you don't
   have the manual or can't be bothered to read it, mail me anyway.

        Input file = (stdin), output file = (stdout)
make[1]: *** [test] Error 3
make[1]: Leaving directory `/tmp/LB/bzip2-1.0.1'
make: *** [build-stamp] Error 2
Build command 'cd bzip2-1.0.1 && dpkg-buildpackage -b -uc' failed.
E: Child process failed

-- 
Laurent.

Package: g++-2.97
Version: 1:2.97-010121

-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux irancy 2.4.0 #1 Tue Jan 9 12:54:50 CET 2001 i686

Versions of packages g++-2.97 depends on:
ii  gcc-2.97                   1:2.97-010117 The GNU C compiler.               
ii  gcc-2.97-base              1:2.97-010117 The GNU compiler collection (base 
ii  libc6                      2.2.1-1       GNU C Library: Shared libraries an
ii  libstdc++2.97-dev          1:2.97-010121 The GNU stdc++ library version 3 (



Reply to: