From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11830 invoked by alias); 7 Jul 2013 20:33:20 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 11821 invoked by uid 89); 7 Jul 2013 20:33:20 -0000 X-Spam-SWARE-Status: No, score=-3.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.1 Received: from mail-ea0-f177.google.com (HELO mail-ea0-f177.google.com) (209.85.215.177) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Sun, 07 Jul 2013 20:33:19 +0000 Received: by mail-ea0-f177.google.com with SMTP id j14so2508532eak.22 for ; Sun, 07 Jul 2013 13:33:17 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.14.205.72 with SMTP id i48mr21427656eeo.139.1373229197251; Sun, 07 Jul 2013 13:33:17 -0700 (PDT) Received: by 10.14.98.67 with HTTP; Sun, 7 Jul 2013 13:33:17 -0700 (PDT) In-Reply-To: References: <51D83AAC.4080200@gmail.com> <87y59jo6yq.fsf@igel.home> <51D97472.8010704@gmail.com> Date: Sun, 07 Jul 2013 20:33:00 -0000 Message-ID: Subject: Re: fatal error: gnu/stubs-32.h: No such file From: Gabriel Dos Reis To: Jonathan Wakely Cc: Bruce Korb , Andreas Schwab , GCC Content-Type: text/plain; charset=ISO-8859-1 X-SW-Source: 2013-07/txt/msg00089.txt.bz2 On Sun, Jul 7, 2013 at 12:44 PM, Jonathan Wakely wrote: > On 7 July 2013 15:00, Bruce Korb wrote: >> On 07/06/13 11:53, Andreas Schwab wrote: >>> >>> Bruce Korb writes: >>> >>>> Why is it that configure worked but stubs-32.h was not found? >>> >>> >>> This is testing the host compiler which doesn't need that file. You >>> need to build the target compiler before you can test it. >> >> >> Sorry, I'm still confused. I had a fresh openSuSE distro and I >> was trying to build GCC from SVN source. If doing that requires >> the installation of 32 bit development package, then I think I >> am trying to say that configure should go look for the needed 32 >> bit dev package and complain. I am hoping that the developer >> responsible for the code trying to include the header would >> fiddle the configure script. I confess to trying to avoid that >> kind of fiddling. > > There is no code trying to include the header, GCC doesn't include it > directly, it is included by glibc's which is included by > other headers GCC uses. > > The point is, how do you test for "the needed 32 bit dev package"? > The only way is to try compiling a program as 32-bit, but that can > only be done by the target compiler once it's built, because the host > compiler might not be capable of 32-bit output. How about not enabling multi lib build by default on targets we now that will fail anyway? I have the suspicion this problem is unique to openSUSE, so we can take care of that. -- Gaby