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

Bug#641694: linux-libc-dev: unable to compile with -m64 and errno.h



Package: linux-libc-dev
Version: 3.0.0-3
Severity: important



   * What led up to the situation?

I compile the above c file with gcc -m64 option

#include <errno.h>

int main()
{
	return 0;
}



   * What exactly did you do (or not do) that was effective (or
     ineffective)?
upgrade to testing. It works with the stable/squeeze version

   * What was the outcome of this action?

gcc -m64 main.c 
In file included from /usr/include/bits/errno.h:25:0,
                 from /usr/include/errno.h:36,
                 from main.c:1:
/usr/include/linux/errno.h:4:23: fatal error: asm/errno.h: Aucun fichier ou dossier de ce type
compilation terminated.


   * What outcome did you expect instead?

no error.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

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

-- no debconf information



Reply to: