From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11015 invoked by alias); 11 Jul 2013 07:28:10 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 10978 invoked by uid 89); 11 Jul 2013 07:28:04 -0000 X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_05,KHOP_RCVD_UNTRUST,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,SPF_HELO_PASS,T_MANY_HDRS_LCASE autolearn=ham version=3.3.1 Received: from mailout4.w1.samsung.com (HELO mailout4.w1.samsung.com) (210.118.77.14) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 11 Jul 2013 07:28:02 +0000 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MPR004NXGQFA830@mailout4.w1.samsung.com> for cygwin@cygwin.com; Thu, 11 Jul 2013 08:27:59 +0100 (BST) Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id E5.CC.07878.F7E5ED15; Thu, 11 Jul 2013 08:27:59 +0100 (BST) Received: from fedinw7x64 ([106.109.9.113]) by eusync2.samsung.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0MPR00M99GQMPY20@eusync2.samsung.com> for cygwin@cygwin.com; Thu, 11 Jul 2013 08:27:59 +0100 (BST) From: Fedin Pavel To: cygwin@cygwin.com Subject: libargp: argp_program_version does not work Date: Thu, 11 Jul 2013 10:17:00 -0000 Message-id: <000001ce7e08$2b866830$82933890$%fedin@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-SW-Source: 2013-07/txt/msg00218.txt.bz2 Hello! I have found a problem: argp_program_version string is ignored by libargp. I guess the problem happens because of DLL's nature. DLLs cannot contain unresolved symbols, so the DLL has own version of argp_program_version which is always initialized to NULL. There's no way to override it. Is it possible to fix this somehow ? I guess it can be done if we move this variable to libargp.dll.a stub library. In this case, a static definition of this variable will be picked up from there if there's no definition in the program. Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia -- 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