Your message dated Fri, 19 Oct 2007 12:47:10 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#446335: fixed in tcl8.4 8.4.16-2
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: tcl8.4
Version: 8.4.16-1
Severity: important

The GCC optimizer "unit-at-a-time" causes problems with the TCL 8.4 library
in our use case. In some setups we experience stack corruption which we
tracked down to happen in the TCL libraries.

We use OMNeT++ (http://www.omnetpp.org/) which itself uses TCL internally
for the GUI. We build a class hierarchy above it which heavily utilizes
coroutines, implemented by OMNeT++'s cCoroutine class, which itself uses
Stig Kofoed's "Portable Coroutines"
(http://www.akira.ruc.dk/~keld/research/COROUTINE/COROUTINE-1.0/DOC/COROUTINE_REPORT.pdf,
section 4.2, pp.34). For my discussion with the OMNeT++ people please see
http://www.omnetpp.org/listarchive/msg09441.php.

Debian's precompiled TCL library causes the problem, it is compiled with the
"-O2" GCC option. When we compile TCL from the sources without the "-O2"
optimizer setting, no problems occur. When we use "-O2 -fno-unit-at-a-time"
no problems occur too. When using GCC 3.3, no problems occur.

The new optimizer "unit-at-a-time" was introduced in GCC 3.4
(http://gcc.gnu.org/gcc-3.4/changes.html) but was known to have issues since
then. Starting from GCC 4.2 a new option "-fno-toplevel-reorder"
(http://gcc.gnu.org/gcc-4.2/changes.html) was introduced, which will replace
"-fno-unit-at-a-time" in some future version of GCC. In our case, this
option does _not_ fix the problem. We also observed that libtcl8.4.so
compiled with "-O2" is approx. 20kB smaller than with "-O2
-fno-unit-at-a-time", but we didn't have the time to find out which symbols
were removed or what other differences occur.

We observed the problem on the i386 and the x86_64 platforms.

As a workaround we propose to change the compile scripts to use "-O2
-fno-unit-at-a-time" as compiler flags.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'proposed-updates'), 
(500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.21 (PREEMPT)
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages tcl8.4 depends on:
ii  libc6                         2.6.1-5    GNU C Library: Shared libraries

tcl8.4 recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: tcl8.4
Source-Version: 8.4.16-2

We believe that the bug you reported is fixed in the latest version of
tcl8.4, which is due to be installed in the Debian FTP archive:

tcl8.4-dev_8.4.16-2_i386.deb
  to pool/main/t/tcl8.4/tcl8.4-dev_8.4.16-2_i386.deb
tcl8.4-doc_8.4.16-2_all.deb
  to pool/main/t/tcl8.4/tcl8.4-doc_8.4.16-2_all.deb
tcl8.4_8.4.16-2.diff.gz
  to pool/main/t/tcl8.4/tcl8.4_8.4.16-2.diff.gz
tcl8.4_8.4.16-2.dsc
  to pool/main/t/tcl8.4/tcl8.4_8.4.16-2.dsc
tcl8.4_8.4.16-2_i386.deb
  to pool/main/t/tcl8.4/tcl8.4_8.4.16-2_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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sergei Golovan <[EMAIL PROTECTED]> (supplier of updated tcl8.4 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 [EMAIL PROTECTED])


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

Format: 1.7
Date: Fri, 19 Oct 2007 16:07:39 +0400
Source: tcl8.4
Binary: tcl8.4-dev tcl8.4-doc tcl8.4
Architecture: source i386 all
Version: 8.4.16-2
Distribution: unstable
Urgency: low
Maintainer: Tcl/Tk Debian Packagers <[EMAIL PROTECTED]>
Changed-By: Sergei Golovan <[EMAIL PROTECTED]>
Description: 
 tcl8.4     - Tcl (the Tool Command Language) v8.4 - run-time files
 tcl8.4-dev - Tcl (the Tool Command Language) v8.4 - development files
 tcl8.4-doc - Tcl (the Tool Command Language) v8.4 - manual pages
Closes: 446335
Changes: 
 tcl8.4 (8.4.16-2) unstable; urgency=low
 .
   [ Sergei Golovan ]
   * Added -fno-unit-at-a-time option to prevent stack corruption in a
     particular use case (closes: #446335).
   * Added /usr/local/lib/tcltk, /usr/local/share/tcltk, /usr/lib/tcltk,
     /usr/share/tcltk to auto_path variable. These directories are to be
     contain Tcl/Tk packages according to upcoming Debian Tcl/Tk Policy
     (preliminary version see at
     http://pkg-tcltk.alioth.debian.org/tcltk-policy.html/)
   * Removed TCL_INC_DIR from tclConfig.sh and tcl.m4.
   * Moved architecture independent files from /usr/lib/tcl8.4 to
     /usr/share/tcltk/tcl8.4. To keep backward compatibility tclConfig.sh is
     linked to /usr/lib/tcl8.4 directory.
   * Fixed bug with update-alternatives in prerm scripts.
   * Removed conflicts with tcl and providing tcl-dev packages from
     debian/control to prepare binary packages for default tcl and tcl-dev.
   * Removed build-essential package from tcl8.4-dev dependencies.
   * Moved tcl.m4 to /usr/share/aclocal/tcl8.4.m4 to make it easier to use
     different versions of tcl.m4.
   * Removed alternative of tcl.m4 (the link to default tcl.m4 is to be
     maintained by tcl-dev package).
   * Rearranged conflicts of tcl8.4-doc package because of planned adoption of
     real tcl-doc package.
 .
   [ Francesco Paolo Lovergine ]
   * Added Homepage field in debian/control.
Files: 
 62a1c82060a01a2ed7cbd517d943d917 772 libs optional tcl8.4_8.4.16-2.dsc
 f26cf19d9ddbea0bb052651a065f812d 11794 libs optional tcl8.4_8.4.16-2.diff.gz
 68f11b9cd258ac210bf1b69c3a535a15 978626 doc optional 
tcl8.4-doc_8.4.16-2_all.deb
 6db7cf1bcaf8cda398755f5b54eee12c 1169320 interpreters optional 
tcl8.4_8.4.16-2_i386.deb
 14fbb1e567849af90657ce439f7804e6 785212 devel optional 
tcl8.4-dev_8.4.16-2_i386.deb

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

iD8DBQFHGKUJIcdH02pGEFIRAl7OAJ0Y1evFeFpTwwDY9WoKLbGUfPwgrgCaA0t8
pepso9PlnZ6ksV03VIL8fPY=
=eLrC
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to