X-Loop: help-debbugs@HIDDEN Subject: bug#21411: compiling with "-flto -fuse-linker-plugin" gives libtool error Resent-From: John Frankish <john.frankish@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-libtool@HIDDEN Resent-Date: Fri, 04 Sep 2015 08:01:01 +0000 Resent-Message-ID: <handler.21411.B.144135364518106 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 21411 X-GNU-PR-Package: libtool X-GNU-PR-Keywords: To: 21411 <at> debbugs.gnu.org X-Debbugs-Original-To: <bug-libtool@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.144135364518106 (code B ref -1); Fri, 04 Sep 2015 08:01:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 Sep 2015 08:00:45 +0000 Received: from localhost ([127.0.0.1]:48459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ZXlvR-0004hx-5S for submit <at> debbugs.gnu.org; Fri, 04 Sep 2015 04:00:45 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51304) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <john.frankish@HIDDEN>) id 1ZXlvM-0004hk-6x for submit <at> debbugs.gnu.org; Fri, 04 Sep 2015 04:00:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <john.frankish@HIDDEN>) id 1ZXlvL-0001PH-2g for submit <at> debbugs.gnu.org; Fri, 04 Sep 2015 04:00:39 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: *** X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_50,FREEMAIL_FROM, RECEIVED_FROM_WINDOWS_HOST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53824) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <john.frankish@HIDDEN>) id 1ZXlvK-0001P3-MD for submit <at> debbugs.gnu.org; Fri, 04 Sep 2015 04:00:38 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <john.frankish@HIDDEN>) id 1ZXlvJ-0008Uj-CS for bug-libtool@HIDDEN; Fri, 04 Sep 2015 04:00:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <john.frankish@HIDDEN>) id 1ZXlvG-0001Lt-5z for bug-libtool@HIDDEN; Fri, 04 Sep 2015 04:00:37 -0400 Received: from col004-omc2s8.hotmail.com ([65.55.34.82]:50524) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <john.frankish@HIDDEN>) id 1ZXlvF-0001KN-Lc for bug-libtool@HIDDEN; Fri, 04 Sep 2015 04:00:33 -0400 Received: from COL403-EAS231 ([65.55.34.73]) by COL004-OMC2S8.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Fri, 4 Sep 2015 01:00:32 -0700 X-TMN: [c+CKfwtMGJICF0N9pVV+JzDlbkZr4632] X-Originating-Email: [john.frankish@HIDDEN] Message-ID: <COL403-EAS231ADEA3895162D2E2F779CF3570@HIDDEN> From: John Frankish <john.frankish@HIDDEN> Date: Fri, 4 Sep 2015 12:00:27 +0400 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 15.0 Thread-Index: AdDm5xPJ0dWWhzTEQMaDQMrMdrB+TA== Content-Language: en-us X-OriginalArrivalTime: 04 Sep 2015 08:00:32.0444 (UTC) FILETIME=[C5D1CFC0:01D0E6E7] X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] 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.0 (----) 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: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://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: <https://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.0 (----) Hi, Compiling some packages with "-flto -fuse-linker-plugin" gives a libtool error during "make". Compiling the same package without "-flto -fuse-linker-plugin" allows "make" to complete without errors. The problem seems to occur with a few 10's of packages (eg cogl-1.20.0), but not with others (eg gnome-music-3.16.2). Regards John Using cogl-1.20.0 as an example: CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --enable-gles1 --enable-gles2 --enable-cogl-gst=yes find . -name Makefile -type f -exec sed -i 's/-O2//g' {} \; make ... CC cogl-enum-types.lo CCLD libcogl.la ../libtool: eval: line 1: syntax error: unexpected "|" Makefile:1507: recipe for target 'libcogl.la' failed make[4]: *** [libcogl.la] Error 2
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: John Frankish <john.frankish@HIDDEN> Subject: bug#21411: Acknowledgement (compiling with "-flto -fuse-linker-plugin" gives libtool error) Message-ID: <handler.21411.B.144135364518106.ack <at> debbugs.gnu.org> References: <COL403-EAS231ADEA3895162D2E2F779CF3570@HIDDEN> X-Gnu-PR-Message: ack 21411 X-Gnu-PR-Package: libtool Reply-To: 21411 <at> debbugs.gnu.org Date: Fri, 04 Sep 2015 08:01:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-libtool@HIDDEN If you wish to submit further information on this problem, please send it to 21411 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 21411: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D21411 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.