GNU bug report logs - #21411
compiling with "-flto -fuse-linker-plugin" gives libtool error

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: libtool; Reported by: John Frankish <john.frankish@HIDDEN>; dated Fri, 4 Sep 2015 08:01:01 UTC; Maintainer for libtool is bug-libtool@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 4 Sep 2015 08:00:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 04 04:00:45 2015
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>
To: <bug-libtool@HIDDEN>
Subject: compiling with "-flto -fuse-linker-plugin" gives libtool error
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-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: <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





Acknowledgement sent to John Frankish <john.frankish@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-libtool@HIDDEN. Full text available.
Report forwarded to bug-libtool@HIDDEN:
bug#21411; Package libtool. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.