GNU bug report logs - #32087
gcc -m32 can't find stubs-32.h

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: David Larsson <david.larsson@HIDDEN>; dated Sat, 7 Jul 2018 19:09:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 32087 <at> debbugs.gnu.org:


Received: (at 32087) by debbugs.gnu.org; 10 Jul 2018 11:22:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 10 07:22:19 2018
Received: from localhost ([127.0.0.1]:53076 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fcqip-0002YY-4s
	for submit <at> debbugs.gnu.org; Tue, 10 Jul 2018 07:22:19 -0400
Received: from sender-of-o51.zoho.com ([135.84.80.216]:21124)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rekado@HIDDEN>) id 1fcqim-0002YO-Dv
 for 32087 <at> debbugs.gnu.org; Tue, 10 Jul 2018 07:22:17 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1531221703; 
 s=zoho; d=elephly.net; i=rekado@HIDDEN;
 h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding;
 l=203; bh=psEloyHX/fbBnomkEEan5lvT4HRVLpTcsO1DtWEiQ40=;
 b=gTXUtCGyRC+WoshucM9/G7rM7iURTb8RhhPjwQU0xI7jOvNPCC4pCjG49O2piiJR
 tw6VsltP40ZF4+/2eC2UuZkplkehctcCKvu9lsabknw50ui3bzmfWM2kzwIh1dtD1F7
 aT2V4wCmwTHsK3iC99DXGSZHZ1m3A9VDJ140ZBbg=
Received: from localhost (141.80.247.12 [141.80.247.12]) by mx.zohomail.com
 with SMTPS id 1531221703041566.0023186614123;
 Tue, 10 Jul 2018 04:21:43 -0700 (PDT)
References: <alpine.LNX.2.21.999.1807072049420.7900@localhost>
User-agent: mu4e 1.0; emacs 26.1
From: Ricardo Wurmus <rekado@HIDDEN>
To: David Larsson <david.larsson@HIDDEN>
Subject: Re: bug#32087: gcc -m32 can't find stubs-32.h
In-reply-to: <alpine.LNX.2.21.999.1807072049420.7900@localhost>
X-URL: https://elephly.net
X-PGP-Key: https://elephly.net/rekado.pubkey
X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
Date: Tue, 10 Jul 2018 13:21:39 +0200
Message-ID: <878t6js5do.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-ZohoMailClient: External
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 32087
Cc: 32087 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


David Larsson <david.larsson@HIDDEN> writes:

> I tried to run gcc to compile a simple c program which fails:

Are you using the =E2=80=9Cgcc-toolchain=E2=80=9D package?

--=20
Ricardo





Information forwarded to bug-guix@HIDDEN:
bug#32087; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 Jul 2018 19:08:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 07 15:08:38 2018
Received: from localhost ([127.0.0.1]:50422 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fbsZS-0008FV-5k
	for submit <at> debbugs.gnu.org; Sat, 07 Jul 2018 15:08:38 -0400
Received: from eggs.gnu.org ([208.118.235.92]:33801)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <david.larsson@HIDDEN>) id 1fbsNZ-0007xu-OZ
 for submit <at> debbugs.gnu.org; Sat, 07 Jul 2018 14:56:22 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <david.larsson@HIDDEN>) id 1fbsNT-0000J8-Uy
 for submit <at> debbugs.gnu.org; Sat, 07 Jul 2018 14:56:16 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID,
 UNPARSEABLE_RELAY autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:34192)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <david.larsson@HIDDEN>)
 id 1fbsNT-0000J4-RP
 for submit <at> debbugs.gnu.org; Sat, 07 Jul 2018 14:56:15 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:53004)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <david.larsson@HIDDEN>) id 1fbsNS-0005ZP-OE
 for bug-guix@HIDDEN; Sat, 07 Jul 2018 14:56:15 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <david.larsson@HIDDEN>) id 1fbsNN-0000EO-UB
 for bug-guix@HIDDEN; Sat, 07 Jul 2018 14:56:14 -0400
Received: from server0.selfhosted.xyz ([185.147.237.19]:47850)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <david.larsson@HIDDEN>)
 id 1fbsNN-00005h-7T
 for bug-guix@HIDDEN; Sat, 07 Jul 2018 14:56:09 -0400
Received: from [127.0.0.1] (localhost [127.0.0.1])
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=selfhosted.xyz;
 s=dkim; t=1530989760;
 bh=g6PMq4h4tGBktan21qcbsYJrx+W2pz+/AfAzaRu6cPA=;
 h=Date:From:To:Subject;
 b=oKj76sCf3aquzBgcDJdD+ExKcYTdQgFuu91mK9uYjc6gtaz2DQaXe4pGtjLcQJmvK
 CZUO32R1hOnuz58wGj/xB3ISCBqZFnpbQV275IgAZpOzWZ35D9aZ8i/SW7CgOAMw7F
 iXloX0iZIvnLt5YNjta++cP4FoyDswR3l2uwxDYlr5Cdl2crjSajK/Mf0zpKdtdpz4
 ydT2WhAHeZ3vtz3ILFG2dkHOoIAATBrsj3zVa2x3vHGP77QKcgBZtvXx03DxKddx5G
 Ane4rdHqVgR4ydgcZ4QleHzSHr+N+6SJBKJJ11emJdZmcCVU8QC3Trw216gP30nnEW
 zpZS8sUHmEOeQ==
X-Fuglu-Suspect: 1deb6a5e5f434d9e86630ab9a39b2a4a
X-Fuglu-Spamstatus: NO
Received: from [127.0.0.1] (localhost [127.0.0.1])
Date: Sat, 7 Jul 2018 20:55:44 +0200 (CEST)
From: David Larsson <david.larsson@HIDDEN>
To: bug-guix@HIDDEN
Subject: gcc -m32 can't find stubs-32.h  
Message-ID: <alpine.LNX.2.21.999.1807072049420.7900@localhost>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset=US-ASCII
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sat, 07 Jul 2018 15:08:36 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.1 (-----)

I tried to run gcc to compile a simple c program which fails:

gcc -m32 -o m32test m32test.c
In file included from /home/user1/.guix-profile/include/features.h:388,
                  from /home/user1/.guix-profile/include/stdio.h:27,
                  from m32test.c:2:
/home/user1/.guix-profile/include/gnu/stubs.h:7:11: fatal error: 
gnu/stubs-32.h: No such file or directory
  # include <gnu/stubs-32.h>
            ^~~~~~~~~~~~~~~~
compilation terminated.

with -m64 it compiles correctly. In ~/.guix-profile/include/gnu/ I have 
the files:

libc-version.h
lib-names-64.h
lib-names.h
stubs-64.h
stubs.h

Expected result is that it silently works.

--
Best Regards
David L




Acknowledgement sent to David Larsson <david.larsson@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#32087; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 10 Jul 2018 11:30:02 UTC

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