delorie.com/archives/browse.cgi | search |
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:date:message-id:from:to:subject:content-type | |
:mime-version:content-transfer-encoding; q=dns; s=default; b=sdW | |
33Ummq4eV2xdCoHrWIb+WA7QmsNBQbVUNzS+nJ5fDDCtJEWjqYYKC1oTgDivdkac | |
UZ6gTDuyqHNWNSXsQka5j7/p5ELgzVN6vDFV5ylDQLZEZl/NO6q1+h3B6BsHM3Kv | |
6zshaHQYtX1Hb2Tvz2JfMsJlSGMN/m3nTxkgoQis= | |
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:date:message-id:from:to:subject:content-type | |
:mime-version:content-transfer-encoding; s=default; bh=hGcf7zAjq | |
SCgIdTQ+yFe1glCbqs=; b=XRxHi8ZGHyJo2pE8vkuTB8klJo8sCtk8VnNj7dYtt | |
meLLpK+rJuSiIgAnPo20Pig2ieZ3pt2Jj/rdwlhfmYnOtpCWOdWj+yTbbtUgzWXD | |
5YXLRiwCtav6RPgRWqiGexKb+JckiK5xtYQ7oneDbygg3VaDSxdxB4J2JS1FX+AA | |
hw= | |
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-Spam-SWARE-Status: | No, score=-7.6 required=5.0 tests=BAYES_00,GIT_PATCH_2,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=freundlichen, technologies, schon, mu |
X-HELO: | smtprelay06.ispgateway.de |
Date: | Tue, 25 Feb 2020 15:39:50 +0100 |
Message-ID: | <20200225153950.Horde.z195jFsJbgwsyFSP_AqtyQ3@webmail.df.eu> |
From: | matthias AT koefferlein DOT de |
To: | cygwin AT cygwin DOT com |
Subject: | qmake-qt5 does not support QMAKE_POST_LINK on shared object targets |
User-Agent: | Internet Messaging Program (IMP) H5 (6.0.4) |
MIME-Version: | 1.0 |
Note-from-DJ: | This may be spam |
Dear qt5-base maintainers, I noticed that QMAKE_POST_LINK is not applied to shared object targets in qmake (version 3.1 from Qt 5.9.4). The purpose of QMAKE_POST_LINK is to add custom script statements after the link step in qmake-generated Makefiles. I checked cygwin's package files for qt5-base and found this patch which IMHO is lacking QMAKE_POST_LINK support. The qmake.patch is taken from here: https://cygwin.com/git-cygwin-packages/?p=git/cygwin-packages/qt5-base.git;a=blob;f=5.9-cygwin-qmake.patch;h=e6feef3d3a19e5e412adf6e4f2b9ac512553cdc1;hb=HEAD I am referring to this part of the qmake.patch file: 72 if (!isystem.isEmpty() && isSystemInclude(inc.toQString())) 73 @@ -603,6 +603,14 @@ UnixMakefileGenerator::writeMakeParts(QT 74 if(!project->isEmpty("QMAKE_POST_LINK")) 75 t << "\n\t" << var("QMAKE_POST_LINK"); 76 t << endl << endl; 77 + } else if(!project->isEmpty("QMAKE_CYGWIN_SHLIB")) { 78 + t << "\n\t" 79 + << "-$(DEL_FILE) $(TARGET) $(TARGET0)" << "\n\t" 80 + << var("QMAKE_LINK_SHLIB_CMD") << "\n\t"; 81 + if(!destdir.isEmpty()) 82 + t << "-$(DEL_FILE) " << destdir << "$(TARGET)\n\t" 83 + << "-$(DEL_FILE) " << destdir << "$(TARGET0)\n\t" 84 + << "-$(MOVE) $(TARGET) $(TARGET0) " << destdir; ---- # IMHO this part of the patch is missing to enable QMAKE_POST_LINK: if(!project->isEmpty("QMAKE_POST_LINK")) t << "\n\t" << var("QMAKE_POST_LINK"); t << endl << endl; ---- 85 } else if(project->isEmpty("QMAKE_HPUX_SHLIB")) { 86 t << "\n\t"; 87 Thanks for considering this bug report. Best regards, Matthias -----Original Message----- From: Gratz Achim (IFD PMM TI ICTD) <Achim DOT Gratz AT infineon DOT com> Sent: Dienstag, 25. Februar 2020 09:26 To: Koefferlein Matthias (IFAG DES TCP FLP) <Matthias DOT Koefferlein AT infineon DOT com> Subject: RE: KLayout cygwin build Hallo Matthias, > Ok, verstehe. Dann ist der execinfo-Patch auch eine Lösung - es geht > ja nur um den crash handler. Genauer um den Stacktrace. > Das build-Skript macht eigentlich ja nicht viel. Wenn Du die Variablen > selber definierst, kannst Du den qmake auch direkt aufrufen. Sind aber > halt eine Menge Variablen. Ich krieg' das schon hin, ich muß es ja normalerweise nur einmal durchturnen. > Ich bekomme übrigens ein: > > fatal: repository > 'https://cygwin.com/git-cygwin-packages/?p=git/cygwin- > packages/qt5-base.git/' not found > > :( Probier's nochmal, irgendjemand scheint gerade den Sourceware-Server zu DOSen. Mit freundlichen Grüßen. -- mailto:Achim DOT Gratz AT Infineon DOT com HV-CMOS Technology Development and Process Integration Office: +49 351 886 17 84 Fax: +49 351 886 84 17 84 Infineon Technologies Dresden GmbH & Co. KG Sitz der Gesellschaft: Dresden Registergericht: Dresden HRA 10404 Persönlich haftende Gesellschafterin: Infineon Technologies Dresden Verwaltungs GmbH Vorsitzender des Aufsichtsrats: Pantelis Haidas Geschäftsführer: Dr. Rutger Wijburg, Raik Brettschneider Sitz der Gesellschaft: Neubiberg Registergericht: München HRB 229585 ----- Ende der weitergeleiteten Nachricht ----- -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |