[Bug bootstrap/38339] libtool: compile: not configured to build any kind of library

rwild at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Oct 2 11:09:00 GMT 2010


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38339

Ralf Wildenhues <rwild at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|libmudflap                  |bootstrap
         Resolution|                            |INVALID

--- Comment #25 from Ralf Wildenhues <rwild at gcc dot gnu.org> 2010-10-02 11:09:14 UTC ---
We hashed this out a bit off-list, to avoid filling the audit trail with more
bad guessing of mine.

Anyway, turned out the exposer for this issue was the passing of a number of
configure command lines that conflicted:
  --enable-shared --disable-static --enable-shared=libstdc++ --enable-static

I told Gabor to rebuild with
  --disable-shared --enable-static --enable-shared=libstdc++-v3

intending to create a shared C++ library but everything else static.  The build
finished successfully, but without creating a shared C++ library.  I now
checked the libstdc++-v3/configure code, and sorry to say so, but I was wrong,
libstdc++-v3/configure defines $PACKAGE as "libstdc++", so that the right set
of args would have been
    --disable-shared --enable-static --enable-shared=libstdc++

instead.  Gabor, can I ask you to retry with these argumenst one more time?  If
that fails to produce a shared C++ library, then please open a new PR "building
only some GCC libraries shared" against component bootstrap, point to this PR,
Cc: me, and attach the build log, gzip'ed.  Thank you.

I'm closing this PR as invalid.  (I don't want to retitle it because the old
name should remain searchable.)



More information about the Gcc-bugs mailing list