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

Previous Next

Package: guix;

Reported by: David Larsson <david.larsson <at> selfhosted.xyz>

Date: Sat, 7 Jul 2018 19:09:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: David Larsson <david.larsson <at> selfhosted.xyz>
To: 32087 <at> debbugs.gnu.org
Subject: bug#32087: gcc -m32 can't find stubs-32.h  
Date: Sat, 7 Jul 2018 20:55:44 +0200 (CEST)
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




This bug report was last modified 6 years and 338 days ago.

Previous Next


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