Your message dated Wed, 28 Apr 2004 07:37:46 +0200 with message-id <[EMAIL PROTECTED]> and subject line Bug#245769: gcc-3.2: -I"" makes gcc/g++ behave badly. 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; 25 Apr 2004 10:05:37 +0000 >From [EMAIL PROTECTED] Sun Apr 25 03:05:37 2004 Return-path: <[EMAIL PROTECTED]> Received: from egg.hpc2n.umu.se [130.239.45.244] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1BHgW0-0006bd-00; Sun, 25 Apr 2004 03:05:37 -0700 Received: from ingrid-h.hpc2n.umu.se (ingrid-h.hpc2n.umu.se [130.239.45.226]) by egg.hpc2n.umu.se (Postfix) with ESMTP id 2F29528DD; Sun, 25 Apr 2004 12:05:35 +0200 (MET_DST) Received: from ake by ingrid-h.hpc2n.umu.se with local (Exim 3.35 #1 (Debian)) id 1BHgVy-0001Y4-00; Sun, 25 Apr 2004 12:05:34 +0200 From: Ake Sandgren <[EMAIL PROTECTED]> To: Debian Bug Tracking System <[EMAIL PROTECTED]> Subject: gcc-3.2: -I"" makes gcc/g++ behave badly. X-Mailer: reportbug 1.50 Date: Sun, 25 Apr 2004 12:05:34 +0200 Message-Id: <[EMAIL PROTECTED]> Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2004_03_25 X-Spam-Level: X-CrossAssassin-Score: 1 Package: gcc-3.2 Version: 1:3.2.2-0pre2 Severity: normal Adding -I"" to gcc/g++ makes it behave badly. Example for gcc: ingrid-h$ gcc -c apa.c ingrid-h$ gcc -I"" -c apa.c /usr/lib/gcc-lib/i386-linux/3.2.2/../../../crt1.o: In function `_start': /usr/lib/gcc-lib/i386-linux/3.2.2/../../../crt1.o(.text+0x18): undefined reference to `main' collect2: ld returned 1 exit status Where apa.c is: #include <time.h> int a() { return 0; } -I"" to gcc/g++ makes it unable to find includefiles ingrid-h$ g++ -I/lap/clhep/include -c apa.cc ingrid-h$ g++ -I"" -I/lap/clhep/include -c apa.cc apa.cc:1:38: CLHEP/Vector/ThreeVector.h: No such file or directory where apa.cc is: #include <CLHEP/Vector/ThreeVector.h> int a() { return 0; } -- System Information Debian Release: 3.0 Architecture: i386 Kernel: Linux ingrid-h.hpc2n.umu.se 2.4.22-ingrid-p4-smp #1 SMP Fri Feb 13 09:40:18 CET 2004 i686 Locale: LANG=en_US, LC_CTYPE=en_US Versions of packages gcc-3.2 depends on: ii binutils 2.12.90.0.1-4 The GNU assembler, linker and bina ii cpp-3.2 1:3.2.2-0pre2 The GNU C preprocessor. ii gcc-3.2-base 1:3.2.2-0pre2 The GNU Compiler Collection (base ii libc6 2.2.5-11.5 GNU C Library: Shared libraries an ii libgcc1 1:3.2.2-0pre2 GCC support library. --------------------------------------- Received: (at 245769-done) by bugs.debian.org; 28 Apr 2004 05:42:45 +0000 >From [EMAIL PROTECTED] Tue Apr 27 22:42:45 2004 Return-path: <[EMAIL PROTECTED]> Received: from mail.cs.tu-berlin.de [130.149.17.13] (root) by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1BIhqH-0003al-00; Tue, 27 Apr 2004 22:42:45 -0700 Received: from bolero.cs.tu-berlin.de ([EMAIL PROTECTED] [130.149.19.1]) by mail.cs.tu-berlin.de (8.9.3p2/8.9.3) with ESMTP id HAA28549; Wed, 28 Apr 2004 07:37:47 +0200 (MET DST) Received: (from [EMAIL PROTECTED]) by bolero.cs.tu-berlin.de (8.12.10+Sun/8.12.8/Submit) id i3S5blxv029533; Wed, 28 Apr 2004 07:37:47 +0200 (MEST) From: Matthias Klose <[EMAIL PROTECTED]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <[EMAIL PROTECTED]> Date: Wed, 28 Apr 2004 07:37:46 +0200 To: Ake Sandgren <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Subject: Re: Bug#245769: gcc-3.2: -I"" makes gcc/g++ behave badly. In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> X-Mailer: VM 7.03 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2004_03_25 X-Spam-Level: X-CrossAssassin-Score: 1 Ake Sandgren writes: > Package: gcc-3.2 > Version: 1:3.2.2-0pre2 > Severity: normal > > Adding -I"" to gcc/g++ makes it behave badly. [...] > -I"" to gcc/g++ makes it unable to find includefiles > ingrid-h$ g++ -I/lap/clhep/include -c apa.cc > ingrid-h$ g++ -I"" -I/lap/clhep/include -c apa.cc > apa.cc:1:38: CLHEP/Vector/ThreeVector.h: No such file or directory there is no bug in gcc, but how you call it. using -v you can see that the directory <argument following -I> does not exist and is ignored. $ gcc -v -I -O2 -c foo.c [...] /usr/lib/gcc-lib/i486-linux/3.3.3/cc1 -quiet -v -I -O2 -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=3 foo.c -quiet -dumpbase foo.c -auxbase foo -version -o /tmp/ccD6ackd.s ignoring nonexistent directory "-O2"