Re: gcc-2.97 and bzip2
Laurent Bonnaud <Laurent.Bonnaud@inpg.fr> writes:
> 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
As far as I know, gcc-2.97 is not released, and is not even in
beta. It's not part of Debian either (although a gcc-ss-2.97 is in
experimental).
I would suggest you talk to the gcc guys on the gcc@gcc.gnu.org
mailing list.
Phil.
Reply to: