On 10/31/12 09:04, Pavel Heimlich wrote:
Hi,
There's a significant difference between /usr/bin/libtool from
pkg://solaris/developer/build/libtool@2.4.2,5.11-0.175.1.0.0.24.0:20120904T171232Z
and
pkg://solaris/developer/build/libtool@2.4.2,5.12-5.12.0.0.0.5.0:20120924T234901Z

Is this intentional?


I don't remember an intentional change to libtool, but as the s12 userland gate builds on shared machines which also build ON, they have gcc-45 installed, and given the gcc references in the diffs here perhaps you've found that affects libtool. so that's something
to note.

does it do bad things? it might be worth filing a bug if so.

    Mike



TIA

P.

-bash-4.1$ diff -u ~/libtool.11u1 ~/libtool.12
--- /home/pheimlic/libtool.11u1 Wed Oct 31 16:46:21 2012
+++ /home/pheimlic/libtool.12   Wed Oct 31 16:46:26 2012
@@ -2,7 +2,7 @@

 # libtool - Provide generalized library-building support services.
 # Generated automatically by config.status (libtool) 2.4.2
-# Libtool was configured on host wonderland:
+# Libtool was configured on host nocrufthere:
 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
 #
 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -225,7 +225,7 @@

 # Variables whose values should be saved in libtool wrapper scripts and
 # restored at link time.
-variables_saved_for_relink="PATH LD_LIBRARY_PATH "
+variables_saved_for_relink="PATH LD_LIBRARY_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"

 # Do we need the "lib" prefix for modules?
 need_lib_prefix=no
@@ -10244,7 +10244,7 @@
 # ### BEGIN LIBTOOL TAG CONFIG: F77

 # The linker used to build libraries.
-LD=""
+LD="/usr/bin/ld"

 # How to create reloadable object files.
 reload_flag=" -r"
@@ -10254,25 +10254,25 @@
old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$tool_oldlib"

 # A language specific compiler.
-CC=""
+CC="gfortran"

 # Is the compiler the GNU compiler?
-with_gcc=
+with_gcc=yes

 # Compiler flag to turn off builtin functions.
 no_builtin_flag=""

 # Additional compiler flags for building library objects.
-pic_flag=""
+pic_flag=" -fPIC"

 # How to pass a linker flag through the compiler.
-wl=""
+wl="-Wl,"

 # Compiler flag to prevent dynamic linking.
 link_static_flag=""

 # Does compiler simultaneously support -c and -o options?
-compiler_c_o=""
+compiler_c_o="yes"

 # Whether or not to add -lc for building shared libraries.
 build_libtool_need_lc=no
@@ -10284,10 +10284,10 @@
 export_dynamic_flag_spec=""

 # Compiler flag to generate shared objects directly from archives.
-whole_archive_flag_spec=""
+whole_archive_flag_spec="\${wl}-z \${wl}allextract\$convenience \${wl}-z \${wl}defaultextract"

 # Whether the compiler copes with passing no objects directly.
-compiler_needs_object=""
+compiler_needs_object="no"

 # Create an old-style archive from a shared archive.
 old_archive_from_new_cmds=""
@@ -10296,8 +10296,9 @@
 old_archive_from_expsyms_cmds=""

 # Commands used to build a shared archive.
-archive_cmds=""
-archive_expsym_cmds=""
+archive_cmds="\$CC -shared \$pic_flag \${wl}-z \${wl}text \${wl}-h \${wl}\$soname -o \$lib \$libobjs \$deplibs \$compiler_flags" +archive_expsym_cmds="echo \\\"{ global:\\\" > \$lib.exp~cat \$export_symbols | \$SED -e \\\"s/\\\\(.*\\\\)/\\\\1;/\\\" >> \$lib.exp~echo \\\"local: *; };\\\" >> \$lib.exp~ + \$CC -shared \$pic_flag \${wl}-z \${wl}text \${wl}-M \${wl}\$lib.exp \${wl}-h \${wl}\$soname -o \$lib \$libobjs \$deplibs \$compiler_flags~\$RM \$lib.exp"

 # Commands used to build a loadable module if different from building
 # a shared archive.
@@ -10305,17 +10306,17 @@
 module_expsym_cmds=""

 # Whether we are building with GNU ld or not.
-with_gnu_ld=""
+with_gnu_ld="no"

 # Flag that allows shared libraries with undefined symbols to be built.
 allow_undefined_flag=""

 # Flag that enforces no undefined symbols.
-no_undefined_flag=""
+no_undefined_flag=" -z defs"

 # Flag to hardcode $libdir into a binary during linking.
 # This must work even if $libdir does not exist
-hardcode_libdir_flag_spec=""
+hardcode_libdir_flag_spec="-R\$libdir"

 # Whether we need a single "-rpath" flag with a separated argument.
 hardcode_libdir_separator=""
@@ -10336,7 +10337,7 @@

 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 # into the resulting binary.
-hardcode_shlibpath_var=
+hardcode_shlibpath_var=no

 # Set to "yes" if building a shared library automatically hardcodes DIR
 # into the library and all subsequent libraries and executables linked
@@ -10348,16 +10349,16 @@
 inherit_rpath=no

