From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6627 invoked by alias); 19 May 2011 00:11:04 -0000 Received: (qmail 6618 invoked by uid 22791); 19 May 2011 00:11:03 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,TW_LR,TW_RW,TW_WX,TW_XG,TW_XR,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.44.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 19 May 2011 00:10:45 +0000 Received: from hpaq13.eem.corp.google.com (hpaq13.eem.corp.google.com [172.25.149.13]) by smtp-out.google.com with ESMTP id p4J0Ai5t029037 for ; Wed, 18 May 2011 17:10:44 -0700 Received: from pwi8 (pwi8.prod.google.com [10.241.219.8]) by hpaq13.eem.corp.google.com with ESMTP id p4J0AV66029952 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 18 May 2011 17:10:41 -0700 Received: by pwi8 with SMTP id 8so1505238pwi.22 for ; Wed, 18 May 2011 17:10:41 -0700 (PDT) Received: by 10.68.29.100 with SMTP id j4mr3876604pbh.197.1305763841122; Wed, 18 May 2011 17:10:41 -0700 (PDT) Received: from coign.google.com ([67.218.110.18]) by mx.google.com with ESMTPS id o3sm1367377pbt.61.2011.05.18.17.10.39 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 18 May 2011 17:10:40 -0700 (PDT) From: Ian Lance Taylor To: "Klaus Rudolph" Cc: Axel Freyn , gcc-help@gcc.gnu.org Subject: Re: can't run gcc 4.5.3/4.6.0 under ubuntu 11.04 References: <20110518100445.25120@gmx.net> Date: Thu, 19 May 2011 00:26:00 -0000 In-Reply-To: <20110518100445.25120@gmx.net> (Klaus Rudolph's message of "Wed, 18 May 2011 12:04:45 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2011-05/txt/msg00259.txt.bz2 "Klaus Rudolph" writes: > Axel Freyn wrote:=20 >> Did you install the development packages? that is, the ubuntu-package >> libc6-dev? >> If not, the compiler is right :) >> If yes -- could you post where on your =D1=95ystem libc.so and libm.so r= eally >> exist? >>=20 > > the packages are installed and running the gcc/g++ compiler which comes w= ith ubuntu runs fine. > > The libs could be found: > > krud@mauersegler:~$ ls -lsa /usr/lib/i386-linux-gnu/libc.so > 4 -rw-r--r-- 1 root root 283 2011-04-11 13:03 /usr/lib/i386-linux-gnu/lib= c.so > krud@mauersegler:~$ ls -lsa /lib/i386-linux-gnu/libc.so.6 > 0 lrwxrwxrwx 1 root root 12 2011-05-17 14:27 /lib/i386-linux-gnu/libc.so.= 6 -> libc-2.13.so > krud@mauersegler:~/test/c++/compile_ubuntu_11.04$ ls -lsa /lib/i386-linux= -gnu/libc-2.13.so > 1404 -rwxr-xr-x 1 root root 1434180 2011-04-11 13:08 /lib/i386-linux-gnu/= libc-2.13.s > > The xgcc is not looking inside /usr/lib/i386-linux-gnu ... > > Is there a trick to setup the compiler build (configure??, environment fl= ags) with some additional lib path infos to give xgcc a chance to find the = libs? This is interesting and somewhat annoying. I hope the Ubuntu developers who chose to move these packages will be willing to share patches with gcc so that gcc works by default. It may work if you pass --build=3Di386-linux-gnu when you configure gcc. Ian