[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#643639: marked as done (libc6-dev: #include <errno.h> in C cannot compile with -m32 on x86_64)



Your message dated Wed, 28 Sep 2011 15:47:17 +0200
with message-id <20110928134717.GB10409@hall.aurel32.net>
and subject line Re: Bug#643639: libc6-dev: #include <errno.h> in C cannot compile with -m32 on x86_64
has caused the Debian Bug report #643639,
regarding libc6-dev: #include <errno.h> in C cannot compile with -m32 on x86_64
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
643639: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=643639
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libc6-dev
Version: 2.13-21
Severity: important



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (700, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libc6-dev depends on:
ii  libc-dev-bin    2.13-21
ii  libc6           2.13-21
ii  linux-libc-dev  3.0.0-3

Versions of packages libc6-dev recommends:
ii  gcc [c-compiler]      4:4.6.1-2
ii  gcc-4.4 [c-compiler]  4.4.6-8  
ii  gcc-4.5 [c-compiler]  4.5.3-9  
ii  gcc-4.6 [c-compiler]  4.6.1-4  

Versions of packages libc6-dev suggests:
ii  glibc-doc     <none>  
ii  manpages-dev  3.32-0.2

-- no debconf information


With a simple program as the following:

#include <errno.h>

int main()
{
    return 0;
}


Compiling to 32 bits target with:

gcc -m32 test.c

results in the following error:

In file included from /usr/include/bits/errno.h:25:0,
                 from /usr/include/errno.h:36,
                 from test-errno.c:1:
/usr/include/linux/errno.h:4:23: fatal error: asm/errno.h: No such file or directory
compilation terminated.



--- End Message ---
--- Begin Message ---
On Wed, Sep 28, 2011 at 11:25:00AM +0200, Didier Trosset wrote:
> Package: libc6-dev
> Version: 2.13-21
> Severity: important
> 
> 
> 
> -- System Information:
> Debian Release: wheezy/sid
>   APT prefers testing
>   APT policy: (700, 'testing')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 3.0.0-1-amd64 (SMP w/8 CPU cores)
> Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages libc6-dev depends on:
> ii  libc-dev-bin    2.13-21
> ii  libc6           2.13-21
> ii  linux-libc-dev  3.0.0-3
> 
> Versions of packages libc6-dev recommends:
> ii  gcc [c-compiler]      4:4.6.1-2
> ii  gcc-4.4 [c-compiler]  4.4.6-8  
> ii  gcc-4.5 [c-compiler]  4.5.3-9  
> ii  gcc-4.6 [c-compiler]  4.6.1-4  
> 
> Versions of packages libc6-dev suggests:
> ii  glibc-doc     <none>  
> ii  manpages-dev  3.32-0.2
> 
> -- no debconf information
> 
> 
> With a simple program as the following:
> 
> #include <errno.h>
> 
> int main()
> {
>     return 0;
> }
> 
> 
> Compiling to 32 bits target with:
> 
> gcc -m32 test.c
> 
> results in the following error:
> 
> In file included from /usr/include/bits/errno.h:25:0,
>                  from /usr/include/errno.h:36,
>                  from test-errno.c:1:
> /usr/include/linux/errno.h:4:23: fatal error: asm/errno.h: No such file or directory
> compilation terminated.
> 

Your gcc is too old, you need version 4.6.1-5 or later.

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net


--- End Message ---

Reply to: