Debian Bug report logs - #637218
[i386] cannot use gnu/stubs.h with multiarch-unaware toolchain (fatal error: gnu/stubs-32.h: No such file or directory)

version graph

Package: libc6-dev; Maintainer for libc6-dev is GNU Libc Maintainers <debian-glibc@lists.debian.org>; Source for libc6-dev is src:eglibc.

Reported by: sedat.dilek@gmail.com

Date: Tue, 9 Aug 2011 15:33:05 UTC

Severity: normal

Merged with 629819

Found in versions eglibc/2.13-10, eglibc/2.13-5

Fixed in version eglibc/2.13-11

Done: Aurelien Jarno <aurel32@debian.org>

Bug is archived. No further changes may be made.

Full log


Message #85 received at 637218@bugs.debian.org (full text, mbox):

Received: (at 637218) by bugs.debian.org; 10 Aug 2011 03:15:53 +0000
From jrnieder@gmail.com Wed Aug 10 03:15:53 2011
X-Spam-Checker-Version: SpamAssassin 3.3.1-bugs.debian.org_2005_01_02
	(2010-03-16) on busoni.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-3.8 required=4.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FOURLA,FREEMAIL_FROM,MURPHY_DRUGS_REL8,
	RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no
	version=3.3.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 16; hammy, 142; neutral, 38; spammy,
	1. spammytokens:0.948-+--weekly hammytokens:0.000-+--H*u:1.5.21,
	0.000-+--H*UA:1.5.21, 0.000-+--H*f:sk:2011080, 0.000-+--tarballs,
	0.000-+--$home
Return-path: <jrnieder@gmail.com>
Received: from mail-yx0-f180.google.com ([209.85.213.180])
	by busoni.debian.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16)
	(Exim 4.72)
	(envelope-from <jrnieder@gmail.com>)
	id 1QqzGq-0000Dc-VG
	for 637218@bugs.debian.org; Wed, 10 Aug 2011 03:15:53 +0000
Received: by yxi11 with SMTP id 11so655773yxi.11
        for <637218@bugs.debian.org>; Tue, 09 Aug 2011 20:15:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=date:from:to:cc:subject:message-id:references:mime-version
         :content-type:content-disposition:in-reply-to:user-agent;
        bh=Ah+3Wbq5bBXRO2/LhE6pmtRdTjLynOtXYO1acMfXW4A=;
        b=iF78MZGdgbg/kUX20UxafuDKea3fWRXfedunBhljkx/me/6Zi4luEWXBadc0325cZW
         sbx/8WNcJHD0aHhNI1Jd0LBe5GY7KcMah64vS+5NasnQNNAEVY/WAg5BH9D9XTs4hmbW
         h8ftszKcNh8/Gp/qvSh5XhMwD5tUCB3rFWlGE=
Received: by 10.90.167.5 with SMTP id p5mr1068299age.40.1312946146018;
        Tue, 09 Aug 2011 20:15:46 -0700 (PDT)
Received: from elie.gateway.2wire.net (adsl-69-209-69-68.dsl.chcgil.sbcglobal.net [69.209.69.68])
        by mx.google.com with ESMTPS id j3sm472648anm.47.2011.08.09.20.15.43
        (version=SSLv3 cipher=OTHER);
        Tue, 09 Aug 2011 20:15:44 -0700 (PDT)
Date: Tue, 9 Aug 2011 22:15:29 -0500
From: Jonathan Nieder <jrnieder@gmail.com>
To: sedat.dilek@gmail.com
Cc: 637218@bugs.debian.org
Subject: Re: /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No
 such file or directory
Message-ID: <20110810031528.GA19066@elie.gateway.2wire.net>
References: <CA+icZUUOCOiU18sSBbJyKYY2Swan1ir0UR-36x-Na_TybX=e4w@mail.gmail.com>
 <20110809172343.GC28780@hall.aurel32.net>
 <CA+icZUVQxY4RLk0U69rWt5m9u3_aW6Z8HKDVPwW3gp+N1uTeZg@mail.gmail.com>
 <20110809192253.GA26356@volta.aurel32.net>
 <20110809193251.GA29531@elie.gateway.2wire.net>
 <CA+icZUV=mojh2ou7C8MM4NM6siYJu12mSXsOrNjBaZZuqBdpoA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CA+icZUV=mojh2ou7C8MM4NM6siYJu12mSXsOrNjBaZZuqBdpoA@mail.gmail.com>
User-Agent: Mutt/1.5.21+46 (b01d63af6fea) (2011-07-01)
Hi,

Sedat Dilek wrote:

> Do I need additional patches to gcc trunk (I am using the weekly
> gcc-4.7 snapshot tarballs)?

No need for patches.  My build of gcc trunk finally finished:

	$ ./configure --prefix=$HOME/opt/gcc \
		CFLAGS_FOR_TARGET="-g -O2 -B/usr/lib/x86_64-linux-gnu" \
		CXXFLAGS_FOR_TARGET="-g -O2 -B/usr/lib/x86_64-linux-gnu"
	$ make FLAGS_FOR_TARGET='-B$(build_tooldir)/bin/ '\
'-B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include '\
'-isystem $(build_tooldir)/sys-include '\
'-B/usr/lib/x86_64-linux-gnu' \
		BOOT_CFLAGS="-g -O2 -B/usr/lib/x86_64-linux-gnu"
	$ make FLAGS_FOR_TARGET='-B$(build_tooldir)/bin/ '\
'-B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include '\
'-isystem $(build_tooldir)/sys-include '\
'-B/usr/lib/x86_64-linux-gnu' \
		BOOT_CFLAGS="-g -O2 -B/usr/lib/x86_64-linux-gnu" \
		install

The resulting compiler even seems to work, as long as you pass
-B/usr/lib/x86_64-linux-gnu to it.

Yes, it ought to be easier.  Maybe FLAGS_FOR_TARGET does everything we
need.  I'd be happy to review a patch that teaches configure.ac to
handle something like

	$ ./configure --prefix=$HOME/opt/gcc \
		--extra-flags-for-target=-B/usr/lib/x86_64-linux-gnu \
		BOOT_FLAGS='-g -O2 -B/usr/lib/x86_64-linux-gnu'
	$ make
	$ make install

[...]
> I heard of a gcc multiarch patchset sent to upstream from debian-gcc
> team - you have an URL?

I'd be interested in the answer to this if there is one, too.

Thanks, Sedat.
Jonathan




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 15:39:43 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.