Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* tcl cannot build 64bit.
@ 2004-03-09 21:10 Manoj Iyer
  2004-03-09 21:20 ` Andrew Cagney
  0 siblings, 1 reply; 19+ messages in thread
From: Manoj Iyer @ 2004-03-09 21:10 UTC (permalink / raw)
  To: gdb


When I build GDB 6.1 CVS version as a 64bit binary, the tclsh fails to
build. The linker complains "skipping incompatible
/home/manjo/project/build_scripts/src/tcl/unix/libtcl8.4.a when searching
for -ltcl8.4" even though libtcl8.4.a is availale in that directory.

When I force it to link with the archive I get a bunch of  undefined
reference to ".symbol" as follows: ( I am only pasting a few). And they
look like glibc symbols...

/home/manjo/project/build_scripts/src/tcl/unix/libtcl8.4.a(tclIOGT.o)(.text+0x1b18):
In function `.ResultAdd':
: undefined reference to `.memcpy'
/home/manjo/project/build_scripts/src/tcl/unix/libtcl8.4.a(tclResolve.o)(.text+0xb8):
In function `.Tcl_AddInterpResolvers':
: undefined reference to `.strcmp'
/home/manjo/project/build_scripts/src/tcl/unix/libtcl8.4.a(tclResolve.o)(.text+0x11c):
In function `.Tcl_AddInterpResolvers':
: undefined reference to `.strlen'
/home/manjo/project/build_scripts/src/tcl/unix/libtcl8.4.a(tclResolve.o)(.text+0x150):
In function `.Tcl_AddInterpResolvers':
: undefined reference to `.strcpy'
/home/manjo/project/build_scripts/src/tcl/unix/libtcl8.4.a(tclResolve.o)(.text+0x230):
In function `.Tcl_GetInterpResolvers':
: undefined reference to `.strcmp'
/home/manjo/project/build_scripts/src/tcl/unix/libtcl8.4.a(tclResolve.o)(.text+0x338):
In function `.Tcl_RemoveInterpResolvers':
: undefined reference to `.strcmp'
collect2: ld returned 1 exit status

Any suggestions??

--
Manoj


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

end of thread, other threads:[~2004-03-16 23:50 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-09 21:10 tcl cannot build 64bit Manoj Iyer
2004-03-09 21:20 ` Andrew Cagney
2004-03-09 21:34   ` Manoj Iyer
2004-03-09 22:03     ` Andreas Schwab
2004-03-09 22:05   ` Andreas Schwab
2004-03-09 22:27     ` Andrew Cagney
2004-03-09 22:55       ` Andreas Schwab
2004-03-10  1:34         ` Andrew Cagney
2004-03-10  5:46           ` Manoj Iyer
2004-03-10  9:13             ` Andreas Schwab
2004-03-10  9:12           ` Andreas Schwab
2004-03-10 15:25             ` Ian Lance Taylor
2004-03-10 16:02               ` Andreas Schwab
2004-03-10 16:05                 ` Daniel Jacobowitz
2004-03-10 16:11                   ` Manoj Iyer
2004-03-10 17:22                     ` Andreas Schwab
2004-03-10 17:30                       ` Ian Lance Taylor
2004-03-12 22:26                       ` Manoj Iyer
2004-03-16 23:50                       ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox