From: David Larsson <david.larsson@selfhosted.xyz>
To: 32087@debbugs.gnu.org
Subject: bug#32087: gcc -m32 can't find stubs-32.h
Date: Sat, 7 Jul 2018 20:55:44 +0200 (CEST) [thread overview]
Message-ID: <alpine.LNX.2.21.999.1807072049420.7900@localhost> (raw)
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
next reply other threads:[~2018-07-07 19:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-07 18:55 David Larsson [this message]
2018-07-10 11:21 ` bug#32087: gcc -m32 can't find stubs-32.h Ricardo Wurmus
2018-07-10 11:45 ` Clément Lassieur
2018-07-10 13:40 ` Ricardo Wurmus
2018-07-10 14:13 ` Clément Lassieur
2018-07-10 17:40 ` Ludovic Courtès
2018-07-10 19:54 ` Clément Lassieur
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LNX.2.21.999.1807072049420.7900@localhost \
--to=david.larsson@selfhosted.xyz \
--cc=32087@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).