GNU bug report logs -
#21411
compiling with "-flto -fuse-linker-plugin" gives libtool error
Previous Next
To reply to this bug, email your comments to 21411 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-libtool <at> gnu.org
:
bug#21411
; Package
libtool
.
(Fri, 04 Sep 2015 08:01:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
John Frankish <john.frankish <at> outlook.com>
:
New bug report received and forwarded. Copy sent to
bug-libtool <at> gnu.org
.
(Fri, 04 Sep 2015 08:01:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
This bug report was last modified 9 years and 295 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.