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

Bug#218447: marked as done (linux-kernel-headers: INTEL C++ Compiler not working anymore)



Your message dated Sun, 02 Nov 2003 11:19:25 -0500
with message-id <E1AGKwn-0000E3-00@auric.debian.org>
and subject line Bug#218447: fixed in linux-kernel-headers 2.5.999-test7-bk-6
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 31 Oct 2003 13:01:37 +0000
>From manz@intes.de Fri Oct 31 07:01:36 2003
Return-path: <manz@intes.de>
Received: from mail.permas.de (netserv.local) [195.143.204.226] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AFYuF-0001ti-00; Fri, 31 Oct 2003 07:01:36 -0600
Received: from hardy.local ([192.168.1.71] ident=mail)
	by netserv.local with esmtp (Exim 3.35 #1 (Debian))
	id 1AFYuD-0006Iz-00; Fri, 31 Oct 2003 14:01:33 +0100
Received: from manz by hardy.local with local (Exim 3.36 #1 (Debian))
	id 1AFYuC-0002aA-00; Fri, 31 Oct 2003 14:01:32 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Hartmut Manz <manz@intes.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: linux-kernel-headers: INTEL C++ Compiler not working anymore
X-Mailer: reportbug 2.36
Date: Fri, 31 Oct 2003 14:01:32 +0100
Message-Id: <E1AFYuC-0002aA-00@hardy.local>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-6.9 required=4.0
	tests=BAYES_70,HAS_PACKAGE,PATCH_UNIFIED_DIFF
	autolearn=ham version=2.53-bugs.debian.org_2003_10_28
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_10_28 (1.174.2.15-2003-03-30-exp)

Package: linux-kernel-headers
Version: 2.5.999-test7-bk-5
Severity: important
Tags: patch sid

The include file linux/compiler.h assumes that the INTEL C++ compiler
sets the SYMBOL GCC. This is not true (at least not for V7.1)

Here are a list of the defined preprocessor symbols
permnew@xeon1:~> icc -v -E k.c
/opt/intel/compiler70/ia32/bin/mcpcom  \
    -_g \
    -mP3OPT_inline_alloca \
    -D__HONOR_STD \
    -D__ICC=700 \
    -D__INTEL_COMPILER=700 \
    -D_M_IX86=700 \
    "-_Asystem(unix)" \
    -D__ELF__ \
    "-_Acpu(i386)" \
    "-_Amachine(i386)" \
    -D__PTRDIFF_TYPE__=int \
    -D__SIZE_TYPE__=unsigned \
    -D__WCHAR_TYPE__=int \
    "-D__WINT_TYPE__=unsigned int" \
    -D__QMSPP_ \
    -D__OPTIMIZE__ \
    -D__extension__= \
    -D__GXX_ABI_VERSION=100 \
    -D__USER_LABEL_PREFIX__= \
    -D__unix__ \
    -D__unix \
    -D__linux__ \
    -D__linux \
    -D__gnu_linux__ \
    -B \
    -Dunix \
    -Dlinux \
    -D__i386 \
    -D__i386__ \
    -Di386 \
    -_3 \
    -_b \
    -E \
    --mspp \
    -I/opt/intel/compiler70/ia32/include \
    -I/opt/intel/compiler70/ia32/substitute_headers \
    -I/usr/include \
    -mP1OPT_print_version=FALSE \
    -mP1OPT_version=700 \
    k.c

Here are a patch which fixes the problem for me

--- compiler.h_orig     2003-10-31 13:55:57.000000000 +0100
+++ compiler.h  2003-10-31 13:45:19.000000000 +0100
@@ -15,6 +15,8 @@
 # include <linux/compiler-gcc3.h>
 #elif __GNUC__ == 2
 # include <linux/compiler-gcc2.h>
+#elif __INTEL_COMPILER >= 700
+# include <linux/compiler-intel.h>
 #else
 # error Sorry, your compiler is too old/not recognized.
 #endif
@@ -23,7 +25,7 @@
  * coming from above header files here
  */
 #ifdef __INTEL_COMPILER
-# include <linux/compiler-itel.h>
+# include <linux/compiler-intel.h>
 #endif

 /*



-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux hardy 2.6.0-test9-mm1 #1 Thu Oct 30 14:54:08 CET 2003 i686
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15

-- no debconf information


---------------------------------------
Received: (at 218447-close) by bugs.debian.org; 2 Nov 2003 16:23:09 +0000
>From katie@auric.debian.org Sun Nov 02 10:23:05 2003
Return-path: <katie@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AGL0K-0000qQ-00; Sun, 02 Nov 2003 10:23:04 -0600
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 1AGKwn-0000E3-00; Sun, 02 Nov 2003 11:19:25 -0500
From: Daniel Jacobowitz <dan@debian.org>
To: 218447-close@bugs.debian.org
X-Katie: $Revision: 1.42 $
Subject: Bug#218447: fixed in linux-kernel-headers 2.5.999-test7-bk-6
Message-Id: <E1AGKwn-0000E3-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Sun, 02 Nov 2003 11:19:25 -0500
Delivered-To: 218447-close@bugs.debian.org

Source: linux-kernel-headers
Source-Version: 2.5.999-test7-bk-6

We believe that the bug you reported is fixed in the latest version of
linux-kernel-headers, which is due to be installed in the Debian FTP archive:

linux-kernel-headers_2.5.999-test7-bk-6.diff.gz
  to pool/main/l/linux-kernel-headers/linux-kernel-headers_2.5.999-test7-bk-6.diff.gz
linux-kernel-headers_2.5.999-test7-bk-6.dsc
  to pool/main/l/linux-kernel-headers/linux-kernel-headers_2.5.999-test7-bk-6.dsc
linux-kernel-headers_2.5.999-test7-bk-6_i386.deb
  to pool/main/l/linux-kernel-headers/linux-kernel-headers_2.5.999-test7-bk-6_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 218447@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Jacobowitz <dan@debian.org> (supplier of updated linux-kernel-headers package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat,  1 Nov 2003 17:34:44 -0500
Source: linux-kernel-headers
Binary: linux-kernel-headers
Architecture: source i386
Version: 2.5.999-test7-bk-6
Distribution: unstable
Urgency: low
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Changed-By: Daniel Jacobowitz <dan@debian.org>
Description: 
 linux-kernel-headers - Linux Kernel Headers for development
Closes: 212101 218387 218447 218482
Changes: 
 linux-kernel-headers (2.5.999-test7-bk-6) unstable; urgency=low
 .
   * Add .cvsignore.
   * Replace old versions of dvb-dev (Closes: #218387).
   * Don't use __u64 in <asm-i386/byteorder.h> if it wasn't defined.
   * Don't include <linux/config.h> in <asm-alpha/param.h> (Closes: #212101).
   * Disable the guts of <linux/compiler.h> in userspace
     (Closes: #218447, #218482).
Files: 
 33655922432c4159f0389ca92c8b745d 856 devel standard linux-kernel-headers_2.5.999-test7-bk-6.dsc
 3155b0345efe141a24a2e9f2fd9c28ef 40248 devel standard linux-kernel-headers_2.5.999-test7-bk-6.diff.gz
 dd3125b1259dfb7d3d5bf02c05413b81 1374714 devel standard linux-kernel-headers_2.5.999-test7-bk-6_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/pSv9bgOPXuCjg3cRAtNmAJ9zTYhTdKrnnrK2HUrwCTEXWidaMQCg2IEO
ZDXgCIMD5wTb7/zRJ3RkN4g=
=6cC5
-----END PGP SIGNATURE-----



Reply to: