Opened 11 years ago

Closed 11 years ago

#6424 closed Bugs (invalid)

libtool: warning same member name (codecvt.o) in output file used for input files

Reported by: sam@… Owned by: Artyom Beilis
Milestone: To Be Determined Component: locale
Version: Boost 1.48.0 Severity: Problem
Keywords: Cc:

Description

While buliding Boost.Locale 1.48 on darwin:

darwin.archive bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/libboost_locale-xgcc42-mt-d-1_48.a

    "/usr/bin/libtool" -static -o "bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/libboost_locale-xgcc42-mt-d-1_48.a"    "bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/encoding/codepage.o" "bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/shared/date_time.o" "bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/shared/format.o" "bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/shared/formatting.o" "bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/shared/generator.o" "bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/shared/ids.o" "bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/shared/localization_backend.o" "bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/shared/message.o" "bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/shared/mo_lambda.o" "bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/util/codecvt_converter.o" "bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/util/default_locale.o" "bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/util/info.o" "bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/util/locale_data.o" "bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/posix/codecvt.o" "bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/posix/collate.o" "bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/posix/converter.o" "bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/posix/numeric.o" "bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/posix/posix_backend.o" "bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/std/codecvt.o" "bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/std/collate.o" "bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/std/converter.o" "bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/std/numeric.o" "bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/std/std_backend.o" "bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/util/gregorian.o"

/usr/bin/libtool: warning same member name (codecvt.o) in output file used for input files: bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/posix/codecvt.o and: bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/std/codecvt.o (due to use of basename, truncation, blank padding or duplicate input files)
/usr/bin/libtool: warning same member name (collate.o) in output file used for input files: bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/posix/collate.o and: bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/std/collate.o (due to use of basename, truncation, blank padding or duplicate input files)
/usr/bin/libtool: warning same member name (converter.o) in output file used for input files: bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/posix/converter.o and: bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/std/converter.o (due to use of basename, truncation, blank padding or duplicate input files)
/usr/bin/libtool: warning same member name (numeric.o) in output file used for input files: bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/std/numeric.o and: bin.v2/libs/locale/build/darwin-4.2.1/debug/address-model-32/architecture-x86/link-static/macosx-version-10.6/threading-multi/posix/numeric.o (due to use of basename, truncation, blank padding or duplicate input files)
common.copy stage/lib/libboost_locale-xgcc42-mt-d-1_48.a

I'm not yet sure whether this actually causes a problem. I'll update the ticket if so.

Change History (3)

comment:1 by Artyom Beilis, 11 years ago

  1. How do you build the library? Using Boost.Build or some custom tool, because I don't understand why libtool is actually used.
  2. According to the messages it complains that same file names are used but files are actually different. I don't think it should cause any problems as the sources are different and as long as everything works I don't see a problem with that.

So unless you show some problem (like you can't link with the code) I'll close this ticket as invalid.

comment:2 by Sam Morris <sam@…>, 11 years ago

  1. I built using Boost.Build, by running ./b2 -q --with-date_time --with-filesystem --with-iostreams --with-locale --with-program_options --with-serialization --with-thread --layout=versioned variant=release,debug link=shared,static runtime-link=shared threading=multi address-model=32 architecture=x86 macosx-version=10.6 'cflags=-mmacosx-version-min=10.4' 'linkflags=-mmacosx-version-min=10.4' -sNO_BZIP2=1 stage
  1. Fair enough, thanks for clarifying. :)

comment:3 by Artyom Beilis, 11 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.