GNU bug report logs -
#32087
gcc -m32 can't find stubs-32.h
Previous Next
To reply to this bug, email your comments to 32087 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#32087
; Package
guix
.
(Sat, 07 Jul 2018 19:09:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
David Larsson <david.larsson <at> selfhosted.xyz>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Sat, 07 Jul 2018 19:09:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-guix <at> gnu.org
:
bug#32087
; Package
guix
.
(Tue, 10 Jul 2018 11:23:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 32087 <at> debbugs.gnu.org (full text, mbox):
David Larsson <david.larsson <at> selfhosted.xyz> writes:
> I tried to run gcc to compile a simple c program which fails:
Are you using the “gcc-toolchain” package?
--
Ricardo
Information forwarded
to
bug-guix <at> gnu.org
:
bug#32087
; Package
guix
.
(Tue, 10 Jul 2018 11:46:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 32087 <at> debbugs.gnu.org (full text, mbox):
Ricardo Wurmus <rekado <at> elephly.net> writes:
> David Larsson <david.larsson <at> selfhosted.xyz> writes:
>
>> I tried to run gcc to compile a simple c program which fails:
>
> Are you using the “gcc-toolchain” package?
I reproduce that bug with gcc-toolchain.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#32087
; Package
guix
.
(Tue, 10 Jul 2018 13:41:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 32087 <at> debbugs.gnu.org (full text, mbox):
Clément Lassieur <clement <at> lassieur.org> writes:
> Ricardo Wurmus <rekado <at> elephly.net> writes:
>
>> David Larsson <david.larsson <at> selfhosted.xyz> writes:
>>
>>> I tried to run gcc to compile a simple c program which fails:
>>
>> Are you using the “gcc-toolchain” package?
>
> I reproduce that bug with gcc-toolchain.
If you’re trying to compile for i686, should you not be using the i686
variant of gcc-toolchain? You can build it with
guix build --system=i686-linux gcc-toolchain
(I don’t really know much about this, but we don’t build GCC with
multilib support.)
--
Ricardo
Information forwarded
to
bug-guix <at> gnu.org
:
bug#32087
; Package
guix
.
(Tue, 10 Jul 2018 14:14:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 32087 <at> debbugs.gnu.org (full text, mbox):
Ricardo Wurmus <rekado <at> elephly.net> writes:
> Clément Lassieur <clement <at> lassieur.org> writes:
>
>> Ricardo Wurmus <rekado <at> elephly.net> writes:
>>
>>> David Larsson <david.larsson <at> selfhosted.xyz> writes:
>>>
>>>> I tried to run gcc to compile a simple c program which fails:
>>>
>>> Are you using the “gcc-toolchain” package?
>>
>> I reproduce that bug with gcc-toolchain.
>
> If you’re trying to compile for i686, should you not be using the i686
> variant of gcc-toolchain? You can build it with
>
> guix build --system=i686-linux gcc-toolchain
How would you install that variant?
> (I don’t really know much about this, but we don’t build GCC with
> multilib support.)
This option is in the gcc manual that we package, so I think it should
be supported.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#32087
; Package
guix
.
(Tue, 10 Jul 2018 17:41:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 32087 <at> debbugs.gnu.org (full text, mbox):
Hello,
Clément Lassieur <clement <at> lassieur.org> skribis:
> Ricardo Wurmus <rekado <at> elephly.net> writes:
>
>> Clément Lassieur <clement <at> lassieur.org> writes:
>>
>>> Ricardo Wurmus <rekado <at> elephly.net> writes:
>>>
>>>> David Larsson <david.larsson <at> selfhosted.xyz> writes:
>>>>
>>>>> I tried to run gcc to compile a simple c program which fails:
>>>>
>>>> Are you using the “gcc-toolchain” package?
>>>
>>> I reproduce that bug with gcc-toolchain.
>>
>> If you’re trying to compile for i686, should you not be using the i686
>> variant of gcc-toolchain? You can build it with
>>
>> guix build --system=i686-linux gcc-toolchain
>
> How would you install that variant?
Currently you’d have to do:
guix package -i `guix build -s i686-linux gcc-toolchain`
which is not ideal.
>> (I don’t really know much about this, but we don’t build GCC with
>> multilib support.)
>
> This option is in the gcc manual that we package, so I think it should
> be supported.
Yeah. The problem is that currently we don’t build glibc with multilib
support. Something for the next ‘core-updates’ cycle if you feel like
working on it! :-)
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#32087
; Package
guix
.
(Tue, 10 Jul 2018 19:55:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 32087 <at> debbugs.gnu.org (full text, mbox):
Ludovic Courtès <ludo <at> gnu.org> writes:
> Yeah. The problem is that currently we don’t build glibc with multilib
> support. Something for the next ‘core-updates’ cycle if you feel like
> working on it! :-)
I can't work on it and I also don't need it at all. I'm just confirming
what David says :-)
This bug report was last modified 6 years and 337 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.