unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#32087: gcc -m32 can't find stubs-32.h
@ 2018-07-07 18:55 David Larsson
  2018-07-10 11:21 ` Ricardo Wurmus
  0 siblings, 1 reply; 7+ messages in thread
From: David Larsson @ 2018-07-07 18:55 UTC (permalink / raw)
  To: 32087

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-07-10 19:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-07 18:55 bug#32087: gcc -m32 can't find stubs-32.h David Larsson
2018-07-10 11:21 ` 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

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).