Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Manoj Iyer <manjo@austin.ibm.com>
To: gdb@sources.redhat.com
Subject: tcl cannot build 64bit.
Date: Tue, 09 Mar 2004 21:10:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.58.0403092047350.5833@lazy> (raw)


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


             reply	other threads:[~2004-03-09 21:10 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-09 21:10 Manoj Iyer [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.58.0403092047350.5833@lazy \
    --to=manjo@austin.ibm.com \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox