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

Bug#419434: marked as done ([Falk Hueffner] tetexlive-bin FTBFS on Alpha due to gcc PR28623)



Your message dated Tue, 17 Apr 2007 18:02:25 +0000
with message-id <E1Hds0X-0001OK-LU@ries.debian.org>
and subject line Bug#419434: fixed in texlive-bin 2007-4
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: texlive-bin
Version: 2007-3
Severity: Serious

--- Begin Message ---
Hi,

tetexlive-bin fails to build on Alpha:

[...]
gcc -DHAVE_CONFIG_H  -I. -I../../../../texk/web2c/pdftexdir -I.. -I../../../../texk/web2c/pdftexdir/../..  -I.. -I../../../../texk/web2c/pdftexdir/.. -I../.. -I../../../../texk/web2c/pdftexdir/../.. -I../../../libs/md5 -I../../../../texk/web2c/pdftexdir/../../../libs/md5 -I../../../libs/xpdf -I../../../libs/xpdf/.. -I../../../../texk/web2c/pdftexdir/../../../libs/xpdf -I../../../../texk/web2c/pdftexdir/../../../libs/xpdf/.. -I../../../libs/obsdcompat -I../../../libs/obsdcompat/.. -I../../../../texk/web2c/pdftexdir/../../../libs/obsdcompat -I../../../../texk/web2c/pdftexdir/../../../libs/obsdcompat/.. -DpdfTeX -g -O2  -c ../../../../texk/web2c/pdftexdir/writezip.c -o writezip.o
../../../../texk/web2c/pdftexdir/writezip.c: In function 'writezip':
../../../../texk/web2c/pdftexdir/writezip.c:75: error: unrecognizable insn:
(insn 139 138 140 9 ../../../../texk/web2c/pdftexdir/writezip.c:54 (set (reg:DI 141)
        (plus:DI (reg/f:DI 138)
            (const_int 32768 [0x8000]))) -1 (nil)
    (nil))
