From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Larsson Subject: bug#32087: gcc -m32 can't find stubs-32.h Date: Sat, 7 Jul 2018 20:55:44 +0200 (CEST) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fbsZu-0006jF-KV for bug-guix@gnu.org; Sat, 07 Jul 2018 15:09:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fbsZq-0000ND-HZ for bug-guix@gnu.org; Sat, 07 Jul 2018 15:09:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:42525) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fbsZq-0000N5-DX for bug-guix@gnu.org; Sat, 07 Jul 2018 15:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fbsZq-0008GB-4o for bug-guix@gnu.org; Sat, 07 Jul 2018 15:09:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53004) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fbsNS-0005ZP-OE for bug-guix@gnu.org; Sat, 07 Jul 2018 14:56:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fbsNN-0000EO-UB for bug-guix@gnu.org; Sat, 07 Jul 2018 14:56:14 -0400 Received: from server0.selfhosted.xyz ([185.147.237.19]:47850) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fbsNN-00005h-7T for bug-guix@gnu.org; Sat, 07 Jul 2018 14:56:09 -0400 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 32087@debbugs.gnu.org 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 ^~~~~~~~~~~~~~~~ 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