On Mon, Mar 02, 2026 at 03:56:51PM +0800, Xi Ruoyao wrote:
> On Mon, 2026-03-02 at 07:55 +0100, Jakub Jelinek wrote:
> > Hi!
> > 
> > On Wed, Feb 18, 2026 at 10:13:54PM +0100, Jakub Jelinek wrote:
> > > tcl 9 errors on -encoding binary and suggests using -translation binary
> > > instead, which has been supported even in older tcl versions.
> > > 
> > > Bootstrapped/regtested on x86_64-linux and i686-linux (with tcl 8.6.16),
> > > ok for trunk?
> > > 
> > > 2026-02-18  Jakub Jelinek  <[email protected]>
> > > 
> > >   * go.test/go-test.exp (errchk): Use -translation binary instead of
> > >   -encoding binary for TCL 9 compatibility.
> > 
> > I'd like to ping this patch.
> 
> Sorry for hijacking the discussion but is there a successful port of
> expect and dejagnu to tcl 9?  I tried to do that
> (https://github.com/xry111/expect-tcl9) but GCC test suite failed to
> work (https://github.com/xry111/expect-tcl9/issues/1).

I'm not seeing such issues in Fedora (after patching dejagnu).
See https://kojipkgs.fedoraproject.org//work/tasks/6581/143646581/build.log
(build with the patched up dejagnu and this patch) with expect using tcl 9,
vs. say
https://kojipkgs.fedoraproject.org/packages/gcc/16.0.1/0.9.fc44/data/logs/x86_64/build.log
which was still using expect with tcl 8).
There is another issue on the gcc side I'll mail a patch for momentarily.

        Jakub

Reply via email to