Received: (at 18229) by debbugs.gnu.org; 9 Aug 2014 19:46:17 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 09 15:46:17 2014 Received: from localhost ([127.0.0.1]:36727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1XGCam-0001vS-CR for submit <at> debbugs.gnu.org; Sat, 09 Aug 2014 15:46:16 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]:38680) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <eggert@HIDDEN>) id 1XGCaj-0001v9-QG for 18229 <at> debbugs.gnu.org; Sat, 09 Aug 2014 15:46:14 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 9DE7439E801B for <18229 <at> debbugs.gnu.org>; Sat, 9 Aug 2014 12:46:07 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nN7OLwPaxspX for <18229 <at> debbugs.gnu.org>; Sat, 9 Aug 2014 12:46:03 -0700 (PDT) Received: from [192.168.1.9] (pool-71-177-17-123.lsanca.dsl-w.verizon.net [71.177.17.123]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 5986E39E8012 for <18229 <at> debbugs.gnu.org>; Sat, 9 Aug 2014 12:46:03 -0700 (PDT) Message-ID: <53E67A7A.7090009@HIDDEN> Date: Sat, 09 Aug 2014 12:46:02 -0700 From: Paul Eggert <eggert@HIDDEN> Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: 18229 <at> debbugs.gnu.org Subject: Re: LIBS vs LIBOBJS in src/Makefile.in Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: 18229 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.0 (---) Although I also dislike configure's mishandling of LIBS and would like to see it fixed, I don't think the proposed patch would work well, due to the funky treatment of LIBS in configure.ac. Please look there for uses of SAVE_LIBS, pre_PKG_CONFIG_LIBS, PKG_CHECK_MODULES, LIBS_SYSTEM, LIB_PTHREAD, etc., and note that AC_CHECK_LIB etc. also futz with LIBS.
bug-gnu-emacs@HIDDEN
:bug#18229
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 9 Aug 2014 13:19:09 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 09 09:19:09 2014 Received: from localhost ([127.0.0.1]:36184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1XG6Y8-0007cE-TT for submit <at> debbugs.gnu.org; Sat, 09 Aug 2014 09:19:09 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43401) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <rrt@HIDDEN>) id 1XG6Y6-0007bn-Gx for submit <at> debbugs.gnu.org; Sat, 09 Aug 2014 09:19:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <rrt@HIDDEN>) id 1XG6Y0-0005xQ-7i for submit <at> debbugs.gnu.org; Sat, 09 Aug 2014 09:19:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rrt@HIDDEN>) id 1XG6Y0-0005xM-4b for submit <at> debbugs.gnu.org; Sat, 09 Aug 2014 09:19:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45120) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <rrt@HIDDEN>) id 1XG6Xy-0002kr-RO for bug-gnu-emacs@HIDDEN; Sat, 09 Aug 2014 09:18:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <rrt@HIDDEN>) id 1XG6Xx-0005xA-Nt for bug-gnu-emacs@HIDDEN; Sat, 09 Aug 2014 09:18:58 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38270) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rrt@HIDDEN>) id 1XG6Xx-0005x6-Jx for bug-gnu-emacs@HIDDEN; Sat, 09 Aug 2014 09:18:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41042) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <rrt@HIDDEN>) id 1XG6Xx-0003El-Af for bug-emacs@HIDDEN; Sat, 09 Aug 2014 09:18:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <rrt@HIDDEN>) id 1XG6Xu-0005wn-7V for bug-emacs@HIDDEN; Sat, 09 Aug 2014 09:18:57 -0400 Received: from mail-la0-x230.google.com ([2a00:1450:4010:c03::230]:56552) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rrt@HIDDEN>) id 1XG6Xt-0005wf-Sy for bug-emacs@HIDDEN; Sat, 09 Aug 2014 09:18:54 -0400 Received: by mail-la0-f48.google.com with SMTP id gl10so5375355lab.21 for <bug-emacs@HIDDEN>; Sat, 09 Aug 2014 06:18:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; h=mime-version:date:message-id:subject:from:to:content-type; bh=bXf6fCfW8j0qpSDgtqVUWpDRaBqLMevaODqCGCl6tug=; b=LLzGvuEZK4b1a7zvDjWpUXlaxRxeQAo9rrp5Dsrg9kq05PgU1cpnVhor8OEjWxKdcc HhFxXhVRjoLVh482W+Ovt8zi+EyRXz8KhKDyydeUTjXd8eXK/k7BA/JtV+cfpZZBkKU4 SVVjpavko80+IPDdxc/KEo+xSue2XUSqrZqf4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=bXf6fCfW8j0qpSDgtqVUWpDRaBqLMevaODqCGCl6tug=; b=I1N5NnFKpRq96PXt+qynGmM5lSpMMzcuhbXutCMRrpdC0vo6eiayvN97FbMbcP026y MRWhe7Q/QGGS7Bw58PBMjodO8uESYxdmRFyG0tcEbSCgZiva29zTIZeL8rhnjC51XRYG Bn9aA23b5zYXzq06hboRNQzc3EFcGFDWlUofjlXgI2KzDkElvNSv6Q33lwt9ssNcGlYP vRoIugYqxG0BojXQmX82TavHN3DGVmk68RiuSIn7yJeId24+gRz7/Vs1zuwvMwMVZ4dE RN7kXRapvdoKs9EBJPjE+2j+VrgJ0N9v9hVlz9mvd0zQplX1hggu3EzAtJrQlV4IRgva qYkA== X-Gm-Message-State: ALoCoQmQQGOlOI2SVik2dvZSB9PIGrkGZO20m/py3HPO5Soe2G0hTm5elg4DyZX8S9KDyd2nZl1t MIME-Version: 1.0 X-Received: by 10.153.7.101 with SMTP id db5mr27090330lad.46.1407590332729; Sat, 09 Aug 2014 06:18:52 -0700 (PDT) Received: by 10.152.246.10 with HTTP; Sat, 9 Aug 2014 06:18:52 -0700 (PDT) Date: Sat, 9 Aug 2014 14:18:52 +0100 Message-ID: <CAOnWdoj3ORm6SBTk4DK2xfJAFahgTwT3rUCaMxveseXX=4yRvw@HIDDEN> Subject: LIBS vs LIBOBJS in src/Makefile.in From: Reuben Thomas <rrt@HIDDEN> To: bug-emacs <bug-emacs@HIDDEN> Content-Type: multipart/alternative; boundary=001a11347352c5a236050032292f X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.1 (----) --001a11347352c5a236050032292f Content-Type: text/plain; charset=UTF-8 Trying to pass an extra library to configure using LIBS, as configure --help says I can, I found it did nothing, and traced it to src/Makefile.in, which deliberately ignores LIBS. This dates back 14 years, and whatever it was intended to fix no longer seems to be a problem. May I install the following patch? With the patch applied, supplying LIBS on the configure command-line worked exactly as it should. --- src/Makefile.in 2014-07-13 15:50:35 +0000 +++ src/Makefile.in 2014-08-09 11:34:12 +0000 @@ -44,10 +44,7 @@ # BSD doesn't have it as a default. @SET_MAKE@ MKDIR_P = @MKDIR_P@ -# Don't use LIBS. configure puts stuff in it that either shouldn't be -# linked with Emacs or is duplicated by the other stuff below. -# LIBS = @LIBS@ -LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ lispsource = $(top_srcdir)/lisp lib = ../lib @@ -388,7 +385,7 @@ ## List of object files that make-docfile should not be told about. otherobj= $(TERMCAP_OBJ) $(PRE_ALLOC_OBJ) $(GMALLOC_OBJ) $(RALLOC_OBJ) \ - $(POST_ALLOC_OBJ) $(WIDGET_OBJ) $(LIBOBJS) + $(POST_ALLOC_OBJ) $(WIDGET_OBJ) $(LIBS) ## All object files linked into temacs. $(VMLIMIT_OBJ) should be first. ## (On MinGW, firstfile.o should be before vm-limit.o.) -- http://rrt.sc3d.org --001a11347352c5a236050032292f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Trying to pass an extra library to configure using LIBS, a= s configure --help says I can, I found it did nothing, and traced it to src= /Makefile.in, which deliberately ignores LIBS. This dates back 14 years, an= d whatever it was intended to fix no longer seems to be a problem. May I in= stall the following patch? With the patch applied, supplying LIBS on the co= nfigure command-line worked exactly as it should.<br> <br>--- src/Makefile.in=C2=A0=C2=A0=C2=A0 2014-07-13 15:50:35 +0000<br>+++ = src/Makefile.in=C2=A0=C2=A0=C2=A0 2014-08-09 11:34:12 +0000<br>@@ -44,10 +4= 4,7 @@<br>=C2=A0# BSD doesn't have it as a default.<br>=C2=A0@SET_MAKE@= <br>=C2=A0MKDIR_P =3D @MKDIR_P@<br>-# Don't use LIBS.=C2=A0 configure p= uts stuff in it that either shouldn't be<br> -# linked with Emacs or is duplicated by the other stuff below.<br>-# LIBS = =3D @LIBS@<br>-LIBOBJS =3D @LIBOBJS@<br>+LIBS =3D @LIBS@<br>=C2=A0<br>=C2= =A0lispsource =3D $(top_srcdir)/lisp<br>=C2=A0lib =3D ../lib<br>@@ -388,7 += 385,7 @@<br>=C2=A0<br>=C2=A0## List of object files that make-docfile shoul= d not be told about.<br> =C2=A0otherobj=3D $(TERMCAP_OBJ) $(PRE_ALLOC_OBJ) $(GMALLOC_OBJ) $(RALLOC_O= BJ) \<br>-=C2=A0 $(POST_ALLOC_OBJ) $(WIDGET_OBJ) $(LIBOBJS)<br>+=C2=A0 $(PO= ST_ALLOC_OBJ) $(WIDGET_OBJ) $(LIBS)<br>=C2=A0<br>=C2=A0## All object files = linked into temacs.=C2=A0 $(VMLIMIT_OBJ) should be first.<br> =C2=A0## (On MinGW, firstfile.o should be before vm-limit.o.)<br clear=3D"a= ll"><div><div><br>-- <br><a href=3D"http://rrt.sc3d.org">http://rrt.sc3d.or= g</a> </div></div></div> --001a11347352c5a236050032292f--
Reuben Thomas <rrt@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#18229
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.