From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 100303 invoked by alias); 3 Aug 2016 03:11:43 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 98584 invoked by uid 89); 3 Aug 2016 03:09:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=H*MI:cygwin, H*M:cygwin X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 03 Aug 2016 03:09:20 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A001385541 for ; Wed, 3 Aug 2016 03:09:19 +0000 (UTC) Received: from [10.10.116.47] (ovpn-116-47.rdu2.redhat.com [10.10.116.47]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u7339IQb007440 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 2 Aug 2016 23:09:19 -0400 From: Yaakov Selkowitz Subject: [RFC] Removing .la files from x86 To: cygwin-apps@cygwin.com Message-ID: Date: Wed, 03 Aug 2016 03:11:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-08/txt/msg00020.txt.bz2 Libtool .la files are generally a waste of time and space. They slow down linking of other libraries with libtool, and they cause otherwise unnecessary private dependencies to be pulled in by -devel packages. Therefore, the major distros generally remove them from their packages unless they are really necessary. When we first enabled Cygwin for x86_64, as we had no backwards compatibility to worry about, I made removing all .la files the default. AFAIK this has worked well, and any missing link libraries that the presence thereof would have masked have already been fixed. In order to do the same for x86 without breaking builds of other packages, AFAICS we would need a perpetual postinstall script which will continually remove them. The downside is that (unless the script is made a *LOT* more complicated) a number of -devel packages will show up as "Incomplete" until such time they are rebuilt with a new version of cygport. Any objections? -- Yaakov