delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/09/10/08:22:21

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:to:from:subject:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=lxO
TZjfY52Y/GIaUtodMi3XVDAyAEG9vgOxjrNsOUTXpaJSYhMdhcPkLg1t+CrXOibz
oaik1WM08ZJ+z6pmPMUNASa5ZoLKRR5HZeVMeGfr1wS8N+c5l3PaKQmO6sbR7bdx
M1WcuuwSaMIEhGGDrtOqROb3faR3N5WkPdwXN9WE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:to:from:subject:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=8Ll3yt8M9
QIbfcY0RBuxAIPtNF8=; b=MBom1nE7dXu0GWdqcuBhl5/h0q/vlfHm53QggsURu
Y2KpV3P526l67pxtRe+/BE+zEe7V/L1ab4EzTFiAJnwmC7DB23WacY3sN3wAx+5/
1CNJxyHPxD99mbCIbOUvIPdXMkLIdSY6CzpX6GM4kODpWaNMS3LBU5gUAku7MVma
TM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_20,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: BLU004-OMC1S21.hotmail.com
X-TMN: [5LvmrCGKRzvqjP/H85UpQZIhlMLyWBjl]
Message-ID: <BLU436-SMTP19207F39853E2E1301607ABC0510@phx.gbl>
To: cygwin AT cygwin DOT com
From: =?UTF-8?Q?Sebastian_G=c3=b6tzinger?= <bastiangoe AT hotmail DOT com>
Subject: 2.2.1(0.289/5/3), GCC5.2.0 Possible Bug
Date: Thu, 10 Sep 2015 14:21:57 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t8ACMHpW002929

Dear Ladies and Gentlemen,

We had some issues with our program (a wrapper for compiler).

Somehow, not all arguments have been transported correctly to the compiler.

We now bootstrapped gcc-5.2.0 and let it run alone with gdb for cygwin.

During that, we encountered, that during the compilerinvocation, the 
Doublequotes did not got escaped correctly. [1]

Because of that, gcc tells us, it has no input files... so how could we 
get rid of that?

Best regards,
Sebastian Götzinger.

[1]
$ gdb --args gcc-5.2.0.exe -v -E -DFOO=\"tt.h\" tt.c
GNU gdb (GDB) 7.8
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-cygwin".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from gcc-5.2.0.exe...done.
(gdb) b main
Breakpoint 1 at 0x10046af36: file ../../gcc-5.2.0/gcc/gcc-main.c, line 42.
(gdb) r
Starting program: /usr/local/bin/gcc-5.2.0.exe -v -E -DFOO=\"tt.h\" tt.c
[New Thread 5764.0x1e54]
[New Thread 5764.0x8c4]

Breakpoint 1, main (argc=4, argv=0xc3caf0) at ../../gcc-5.2.0/gcc/gcc-main.c:42
42      {
(gdb) p argv[3]
$2 = 0x600042ab0 "-DFOO=\\tt.h\" tt.c"
(gdb)


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019