[Bug testsuite/41913] New: ERROR: tcl error sourcing /home/dave/gnu/gcc-4.5/gcc/gcc/testsuite/gcc.dg/lto/lt

View: New views
8 Messages — Rating Filter:   Alert me  

[Bug testsuite/41913] New: ERROR: tcl error sourcing /home/dave/gnu/gcc-4.5/gcc/gcc/testsuite/gcc.dg/lto/lt

by Bugzilla from gcc-bugzilla@gcc.gnu.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

...
nm is /home/dave/gnu/gcc-4.5/objdir/gcc/testsuite/gcc/../../nm
ERROR: tcl error sourcing
/home/dave/gnu/gcc-4.5/gcc/gcc/testsuite/gcc.dg/lto/lt
o.exp.
ERROR: can't read "name": no such variable
    while executing
"perror "$name: error executing dg-final: $errmsg""
    (procedure "lto-execute" line 153)
    invoked from within
"lto-execute $src $sid"
    ("foreach" body line 7)
    invoked from within
"foreach src [lsort [find $srcdir/$subdir *_0.c]] {
    # If we're only testing specific files and this isn't one of them, skip it.
    if ![runtest_fi..."
    (file "/home/dave/gnu/gcc-4.5/gcc/gcc/testsuite/gcc.dg/lto/lto.exp" line
50)
    invoked from within
"source /home/dave/gnu/gcc-4.5/gcc/gcc/testsuite/gcc.dg/lto/lto.exp"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 source /home/dave/gnu/gcc-4.5/gcc/gcc/testsuite/gcc.dg/lto/lto.exp"
    invoked from within
"catch "uplevel #0 source $test_file_name""
testcase /home/dave/gnu/gcc-4.5/gcc/gcc/testsuite/gcc.dg/lto/lto.exp completed
in 38 seconds

Possibly, this may be due to using tcl 8.3.


--
           Summary: ERROR: tcl error sourcing /home/dave/gnu/gcc-
                    4.5/gcc/gcc/testsuite/gcc.dg/lto/lt
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa-unknown-linux-gnu
  GCC host triplet: hppa-unknown-linux-gnu
GCC target triplet: hppa-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41913


[Bug testsuite/41913] ERROR: tcl error sourcing /home/dave/gnu/gcc-4.5/gcc/gcc/testsuite/gcc.dg/lto/lt

by Bugzilla from gcc-bugzilla@gcc.gnu.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



------- Comment #1 from hjl dot tools at gmail dot com  2009-11-10 23:51 -------
I also saw it on Linux/ia32. Revision 153552 is OK. Revision 153563 is bad.
It is very likely caused by revision 153557:

http://gcc.gnu.org/ml/gcc-cvs/2009-10/msg01212.html


--

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nickc at redhat dot com
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
  GCC build triplet|hppa-unknown-linux-gnu      |
   GCC host triplet|hppa-unknown-linux-gnu      |
 GCC target triplet|hppa-unknown-linux-gnu      |
   Last reconfirmed|0000-00-00 00:00:00         |2009-11-10 23:51:27
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41913


[Bug testsuite/41913] ERROR: tcl error sourcing /home/dave/gnu/gcc-4.5/gcc/gcc/testsuite/gcc.dg/lto/lt

by Bugzilla from gcc-bugzilla@gcc.gnu.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



------- Comment #2 from hjl dot tools at gmail dot com  2009-11-10 23:55 -------
It may be caused by revision 153555:

http://gcc.gnu.org/ml/gcc-cvs/2009-10/msg01210.html


--

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41913


[Bug testsuite/41913] ERROR: tcl error sourcing /home/dave/gnu/gcc-4.5/gcc/gcc/testsuite/gcc.dg/lto/lt

by Bugzilla from gcc-bugzilla@gcc.gnu.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



------- Comment #3 from pinskia at gcc dot gnu dot org  2009-11-11 05:40 -------
At best these patches exposes the failure here.  This was the failure I was
getting with spu-elf before my patch to use -r -nostdlib.


--


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41913


[Bug testsuite/41913] ERROR: tcl error sourcing /home/dave/gnu/gcc-4.5/gcc/gcc/testsuite/gcc.dg/lto/lt

by Bugzilla from gcc-bugzilla@gcc.gnu.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



------- Comment #4 from pinskia at gcc dot gnu dot org  2009-11-11 05:44 -------
Also I think PR 42001 is the real cause of your issues.  Your linker is broken
...


--


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41913


[Bug testsuite/41913] ERROR: tcl error sourcing gcc.dg/lto/lto.exp

by Bugzilla from gcc-bugzilla@gcc.gnu.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



------- Comment #5 from hjl dot tools at gmail dot com  2009-11-11 15:33 -------
A patch is posted at

http://gcc.gnu.org/ml/gcc-patches/2009-11/msg00541.html


--

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2009-
                   |                            |11/msg00541.html
            Summary|ERROR: tcl error sourcing   |ERROR: tcl error sourcing
                   |/home/dave/gnu/gcc-         |gcc.dg/lto/lto.exp
                   |4.5/gcc/gcc/testsuite/gcc.dg|
                   |/lto/lt                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41913


[Bug testsuite/41913] ERROR: tcl error sourcing gcc.dg/lto/lto.exp

by Bugzilla from gcc-bugzilla@gcc.gnu.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



------- Comment #6 from hjl at gcc dot gnu dot org  2009-11-18 16:02 -------
Subject: Bug 41913

Author: hjl
Date: Wed Nov 18 16:02:17 2009
New Revision: 154296

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154296
Log:
2009-11-18  H.J. Lu  <hongjiu.lu@...>

        PR testsuite/41913
        * lib/lto.exp (scan-symbol): Properly check if target exist.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/lib/lto.exp


--


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41913


[Bug testsuite/41913] ERROR: tcl error sourcing gcc.dg/lto/lto.exp

by Bugzilla from gcc-bugzilla@gcc.gnu.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



------- Comment #7 from hjl dot tools at gmail dot com  2009-11-18 16:04 -------
Fixed.


--

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41913