Your message dated Wed, 18 May 2011 07:46:40 +0200
with message-id <[email protected]>
and subject line Re: Bug#625901: [gcc-mingw-w64] please add liblto_plugin.so
has caused the Debian Bug report #625901,
regarding [gcc-mingw-w64] please add liblto_plugin.so
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
625901: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625901
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gcc-mingw-w64
Version: 4.5.3-1
Severity: normal

--- Please enter the report below this line. ---
Thanks for enabling LTO support, it works when linking .o files, but for
it to work across .a files too, the LTO plugin should be built too:

$ i686-w64-mingw32-gcc -flto -fuse-linker-plugin foo.a foo.c
i686-w64-mingw32-gcc: -fuse-linker-plugin, but liblto_plugin.so not found

See here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47528#c4
Apparently you'd need to do 'make install-lto-plugin' to build
liblto_plugin.so.

Could you please enable this in the Debian package?

Thanks.


--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.39-rc6-phenom

Debian Release: wheezy/sid
  500 unstable        ftp.ro.debian.org
  500 unstable        ftp.lug.ro
  500 testing         security.debian.org
  500 testing         ftp.ro.debian.org
  500 stable          ftp.ro.debian.org
    1 experimental    ftp.ro.debian.org

--- Package information. ---
Depends                   (Version) | Installed
===================================-+-=============
libc6                     (>= 2.11) | 2.13-1
libgmp10                            | 2:5.0.1+dfsg-7
libmpc2                             | 0.9-2
libmpfr4                            | 3.0.0-9
zlib1g                 (>= 1:1.1.4) | 1:1.2.5.dfsg-1
binutils-mingw-w64        (>= 2.20) | 2.21.51.20110419-2
mingw-w64-dev              (>= 1.0) | 1.0+20101003-1


Recommends              (Version) | Installed
=================================-+-===========
gcc-4.5-locales        (>= 4.5.3) | 4.5.3-1
libstdc++6-4.5-dev     (>= 4.5.3) | 4.5.3-1


Package's Suggests field is empty.






--- End Message ---
--- Begin Message ---
tag 625901 +wontfix
thanks

Hi Török,

On Fri, May 06, 2011 at 10:11:13PM +0300, Török Edwin wrote:
> Thanks for enabling LTO support, it works when linking .o files, but for
> it to work across .a files too, the LTO plugin should be built too:
> 
> $ i686-w64-mingw32-gcc -flto -fuse-linker-plugin foo.a foo.c
> i686-w64-mingw32-gcc: -fuse-linker-plugin, but liblto_plugin.so not found
> 
> See here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47528#c4
> Apparently you'd need to do 'make install-lto-plugin' to build
> liblto_plugin.so.
> 
> Could you please enable this in the Debian package?

It turns out that the LTO plugin requires the gold linker (see
http://gcc.gnu.org/wiki/LinkTimeOptimization for details), and since
gold only supports ELF binaries it can't be used to target Windows.

The link you gave above does suggest that it's possible, but there's
no success report indicating actual use of the plugin.

Regards,

Stephen


--- End Message ---

Reply via email to