From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8458 invoked by alias); 9 Mar 2004 21:10:19 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 8451 invoked from network); 9 Mar 2004 21:10:18 -0000 Received: from unknown (HELO e33.co.us.ibm.com) (32.97.110.131) by sources.redhat.com with SMTP; 9 Mar 2004 21:10:18 -0000 Received: from westrelay01.boulder.ibm.com (westrelay01.boulder.ibm.com [9.17.195.10]) by e33.co.us.ibm.com (8.12.10/8.12.2) with ESMTP id i29LAHfS170442 for ; Tue, 9 Mar 2004 16:10:17 -0500 Received: from austin.ibm.com (d03av03.boulder.ibm.com [9.17.193.83]) by westrelay01.boulder.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id i29LAHYC152698 for ; Tue, 9 Mar 2004 14:10:17 -0700 Received: from lazy.austin.ibm.com (lazy.austin.ibm.com [9.53.94.97]) by austin.ibm.com (8.12.10/8.12.10) with ESMTP id i29LAGvE040768 for ; Tue, 9 Mar 2004 15:10:16 -0600 Date: Tue, 09 Mar 2004 21:10:00 -0000 From: Manoj Iyer X-X-Sender: manjo@lazy To: gdb@sources.redhat.com Subject: tcl cannot build 64bit. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2004-03/txt/msg00077.txt.bz2 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