Received: (at submit) by debbugs.gnu.org; 9 Nov 2012 16:57:11 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 09 11:57:11 2012 Received: from localhost ([127.0.0.1]:58232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1TWrtG-00071s-Hh for submit <at> debbugs.gnu.org; Fri, 09 Nov 2012 11:57:11 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49321) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <santosh.zanjurne@HIDDEN>) id 1TWmOs-0004Ux-2Z for submit <at> debbugs.gnu.org; Fri, 09 Nov 2012 06:05:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <santosh.zanjurne@HIDDEN>) id 1TWmOe-0003T2-Rw for submit <at> debbugs.gnu.org; Fri, 09 Nov 2012 06:05:18 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:50263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <santosh.zanjurne@HIDDEN>) id 1TWmOe-0003Sy-O6 for submit <at> debbugs.gnu.org; Fri, 09 Nov 2012 06:05:12 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37968) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <santosh.zanjurne@HIDDEN>) id 1TWmOY-0004aV-Gi for bug-libtool@HIDDEN; Fri, 09 Nov 2012 06:05:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <santosh.zanjurne@HIDDEN>) id 1TWmOP-0003D1-9I for bug-libtool@HIDDEN; Fri, 09 Nov 2012 06:05:06 -0500 Received: from mail-vc0-f169.google.com ([209.85.220.169]:61250) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <santosh.zanjurne@HIDDEN>) id 1TWmOP-0003Cx-4F for bug-libtool@HIDDEN; Fri, 09 Nov 2012 06:04:57 -0500 Received: by mail-vc0-f169.google.com with SMTP id fl17so4371063vcb.0 for <bug-libtool@HIDDEN>; Fri, 09 Nov 2012 03:04:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=UDKrc1rEfu1xnoAhVA09cTNra5m2gjhdBy/X3lT1pXs=; b=FUD9u9REjFZ0zWoxDIiUQ4EOX5GJ0PwcFSnaeu+gkePq4HaRTCK+0oii/bUjyq9Osu isicQUWZeZVd/39OnhNvd3N147whFELJRgvSwljcImOwEKCNZlCQN3FnLdsEpRqn/gTB 7/WCY/Iro3ZFeEBSZoFuf4jhaZTyAfkzuGxed9BdFRAqQzgG4UE1PHeT4xgps8rMiRBE B2qDELeOgA8at1jv7aQp6YVi6mB7pChQiOLYjLhLtrRcBdQ3Lp+l2z1EBksK1YasfyLM V5XRM8gzFky1gqJbwUp3AoswiM896RsuMBHn3BRiLwGU7Xg7GoT6cJb3pHnnNLKiOfF/ vv3g== MIME-Version: 1.0 Received: by 10.220.155.132 with SMTP id s4mr9815795vcw.15.1352459096224; Fri, 09 Nov 2012 03:04:56 -0800 (PST) Received: by 10.220.115.208 with HTTP; Fri, 9 Nov 2012 03:04:56 -0800 (PST) Date: Fri, 9 Nov 2012 16:34:56 +0530 Message-ID: <CANnxzn1E0XE1OPXtJyA=VHBESGEaAoaR3NakuZCGs2OOza690A@HIDDEN> Subject: linktime optimizations and libtool From: Santosh Zanjurne <santosh.zanjurne@HIDDEN> To: bug-libtool@HIDDEN Content-Type: multipart/alternative; boundary=f46d043c822200f18804ce0dec8d X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 09 Nov 2012 11:57:09 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 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> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -4.7 (----) --f46d043c822200f18804ce0dec8d Content-Type: text/plain; charset=ISO-8859-1 At linker execution time, libtool doesnt use the linkflags in the actual command invoked. Can we fix this? e.g. In the following command libtools knows what are the link flags, but it doesnt use them while actually invoking the link command. This results in error for Open64 compiler while using 'link time optimizations'. /bin/sh ../libtool --tag=CC --mode=link opencc -O0 -keep -IPA:siloed=off -IPA:preopt=on -OPT:alias=field_sensitive -OPT:wssa=on -o libdroplet.la-rpath /usr/local/lib -L/usr/lib -lxml2 -lz -lm -L/usr/lib -ljson -L/usr/lib -L/usr/kerberos/lib -lssl -lcrypto -ldl -lz -pthread -version-info 0:0:0 -no-undefined src/libdroplet_la-conn.lo src/libdroplet_la-converters.lo src/libdroplet_la-value.lo src/libdroplet_la-dict.lo src/libdroplet_la-droplet.lo src/libdroplet_la-httprequest.lo src/libdroplet_la-httpreply.lo src/libdroplet_la-pricing.lo src/libdroplet_la-profile.lo src/libdroplet_la-req.lo src/libdroplet_la-vec.lo src/libdroplet_la-sbuf.lo src/libdroplet_la-ntinydb.lo src/libdroplet_la-utils.lo src/libdroplet_la-rest.lo src/libdroplet_la-sysmd.lo src/libdroplet_la-task.lo src/libdroplet_la-async.lo src/libdroplet_la-getdate.lo src/libdroplet_la-vfs.lo s3/libdroplet_la-backend.lo s3/libdroplet_la-replyparser.lo s3/libdroplet_la-reqbuilder.lo s3/libdroplet_la-s3.lo cdmi/libdroplet_la-backend.lo cdmi/libdroplet_la-replyparser.lo cdmi/libdroplet_la-reqbuilder.lo cdmi/libdroplet_la-crcmodel.lo cdmi/libdroplet_la-object_id.lo cdmi/libdroplet_la-cdmi.lo srws/libdroplet_la-backend.lo srws/libdroplet_la-replyparser.lo srws/libdroplet_la-reqbuilder.lo srws/libdroplet_la-srws.lo posix/libdroplet_la-posix.lo posix/libdroplet_la-backend.lo -lm opencc -shared src/.libs/libdroplet_la-conn.o src/.libs/libdroplet_la-converters.o src/.libs/libdroplet_la-value.o src/.libs/libdroplet_la-dict.o src/.libs/libdroplet_la-droplet.o src/.libs/libdroplet_la-httprequest.o src/.libs/libdroplet_la-httpreply.o src/.libs/libdroplet_la-pricing.o src/.libs/libdroplet_la-profile.o src/.libs/libdroplet_la-req.o src/.libs/libdroplet_la-vec.o src/.libs/libdroplet_la-sbuf.o src/.libs/libdroplet_la-ntinydb.o src/.libs/libdroplet_la-utils.o src/.libs/libdroplet_la-rest.o src/.libs/libdroplet_la-sysmd.o src/.libs/libdroplet_la-task.o src/.libs/libdroplet_la-async.o src/.libs/libdroplet_la-getdate.o src/.libs/libdroplet_la-vfs.o s3/.libs/libdroplet_la-backend.o s3/.libs/libdroplet_la-replyparser.o s3/.libs/libdroplet_la-reqbuilder.o s3/.libs/libdroplet_la-s3.o cdmi/.libs/libdroplet_la-backend.o cdmi/.libs/libdroplet_la-replyparser.o cdmi/.libs/libdroplet_la-reqbuilder.o cdmi/.libs/libdroplet_la-crcmodel.o cdmi/.libs/libdroplet_la-object_id.o cdmi/.libs/libdroplet_la-cdmi.o srws/.libs/libdroplet_la-backend.o srws/.libs/libdroplet_la-replyparser.o srws/.libs/libdroplet_la-reqbuilder.o srws/.libs/libdroplet_la-srws.o posix/.libs/libdroplet_la-posix.o posix/.libs/libdroplet_la-backend.o -L/usr/lib -lxml2 -ljson -L/usr/kerberos/lib -lssl -lcrypto -ldl -lz -lm -lc -pthread -Wl,-soname -Wl,libdroplet.so.0 -o .libs/libdroplet.so.0.0.0 Regards, Santosh --f46d043c822200f18804ce0dec8d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable At linker execution time, libtool doesnt use the linkflags in the actual co= mmand invoked.=A0 Can we fix this?<br><br><br>e.g.=A0 In the following comm= and libtools knows what are the link flags, but it doesnt use them while ac= tually invoking the link command.=A0=A0 This results in error for Open64 co= mpiler while using 'link time optimizations'. <br> <br><div>/bin/sh ../libtool --tag=3DCC --mode=3Dlink opencc =A0-O0 -keep=20 -IPA:siloed=3Doff -IPA:preopt=3Don -OPT:alias=3Dfield_sensitive -OPT:wssa= =3Don =A0 -o <a href=3D"http://libdroplet.la" target=3D"_blank">libdroplet.la</a>=20 -rpath /usr/local/lib -L/usr/lib -lxml2 -lz -lm =A0 -L/usr/lib -ljson =A0= =20 -L/usr/lib -L/usr/kerberos/lib -lssl -lcrypto -ldl -lz =A0 -pthread=20 =A0-version-info 0:0:0 -no-undefined src/libdroplet_la-conn.lo=20 src/libdroplet_la-converters.lo src/libdroplet_la-value.lo src/libdroplet_l= a-dict.lo src/libdroplet_la-droplet.lo src/libdroplet_la-httprequest.lo src/libdroplet_la-httpreply.lo src/libdroplet_la-pricing.lo=20 src/libdroplet_la-profile.lo src/libdroplet_la-req.lo=20 src/libdroplet_la-vec.lo src/libdroplet_la-sbuf.lo=20 src/libdroplet_la-ntinydb.lo src/libdroplet_la-utils.lo=20 src/libdroplet_la-rest.lo src/libdroplet_la-sysmd.lo=20 src/libdroplet_la-task.lo src/libdroplet_la-async.lo=20 src/libdroplet_la-getdate.lo src/libdroplet_la-vfs.lo=20 s3/libdroplet_la-backend.lo s3/libdroplet_la-replyparser.lo s3/libdroplet_l= a-reqbuilder.lo s3/libdroplet_la-s3.lo cdmi/libdroplet_la-backend.lo cdmi/l= ibdroplet_la-replyparser.lo cdmi/libdroplet_la-reqbuilder.lo cdmi/libdrople= t_la-crcmodel.lo cdmi/libdroplet_la-object_id.lo cdmi/libdroplet_la-cdmi.lo= srws/libdroplet_la-backend.lo srws/libdroplet_la-replyparser.lo srws/libdr= oplet_la-reqbuilder.lo srws/libdroplet_la-srws.lo posix/libdroplet_la-posix= .lo posix/libdroplet_la-backend.lo =A0-lm=A0</div> <div><br>opencc -shared =A0src/.libs/libdroplet_la-conn.o src/.libs/libdrop= let_la-converters.o src/.libs/libdroplet_la-value.o src/.libs/libdroplet_la= -dict.o src/.libs/libdroplet_la-droplet.o src/.libs/libdroplet_la-httpreque= st.o src/.libs/libdroplet_la-httpreply.o src/.libs/libdroplet_la-pricing.o = src/.libs/libdroplet_la-profile.o src/.libs/libdroplet_la-req.o src/.libs/l= ibdroplet_la-vec.o src/.libs/libdroplet_la-sbuf.o src/.libs/libdroplet_la-n= tinydb.o src/.libs/libdroplet_la-utils.o src/.libs/libdroplet_la-rest.o src= /.libs/libdroplet_la-sysmd.o src/.libs/libdroplet_la-task.o src/.libs/libdr= oplet_la-async.o src/.libs/libdroplet_la-getdate.o src/.libs/libdroplet_la-= vfs.o s3/.libs/libdroplet_la-backend.o s3/.libs/libdroplet_la-replyparser.o= s3/.libs/libdroplet_la-reqbuilder.o s3/.libs/libdroplet_la-s3.o cdmi/.libs= /libdroplet_la-backend.o cdmi/.libs/libdroplet_la-replyparser.o cdmi/.libs/= libdroplet_la-reqbuilder.o cdmi/.libs/libdroplet_la-crcmodel.o cdmi/.libs/l= ibdroplet_la-object_id.o cdmi/.libs/libdroplet_la-cdmi.o srws/.libs/libdrop= let_la-backend.o srws/.libs/libdroplet_la-replyparser.o srws/.libs/libdropl= et_la-reqbuilder.o srws/.libs/libdroplet_la-srws.o posix/.libs/libdroplet_l= a-posix.o posix/.libs/libdroplet_la-backend.o =A0-L/usr/lib -lxml2 -ljson -L/usr/kerberos/lib -lssl -lcrypto -ldl -lz=20 -lm -lc =A0-pthread -Wl,-soname -Wl,libdroplet.so.0 -o=20 .libs/libdroplet.so.0.0.0<br><br><br></div><br>Regards,<br>Santosh<br> --f46d043c822200f18804ce0dec8d--
Santosh Zanjurne <santosh.zanjurne@HIDDEN>
:bug-libtool@HIDDEN
.
Full text available.bug-libtool@HIDDEN
:bug#12843
; Package libtool
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.