Package: libtool
Version: 2.2.6b-2
Severity: normal

Currently libtool strips -flto when called for linking which is wrong.
It should pass -flto to gcc, since its both a compile-time and a link-time flag.

Actually I don't know why libtool strips any flags at all. If I pass a flag
at compile time, and libtool happily passes it along (such as -flto here),
why does it strip it at link time?
Can't it just pass ALL flags I've given it to gcc?

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.33-00175-g2d1299a0 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libtool depends on:
ii  autotools-dev             20100122.1     Update infrastructure for config.{
ii  bcc [c-compiler]          0.16.17-3      16-bit x86 C compiler
ii  cpp                       4:4.4.3-1      The GNU C preprocessor (cpp)
ii  file                      5.04-1         Determines file type using "magic"
ii  gcc [c-compiler]          4:4.4.3-1      The GNU C compiler
ii  gcc-4.1 [c-compiler]      4.1.2-27       The GNU C compiler
ii  gcc-4.4 [c-compiler]      4.4.3-5        The GNU C compiler
ii  gcc-4.5 [c-compiler]      4.5-20100227-1 The GNU C compiler
ii  libc6-dev [libc-dev]      2.10.2-6       Embedded GNU C Library: Developmen

Versions of packages libtool recommends:
ii  libltdl-dev                   2.2.6b-2   A system independent dlopen wrappe

Versions of packages libtool suggests:
ii  autoconf                2.65-4           automatic configure script builder
ii  automake [automaken]    1:1.11.1-1       A tool for generating GNU Standard
ii  automake1.10 [automaken 1:1.10.3-1       A tool for generating GNU Standard
ii  automake1.7 [automaken] 1.7.9-9.1        A tool for generating GNU Standard
ii  automake1.9 [automaken] 1.9.6+nogfdl-3.1 A tool for generating GNU Standard
pn  gcj                     <none>           (no description available)
ii  gfortran                4:4.4.3-1        The GNU Fortran 95 compiler
ii  gfortran-4.4 [fortran95 4.4.3-5          The GNU Fortran 95 compiler
pn  libtool-doc             <none>           (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to