delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/04/02/09:19:56

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2918E388A03D
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1585833553;
bh=0/GzBdUpqzITGylN1wkCmszNNVwSuyp/WU4pExcVdXA=;
h=Date:To:Subject:References:List-Id:List-Unsubscribe:List-Archive:
List-Post:List-Help:List-Subscribe:From:Reply-To:From;
b=Gxtv5QRe6h1nyJ3yvR9tvExMRn5QzP7v8RJNd0N8lARCXSktlKOS+ZFyUW/7NzUuO
LxEUQVcxjYkdj33KSZM7uUh7V4O58Ks/3Cp29/cNPlE3SzdM9s7x4zRt7JLEYOIysV
0YYLFQQJ/DGIT8C+dvV7c2DNUqGiNkK6ReytTvAw=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9FD0A388A030
X-YMail-OSG: GHfoxdAVM1kXTfEeg7SnwuBQeVtcLCf1tMnPeTfYtX_Njytp7wVBfAqq8JWgTaN
3rksUmQ3bGBTMiHksYsR6pj8Yd.udQBrGultKDWVHDITG0pCJT5RKnv_jVeJP_91oIpWDFSohxpy
eGdJIxzyon4pwlUS4x5oGmxzW9O9jBhoJDdPCVj6PKkaCsDOf9mwaKOJMwr6F3h3cKs164VnSRPv
lawaOE4jIzrcTE_V6MhfeF.plcbA3PRrHfSYLf4TQYfSp0Qw4RUlJBUwaPlSBjv_FyBeP0_IHaP7
v8a5UhCnypWNSpR.qcaowgzeQoN0eQ4nelcxWYOK5GAOGpcHHL4ZuAwXTjeiPgGVcyJUu1CSGql1
Dd.CmwI09L7kbDD4BOxVPetI2IN8qmILCUR5B2TXlDp.HfYHn.oe6FWgpw5z8UYEWNVQUvAkWCYt
P8DJ9Rt036AIlnOD_G9VlAZdqfaOm_18TqAPnNg8jqTdGa5FVK8L_YeYQ7_SLsgzyhYtwWymMZG6
v_ASJiyVEToD2njV8fMRUm8zntMXQDBYCjlO30valcM7CQ_H6sYzjLmp8GtOsoGxyU1D8rAqx2uV
RIAJseX82Mwhl3aNRoNVr.QRQK0XTgplcRRnDCoifzrQEltGwrMpEa84yl.qWYH8vyoYKhT.6Zoi
IK6wIv3dtCMDKtRqqdzKPsT14Dpu.eT7S7nr34eSEwlceDl9A6qH8B30XpWyiSE03vuT1SeZvkq6
RT1uU4ZcS2by6ob9SEdppGa1Bfxcq.H2jWhh3EwkXAbT0LtMWV3LqPw0Fbw4Fg_F6nKWoc2LAEwP
jybO5_1LbQAugvJb2MRN2khOJHbWgwci3DPUmDnPgj7ldRcGoGyvoWVczIPeKHB_IerL4._48vJz
gINo5KpquLKue92vAW.UHWiUDYpDZLxanYlXBUSxtzV2NKYFLjLclK2wOOTsCRghQK6Pg9ivja0s
7DIc0KUv0kQYEd6O0SHyaYOoEq9DNgEKzJ6Wd9z5_2wBfGkkR_Do0XOLnBoREWTUBFaspZ5FCAZG
UAAiQjBhIimjxw3GaBC5jh4.MjZNeFPJR2pvy1kVdzqKDOB0BLhsXJW49Q8jP8KZCJ55CP52HZoo
pV62LMLX29mYxnAlqfDKZbs8oYNVweM1PVC7izMnm_U7dOfKit9aVAf8uxGmw09wnE3LBwWVGzQe
lxTTypeQKP.i0TQ3up8JTDSwpitIHL6g7IvZ1K3gRZmVQzWRi2jks0XQfdHXRToMZXNxCRIN6XpU
2CafNak5viSp2v1C1UjUKClY.mksj201GRbuBz93DCjvRZ0tF4MNNBLAYhmeG33iBvT3ci.0Pqh5
WDR2cQSPijFUwyVM-
Date: Thu, 2 Apr 2020 13:19:03 +0000 (UTC)
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Message-ID: <1584273853.1924396.1585833543760@mail.yahoo.com>
Subject: Path issue with cygwin and g++ -fprofile-generate and -fprofile-use
command
MIME-Version: 1.0
References: <1584273853 DOT 1924396 DOT 1585833543760 DOT ref AT mail DOT yahoo DOT com>
X-Mailer: WebService/1.1.15585 YMailNorrin Mozilla/5.0 (X11; Ubuntu;
Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0
X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: "vivien.clauzon--- via Cygwin" <cygwin AT cygwin DOT com>
Reply-To: "vivien DOT clauzon AT yahoo DOT fr" <vivien DOT clauzon AT yahoo DOT fr>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

Hi cygwin users,
today I saw an issue when trying to use profile guided optimization of g++ (9.3.0) inside cygwin 3.1.4 with path specified

uname -a gives
CYGWIN_NT-10.0 3.1.4(0.340/5 /3) 2020-02-19 x86_64 Cygwin
More specificaly if I try to give a path argument like 

 -fprofile-generate=profile
-fprofile-use=profile

g++ outputs 

profiling:profile#path#to#here\test.gcda:Skip

Sample to reproduce :
test.cc :int main(int , char**) { return 0; }
> g++ -profile-generate=profile test.cc> ./a.exe> g++ -profile-use=profile test.cc
will output :
 profiling:profile#path#to#here\test.gcda:Skip

and during second compilation g++ will complain about missing profile as i hasn't been crated.

This is also the case if an absolute path is given, and also if the target directory already exists.
Without specifiyng a path argument, profile generation and use are fine.
Am i doing something wrong ?
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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