../../../../texk/web2c/pdftexdir/writezip.c:75: internal compiler error: in extract_insn, at recog.c:2084
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
Preprocessed source stored into /tmp/ccKHjfIv.out file, please attach this to your bugreport.
make[4]: *** [writezip.o] Error 1
make[4]: Leaving directory `/build/buildd/texlive-bin-2007/build/source/Work/texk/web2c/pdftexdir'

(log at
http://buildd.debian.org/fetch.cgi?pkg=texlive-bin&arch=alpha&ver=2007-3&stamp=1176603526)

The reason is an obscure bug in gcc that only triggers when accessing
exactly the 32767th element of a character array. Since I don't know
how fix it in gcc and nobody else seems to be working on that, I
suggest you apply the following workaround:

--- writezip.c~	2007-04-15 14:12:19.000000000 +0200
+++ writezip.c	2007-04-15 14:12:39.000000000 +0200
@@ -51,7 +51,15 @@
     for (;;) {
         if (c_stream.avail_out == 0) {
             pdfgone += xfwrite(zipbuf, 1, ZIP_BUF_SIZE, pdffile);
+#ifdef __alpha__
+	    /* work around http://gcc.gnu.org/PR28623 */
+	    {
+		volatile int o = ZIP_BUF_SIZE - 1;
+                pdflastbyte = zipbuf[o];
+	    }
+#else
             pdflastbyte = zipbuf[ZIP_BUF_SIZE - 1];     /* not needed */
+#endif
             c_stream.next_out = (Bytef *) zipbuf;
             c_stream.avail_out = ZIP_BUF_SIZE;
         }

-- 
	Falk


-- 
To UNSUBSCRIBE, email to debian-tex-maint-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



--- End Message ---

-- 
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)

--- End Message ---
--- Begin Message ---
Source: texlive-bin
Source-Version: 2007-4

We believe that the bug you reported is fixed in the latest version of
texlive-bin, which is due to be installed in the Debian FTP archive:

texlive-base-bin_2007-4_i386.deb
  to pool/main/t/texlive-bin/texlive-base-bin_2007-4_i386.deb
texlive-bin_2007-4.diff.gz
  to pool/main/t/texlive-bin/texlive-bin_2007-4.diff.gz
texlive-bin_2007-4.dsc
  to pool/main/t/texlive-bin/texlive-bin_2007-4.dsc
texlive-extra-utils_2007-4_i386.deb
  to pool/main/t/texlive-bin/texlive-extra-utils_2007-4_i386.deb
texlive-font-utils_2007-4_i386.deb
  to pool/main/t/texlive-bin/texlive-font-utils_2007-4_i386.deb
texlive-lang-indic_2007-4_i386.deb
  to pool/main/t/texlive-bin/texlive-lang-indic_2007-4_i386.deb
texlive-metapost_2007-4_i386.deb
  to pool/main/t/texlive-bin/texlive-metapost_2007-4_i386.deb
texlive-music_2007-4_i386.deb
  to pool/main/t/texlive-bin/texlive-music_2007-4_i386.deb
texlive-omega_2007-4_i386.deb
  to pool/main/t/texlive-bin/texlive-omega_2007-4_i386.deb
texlive-xetex_2007-4_i386.deb
  to pool/main/t/texlive-bin/texlive-xetex_2007-4_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 419434@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Norbert Preining <preining@debian.org> (supplier of updated texlive-bin package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 17 Apr 2007 13:17:16 +0200
Source: texlive-bin
Binary: texlive-extra-utils texlive-xetex texlive-lang-indic texlive-omega texlive-font-utils texlive-metapost texlive-base-bin texlive-music
Architecture: source i386
Version: 2007-4
Distribution: unstable
Urgency: low
Maintainer: Debian TeX Maintainers <debian-tex-maint@lists.debian.org>
Changed-By: Norbert Preining <preining@debian.org>
Description: 
 texlive-base-bin - TeX Live: Essential binaries
 texlive-extra-utils - TeX Live: TeX auxiliary programs
 texlive-font-utils - TeX Live: TeX font-related programs
 texlive-lang-indic - TeX Live: Indic
 texlive-metapost - TeX Live: MetaPost (and Metafont) drawing packages
 texlive-music - TeX Live: Music typesetting
 texlive-omega - TeX Live: Omega
 texlive-xetex - TeX Live: XeTeX macros
Closes: 333767 418788 419381 419434
Changes: 
 texlive-bin (2007-4) unstable; urgency=low
 .
   * Add patch 31_pdftex_gcc_ICE-on-alpha to work around a bug in newer
     gcc, thanks to Falk Hueffner <falk@debian.org> (closes: #419434) [fk]
   * Since we take over xdvi from tetex-bin, we remove its xdvi alternative
     in case it is present (closes: #419381) [fk]
   * Remove any format or log files in /var/lib/texmf/web2c, they must be
     in $engine subdirs now.  teTeX does not properly remove them (so this
     closes: #333767), and they cause strange failures with context (see
     #419059 and #418976) [fk]
   * Add patch 62_dvips_absolutepath_doc to document the change in dvips'
     file inclusion behavior in config.ps (closes: #418788)
Files: 
 8fa3ca75dc69f852c9d513b0ffb03751 1099 tex optional texlive-bin_2007-4.dsc
 ac71a42d9ffde6d9041a3b6241ce362a 122156 tex optional texlive-bin_2007-4.diff.gz
 67f3efe790a4ac41746e75c2896ba377 11376166 tex optional texlive-base-bin_2007-4_i386.deb
 64d38a6436285f8122f064e72d658dba 938946 tex optional texlive-extra-utils_2007-4_i386.deb
 c10a03f348697f631cee37744cea9dc8 1086966 tex optional texlive-font-utils_2007-4_i386.deb
 772c0c0d171c05ec6d773ce8ddbde0e3 7504156 tex optional texlive-metapost_2007-4_i386.deb
 76f7d57d4e6ff0fc66d83ae8b42b0dea 2838166 tex optional texlive-omega_2007-4_i386.deb
 d1dce5836d1f67278130d749873b3a43 6401252 tex optional texlive-xetex_2007-4_i386.deb
 01c55e37b5711175964f58d1418c5536 1709132 tex optional texlive-music_2007-4_i386.deb
 e05e41e369e813e6b50b053f8eea85ff 6697678 tex optional texlive-lang-indic_2007-4_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGJQbM0r9KownFsJQRAl98AJ9i6Lvz05HzrCBjqFy0IJCajudybQCdFqaE
H5JJrdU/W3GOWhMvMKWB+8g=
=M0EY
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: