public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Re: Tcl/Tk update on the upgrade...
       [not found] <200109211712.f8LHC7201923@constant.com>
@ 2001-09-21 13:53 ` Phil Edwards
  2001-09-21 17:12   ` Ian Roxborough
  0 siblings, 1 reply; 6+ messages in thread
From: Phil Edwards @ 2001-09-21 13:53 UTC (permalink / raw)
  To: Benjamin Kosnik; +Cc: gcc, pfeifer, irox, insight, gdb

On Fri, Sep 21, 2001 at 10:12:07AM -0700, Benjamin Kosnik wrote:
> > GDB's and BINUTILS' combined CVS repository also contains a copy of
> > dejagnu, expect and tcl.  Creating a source tree containing that and
> > GCC and then testing it is a very common pratice (well I thought it
> > was until now).  Any changes Ian makes to tcl are going to directly
> > affect anyone using the src dejagnu to test GCC.
> 
> I think you're correct about it being a common practice, Andrew. Since
> a lot of the 'make check' routines rely on current versions of
> dejagnu, this is an issue for gcc developers as well.

This was a common practice for me, too, until a few days ago.  Since then
the tcl/tk/tix builds have been breaking with either ranlib not recognizing
the .so file format (???), or more recently,

    rm -f libtk8.3.so
    gcc -pipe -shared -o libtk8.3.so tk3d.o [... bunch of object files ...]
    -Wl,-rpath,/home/pme/build/install-2001-09-21/lib:/usr/X11R6/lib
    -L/home/pme/build/install-2001-09-21/lib -ltclstub8.3 -L/usr/X11R6/lib
    -lX11 -ldl -lieee -lm -lc
    /usr/local/gcc-3.0/lib/gcc-lib/i686-pc-linux-gnu/3.0/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ltclstub8.3
    collect2: ld returned 1 exit status
    gmake[2]: *** [libtk8.3.so] Error 1
    gmake[2]: Leaving directory `/home/pme/build/build-2001-09-21/tk/unix'
    gmake[1]: *** [all] Error 2
    gmake[1]: Leaving directory `/home/pme/build/build-2001-09-21/tk'
    gmake: *** [all-tk] Error 2

libtclstub8.3.a is right over in ../../tcl/unix.  Why isn't that being
searched?  Why am I the only one seeing this?  :-)

Phil

-- 
"You have to wonder what kind of life you have when your list of personal
rules begins with, '#3:  No drowning in your own mucus,' and '#4:  Don't
ask what happened to rules 1 and 2.'"

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Tcl/Tk update on the upgrade...
  2001-09-21 13:53 ` Tcl/Tk update on the upgrade Phil Edwards
@ 2001-09-21 17:12   ` Ian Roxborough
  2001-09-24 10:12     ` Phil Edwards
  0 siblings, 1 reply; 6+ messages in thread
From: Ian Roxborough @ 2001-09-21 17:12 UTC (permalink / raw)
  To: Phil Edwards, gcc; +Cc: insight, gdb

Phil Edwards wrote:
> This was a common practice for me, too, until a few days ago.  Since then
> the tcl/tk/tix builds have been breaking with either ranlib not recognizing
> the .so file format (???), or more recently,
> 
>     rm -f libtk8.3.so
>     gcc -pipe -shared -o libtk8.3.so tk3d.o [... bunch of object files ...]
>     -Wl,-rpath,/home/pme/build/install-2001-09-21/lib:/usr/X11R6/lib
>     -L/home/pme/build/install-2001-09-21/lib -ltclstub8.3 -L/usr/X11R6/lib
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hmmmm, looks like this line should point to the build directory. I.E. it should
probably read -L/home/pme/build/build-2001-09-21/tcl/unix -ltclstub8.3

> libtclstub8.3.a is right over in ../../tcl/unix.  Why isn't that being
> searched?  Why am I the only one seeing this?  :-)

So far I've not seen it or heard of it from anybody else.  I'm not sure
why ../../tcl/unix isn't being searched.  But I'll try and find out....

What options are you running configure with?

  Ian.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Tcl/Tk update on the upgrade...
  2001-09-21 17:12   ` Ian Roxborough
@ 2001-09-24 10:12     ` Phil Edwards
  0 siblings, 0 replies; 6+ messages in thread
From: Phil Edwards @ 2001-09-24 10:12 UTC (permalink / raw)
  To: Ian Roxborough; +Cc: gcc, insight, gdb

On Fri, Sep 21, 2001 at 05:24:49PM -0700, Ian Roxborough wrote:
> Phil Edwards wrote:
> >     -L/home/pme/build/install-2001-09-21/lib -ltclstub8.3 -L/usr/X11R6/lib
>         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Hmmmm, looks like this line should point to the build directory. I.E. it should
> probably read -L/home/pme/build/build-2001-09-21/tcl/unix -ltclstub8.3

Yep.  I changed it in the generated Makefile, and the build succeeded.

It's coming from the rules in configure.in which set MAKE_LIB,
TCL_LD_SEARCH_FLAGS, and TK_CC_SEARCH_FLAGS.  The -L paths are taken
from (around line 205) LIB_RUNTIME_DIR, with colons replaced by ' -L'.

And the library's runtime directory is indeed install-2001-09-21/lib.
But that shouldn't be used for link-time searching, or at least not
by itself.

Hmmmmmm... *looks*  Under Red Hat 7.0, libtclstub.8.3.a exists in /usr/lib.
Not under Debian.  That would explain it.  (Same goes for libitclstub.)

In fact, after I copied libtclstub8.3.a and libitclstub3.1.a into /usr/lib,
changed the RANLIB thing in the Makefile.in like I mentioned in my private
email, and regenerated the Makefile, the build passed.


Thanks very much for helping me with this.

Phil

-- 
"You have to wonder what kind of life you have when your list of personal
rules begins with, '#3:  No drowning in your own mucus,' and '#4:  Don't
ask what happened to rules 1 and 2.'"

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Tcl/Tk update on the upgrade...
  2001-09-21  3:36 ` Gerald Pfeifer
@ 2001-09-21 10:02   ` Andrew Cagney
  0 siblings, 0 replies; 6+ messages in thread
From: Andrew Cagney @ 2001-09-21 10:02 UTC (permalink / raw)
  To: Gerald Pfeifer; +Cc: Ian Roxborough, gcc, insight, gdb

> On Thu, 20 Sep 2001, Ian Roxborough wrote:
> > things are looking a lot better with Tcl/Tk upgrade.
> 
> I'm utterly confused by those Tcl/Tk related messages of yours being
> sent to gcc@gcc.gnu.org.

GDB's and BINUTILS' combined CVS repository also contains a copy of
dejagnu, expect and tcl.  Creating a source tree containing that and
GCC and then testing it is a very common pratice (well I thought it
was until now).  Any changes Ian makes to tcl are going to directly
affect anyone using the src dejagnu to test GCC.

I suggested that Ian include gcc when posting updates so that all
interested parties were kept informed.

> What is "the Tcl/Tk" upgrade you're referring to, and is it really
> related to the (non-Redhat-internal) development of GCC?

Andrew

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Tcl/Tk update on the upgrade...
  2001-09-20 15:55 Ian Roxborough
@ 2001-09-21  3:36 ` Gerald Pfeifer
  2001-09-21 10:02   ` Andrew Cagney
  0 siblings, 1 reply; 6+ messages in thread
From: Gerald Pfeifer @ 2001-09-21  3:36 UTC (permalink / raw)
  To: Ian Roxborough; +Cc: gcc, insight, gdb

On Thu, 20 Sep 2001, Ian Roxborough wrote:
> things are looking a lot better with Tcl/Tk upgrade.

I'm utterly confused by those Tcl/Tk related messages of yours being
sent to gcc@gcc.gnu.org.

What is "the Tcl/Tk" upgrade you're referring to, and is it really
related to the (non-Redhat-internal) development of GCC?

Gerald
-- 
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Tcl/Tk update on the upgrade...
@ 2001-09-20 15:55 Ian Roxborough
  2001-09-21  3:36 ` Gerald Pfeifer
  0 siblings, 1 reply; 6+ messages in thread
From: Ian Roxborough @ 2001-09-20 15:55 UTC (permalink / raw)
  To: gcc, insight, gdb

Hi,

things are looking a lot better with Tcl/Tk upgrade.
The only thing left which doesn't work is wish83 on
Windows (stand-a-lone Tk).  Insight works on Windows
so I'm not panicking about the wish83.exe problems.

I'm getting closer to fixing wish83 on Windows, my
time frame for fixing this is "some time hopefully
before the end of the month".  Please let me know if
this effects you.

Otherwise thanks a million to all the people who provided
pointers, patches, advice, accounts, fixes and encouragement.

If you have any unresolved issues relating to the Tcl/Tk
upgrade, please contact me.

THANKS!

  Ian.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-09-24 10:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <200109211712.f8LHC7201923@constant.com>
2001-09-21 13:53 ` Tcl/Tk update on the upgrade Phil Edwards
2001-09-21 17:12   ` Ian Roxborough
2001-09-24 10:12     ` Phil Edwards
2001-09-20 15:55 Ian Roxborough
2001-09-21  3:36 ` Gerald Pfeifer
2001-09-21 10:02   ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).