# Whether libtool must link a program against all its dependency libraries.
-link_all_deplibs=unknown
+link_all_deplibs=yes

 # Set to "yes" if exported symbols are required.
 always_export_symbols=no

 # The commands to list exported symbols.
-export_symbols_cmds=""
+export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED 's/.* //' | sort | uniq > \$export_symbols"

 # Symbols that should not be listed in the preloaded symbols.
-exclude_expsyms=""
+exclude_expsyms="_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*"

 # Symbols that must always be exported.
 include_expsyms=""
@@ -10372,7 +10373,7 @@
 file_list_spec=""

 # How to hardcode a shared library path into an executable.
-hardcode_action=
+hardcode_action=immediate

# The directories searched by this compiler when creating a shared library.
 compiler_lib_search_dirs=""
@@ -10393,7 +10394,7 @@
 # ### BEGIN LIBTOOL TAG CONFIG: FC

 # The linker used to build libraries.
-LD=""
+LD="/usr/bin/ld"

 # How to create reloadable object files.
 reload_flag=" -r"
@@ -10403,25 +10404,25 @@
old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$tool_oldlib"

 # A language specific compiler.
-CC=""
+CC="gfortran"

 # Is the compiler the GNU compiler?
-with_gcc=
+with_gcc=yes

 # Compiler flag to turn off builtin functions.
 no_builtin_flag=""

 # Additional compiler flags for building library objects.
-pic_flag=""
+pic_flag=" -fPIC"

 # How to pass a linker flag through the compiler.
-wl=""
+wl="-Wl,"

 # Compiler flag to prevent dynamic linking.
 link_static_flag=""

 # Does compiler simultaneously support -c and -o options?
-compiler_c_o=""
+compiler_c_o="yes"

 # Whether or not to add -lc for building shared libraries.
 build_libtool_need_lc=no
@@ -10433,10 +10434,10 @@
 export_dynamic_flag_spec=""

 # Compiler flag to generate shared objects directly from archives.
-whole_archive_flag_spec=""
+whole_archive_flag_spec="\${wl}-z \${wl}allextract\$convenience \${wl}-z \${wl}defaultextract"

 # Whether the compiler copes with passing no objects directly.
-compiler_needs_object=""
+compiler_needs_object="no"

 # Create an old-style archive from a shared archive.
 old_archive_from_new_cmds=""
@@ -10445,8 +10446,9 @@
 old_archive_from_expsyms_cmds=""

 # Commands used to build a shared archive.
-archive_cmds=""
-archive_expsym_cmds=""
+archive_cmds="\$CC -shared \$pic_flag \${wl}-z \${wl}text \${wl}-h \${wl}\$soname -o \$lib \$libobjs \$deplibs \$compiler_flags" +archive_expsym_cmds="echo \\\"{ global:\\\" > \$lib.exp~cat \$export_symbols | \$SED -e \\\"s/\\\\(.*\\\\)/\\\\1;/\\\" >> \$lib.exp~echo \\\"local: *; };\\\" >> \$lib.exp~ + \$CC -shared \$pic_flag \${wl}-z \${wl}text \${wl}-M \${wl}\$lib.exp \${wl}-h \${wl}\$soname -o \$lib \$libobjs \$deplibs \$compiler_flags~\$RM \$lib.exp"

 # Commands used to build a loadable module if different from building
 # a shared archive.
@@ -10454,17 +10456,17 @@
 module_expsym_cmds=""

 # Whether we are building with GNU ld or not.
-with_gnu_ld=""
+with_gnu_ld="no"

 # Flag that allows shared libraries with undefined symbols to be built.
 allow_undefined_flag=""

 # Flag that enforces no undefined symbols.
-no_undefined_flag=""
+no_undefined_flag=" -z defs"

 # Flag to hardcode $libdir into a binary during linking.
 # This must work even if $libdir does not exist
-hardcode_libdir_flag_spec=""
+hardcode_libdir_flag_spec="-R\$libdir"

 # Whether we need a single "-rpath" flag with a separated argument.
 hardcode_libdir_separator=""
@@ -10485,7 +10487,7 @@

 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 # into the resulting binary.
-hardcode_shlibpath_var=
+hardcode_shlibpath_var=no

 # Set to "yes" if building a shared library automatically hardcodes DIR
 # into the library and all subsequent libraries and executables linked
@@ -10497,16 +10499,16 @@
 inherit_rpath=no

# Whether libtool must link a program against all its dependency libraries.
-link_all_deplibs=unknown
+link_all_deplibs=yes

 # Set to "yes" if exported symbols are required.
 always_export_symbols=no

 # The commands to list exported symbols.
-export_symbols_cmds=""
+export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED 's/.* //' | sort | uniq > \$export_symbols"

 # Symbols that should not be listed in the preloaded symbols.
-exclude_expsyms=""
+exclude_expsyms="_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*"

 # Symbols that must always be exported.
 include_expsyms=""
@@ -10521,7 +10523,7 @@
 file_list_spec=""

 # How to hardcode a shared library path into an executable.
-hardcode_action=
+hardcode_action=immediate

# The directories searched by this compiler when creating a shared library.
 compiler_lib_search_dirs=""
_______________________________________________
userland-discuss mailing list
userland-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/userland-discuss

_______________________________________________
userland-discuss mailing list
userland-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/userland-discuss

Reply via email to