From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12864 invoked by alias); 26 Oct 2002 00:51:32 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 12764 invoked from network); 26 Oct 2002 00:51:30 -0000 Received: from unknown (HELO mail.cafes.net) (207.65.182.3) by sources.redhat.com with SMTP; 26 Oct 2002 00:51:30 -0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.cafes.net (Postfix) with ESMTP id 8BE6C11293AB5 for ; Fri, 25 Oct 2002 19:51:30 -0500 (CDT) Received: by mail.cafes.net (Postfix, from userid 500) id 7AECD1127F6F8; Fri, 25 Oct 2002 19:51:30 -0500 (CDT) Date: Fri, 25 Oct 2002 17:51:00 -0000 From: Mike Eldridge To: gcc-help@gcc.gnu.org Subject: building and using gcc-3.2 Message-ID: <20021025195130.R4776@ornery.cafes.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Virus-Scanned: by AMaViS snapshot-20020300 X-SW-Source: 2002-10/txt/msg00329.txt.bz2 hi all, i've built and installed gcc-3.2. however, it won't link to shared objects compiled with gcc-2.96-98 (this is straight c, no c++ involved). the dynamic linker bombs with this message: /lib/ld-linux.so.2(*IND*+0x0): multiple definition of `__xstat64' /lib/ld-linux.so.2(.text+0xd600): first defined here /lib/ld-linux.so.2(*IND*+0x0): multiple definition of `__fxstat64' /lib/ld-linux.so.2(.text+0xd640): first defined here collect2: ld returned 1 exit status i successively built binutils and glibc-2.2.5, thinking that was my problem. now i can dynamically link to glibc-2.2.5's libc and ld-linux.so utilizing -Wl,--dynamic-linker and -Wl,--rpath, though the resulting binary segfaults. :/ my question: what do i *need* in order to be able to use gcc 3.2 on my current system? - do i *need* a new binutils? - do i *need* shared objects exclusively compiled with gcc 3.2? - do i *need* a new glibc exclusively compiled with gcc 3.2/binutils 2.13? any pointers (no pun intended), urls, comments, flames, and/or suggestions are more than welcome; in fact, they are appreciated. thanks for your time, -mike ------------------------------------------------------------------------ /~\ the ascii "a jury consists of twelve persons \ / ribbon campaign chosen to decide who has the better X against html lawyer" / \ email! -- robert frost