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: ludo <at> gnu.org (Ludovic Courtès)
To: Clément Lassieur <clement <at> lassieur.org>
Cc: Ricardo Wurmus <rekado <at> elephly.net>, David Larsson <david.larsson <at> selfhosted.xyz>, 32087 <at> debbugs.gnu.org
Subject: bug#32087: gcc -m32 can't find stubs-32.h
Date: Tue, 10 Jul 2018 19:40:24 +0200
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’.




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.