Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 2013 18:41:03 +0200
From:      "Andrew W. Nosenko" <andrew.w.nosenko@gmail.com>
To:        Jeremy Messenger <mezz.freebsd@gmail.com>
Cc:        gerald@pfeifer.com, mexas@bristol.ac.uk, freebsd-ports@freebsd.org, bdrewery@freebsd.org
Subject:   Re: is it a good idea to overwrite GCC_DEFAULT_VERSION= in Mk/bsd.gcc.mk?
Message-ID:  <CALa-7vwcAVLHh63n_eq00rdA8mrwXpj5wqJ%2BYdrHV2wpXxUgWw@mail.gmail.com>
In-Reply-To: <CADLFtteEt2M2xxW9bOU%2BC_YoTUcBCCqorZnfUDHE66%2BPS-BWjg@mail.gmail.com>
References:  <CALa-7vw=e2GkfvReD4-eurUv%2BNaR6nJAT9cZ45tQVT6uac-n7Q@mail.gmail.com> <201303261050.r2QAo9v6041217@mech-cluster241.men.bris.ac.uk> <CALa-7vx_gHLiMJpZ3P_VgFHDpRof1Azzma3Afa0f8NtNarUi-Q@mail.gmail.com> <CADLFttcUBkj964auESWJEMx7%2BvnRRLPFO6LOwZcUHkTS=Vo0WQ@mail.gmail.com> <CALa-7vyQHGjzkdsPxvgV0q51z=YLdEtnXBR_u1fRo2bP_8FaSg@mail.gmail.com> <CADLFtteNg8BFBnMPD29Tij7Yt5n0TGR5ouXkEXfk2r_xVa7TxQ@mail.gmail.com> <CALa-7vyas_6Ygg5V-oM%2Bb4%2BhBZMhCS2qa0=Uv4%2B1brjTp6yOew@mail.gmail.com> <CADLFtteEt2M2xxW9bOU%2BC_YoTUcBCCqorZnfUDHE66%2BPS-BWjg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Wed, Mar 27, 2013 at 12:21 AM, Jeremy Messenger
<mezz.freebsd@gmail.com> wrote:
> On Tue, Mar 26, 2013 at 11:52 AM, Andrew W. Nosenko
> <andrew.w.nosenko@gmail.com> wrote:
>> On Tue, Mar 26, 2013 at 5:46 PM, Jeremy Messenger
>> <mezz.freebsd@gmail.com> wrote:
>>> On Tue, Mar 26, 2013 at 10:00 AM, Andrew W. Nosenko
>>> <andrew.w.nosenko@gmail.com> wrote:
>>>> On Tue, Mar 26, 2013 at 2:49 PM, Jeremy Messenger
>>>> <mezz.freebsd@gmail.com> wrote:
>>>>> On Tue, Mar 26, 2013 at 6:33 AM, Andrew W. Nosenko
>>>>> <andrew.w.nosenko@gmail.com> wrote:
>>>>>> On Tue, Mar 26, 2013 at 12:50 PM, Anton Shterenlikht
>>>>>> <mexas@bristol.ac.uk> wrote:
>>>>>>>         From andrew.w.nosenko@gmail.com Mon Mar 25 18:09:38 2013
>>>>>>>
>>>>>>>         On Mon, Mar 25, 2013 at 5:59 PM, Gerald Pfeifer <gerald@pfeifer.com> wrote:
>>>>>>>         > On Mon, 25 Mar 2013, Anton Shterenlikht wrote:
>>>>>>>         >> I've now run ia64 with the above change for over 2 weeks,
>>>>>>>         >> mostly rebuilding ports, etc.
>>>>>>>         >> I didn't see any issues with gcc47.
>>>>>>>         >> So, from my very limited testing,
>>>>>>>         >> gcc47 can be made default.
>>>>>>>         >
>>>>>>>         > Thanks for the feedback, Anton!  To really make that switch
>>>>>>>         > globally, we'll need more extensive testing, a full ports builds
>>>>>>>         > run, since there is a chance that some port you are not using may
>>>>>>>         > be broken, and I hope to get this done in the coming weeks.
>>>>>>>
>>>>>>>         >From my expiriense, devel/glib20 cannot be compiled with gcc47.
>>>>>>>
>>>>>>> Isn't it built with the system default compiler:
>>>>>>>
>>>>>>> configure:3954: checking for C compiler version
>>>>>>> configure:3963: cc --version >&5
>>>>>>> cc (GCC) 4.2.1 20070831 patched [FreeBSD]
>>>>>>>
>>>>>>> I think we are only talking about updating lang/gcc to 4.7.
>>>>>>
>>>>>> By default -- yes, it is going to build with base gcc.  But topic and,
>>>>>> therefore, my reaction was about overriding compiler to be lang/gcc*
>>>>>> from ports and whether there are ports, which fail in that case.  At
>>>>>> least, as I understand it.
>>>>>>
>>>>>> Now, why overriding the compiler for Glib seems important to me and
>>>>>> why I tried to do that:
>>>>>>
>>>>>> Since
>>>>>>     commit aba0f0c38bbfa11ad48b5410ebdbed2a99e68c58
>>>>>>     Author: Ryan Lortie <desrt@desrt.ca>
>>>>>>     Date:   Tue Oct 18 16:21:50 2011 -0400
>>>>>>
>>>>>>         gatomic: introduce G_ATOMIC_LOCK_FREE
>>>>>>
>>>>>> glib atomics implementation depends on gcc predefined macro
>>>>>> __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4, which is absent on the base
>>>>>> gcc-4.2 and on Clang (all version, at least at that time).
>>>>>>
>>>>>> As consequence, we have a mutex-based implementation of atomics.
>>>>>> Building Glib using more modern GCC (e.g. gcc-4.7) would help, but
>>>>>> gnome-libtool hack prevents us from that.
>>>>>
>>>>> Did you install all ports with GCC 4.7? If you install libtool with
>>>>> foo compiler then install other ports with bar compiler will be
>>>>> broken. You have to reinstall libtool with the bar compiler to make
>>>>> other ports with bar compiler works.
>>>>
>>>> No, I should not do that (of course if assume that port machinery
>>>> doesn't interfere with configure results by discarding part of them).
>>>
>>> You need to try it. You can't assume anything.
>>
>> I don't assume.  I just know it.  Know from everyday usage.
>
> # pkg_info -IX libtool
> libtool-2.4.2       Generic shared library support script
> # libtool --config | grep CC=
> LTCC="cc"
> CC="cc"

I's about system-wide libtool (/usr/local/bin/libtool), which is
irrelevant and unused when autoconf+automake+libtool chain works.
When package builds using autoconf+automake+libtool chain, then the
generated libtool script works there.

System-wide libtool:

    # pkg_info -xI libtool
    libtool-2.4.2       Generic shared library support script

    # /usr/local/bin/libtool --version
    libtool (GNU libtool) 2.4.2
    Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996

    Copyright (C) 2011 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    # /usr/local/bin/libtool --config | grep CC=
    LTCC="cc"
    CC="cc"

    # /usr/local/bin/libtool --config > ~/libtool-system


Libtool, generated for devel/glib20 with default compiler (gcc-4.2 from base):

    # cd /usr/ports/devel/glib20

    # make clean
    ===>  Cleaning for glib-2.34.3

    # make extract
    ===>  License LGPL20 accepted by the user
    ===>  Found saved configuration for glib-2.34.3
    ===> Fetching all distfiles required by glib-2.34.3 for building
    ===>  Extracting for glib-2.34.3
    ===>  License LGPL20 accepted by the user
    ===>  Found saved configuration for glib-2.34.3
    ===> Fetching all distfiles required by glib-2.34.3 for building
    => SHA256 Checksum OK for gnome2/glib-2.34.3.tar.xz.
    ===>   glib-2.34.3 depends on file: /usr/local/bin/xz - found
    ===>   glib-2.34.3 depends on file: /usr/local/bin/perl5.12.4 - found

    # cd work/glib-2.34.3/

    # ls -l libtool
    ls: libtool: No such file or directory

    # ./configure CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib
    [output is skipped]

    # ls -l libtool
    -rwxr-xr-x  1 root  wheel  297882 Mar 27 17:31 libtool

    # ./libtool --config | grep CC=
    LTCC="gcc"
    CC="gcc"

    # ./libtool --config > ~/libtool-glib-gcc


Libtool, generated for devel/glib20 with gcc-4.7 from ports:

    # cd /usr/ports/devel/glib20

    # make clean
    ===>  Cleaning for glib-2.34.3

    # make extract
    ===>  License LGPL20 accepted by the user
    ===>  Found saved configuration for glib-2.34.3
    ===> Fetching all distfiles required by glib-2.34.3 for building
    ===>  Extracting for glib-2.34.3
    ===>  License LGPL20 accepted by the user
    ===>  Found saved configuration for glib-2.34.3
    ===> Fetching all distfiles required by glib-2.34.3 for building
    => SHA256 Checksum OK for gnome2/glib-2.34.3.tar.xz.
    ===>   glib-2.34.3 depends on file: /usr/local/bin/xz - found
    ===>   glib-2.34.3 depends on file: /usr/local/bin/perl5.12.4 - found

    # cd work/glib-2.34.3/

    # ls -l libtool
    ls: libtool: No such file or directory

    # ./configure CC=gcc47 CPPFLAGS=-I/usr/local/include
LDFLAGS=-L/usr/local/lib
    [output is skipped]

    # ls -l libtool
    -rwxr-xr-x  1 root  wheel  298022 Mar 27 17:38 libtool

    # ./libtool --config | grep CC=
    LTCC="gcc47"
    CC="gcc47"

    # ./libtool --config > ~/libtool-glib-gcc47

Differences:

system vs glib + default gcc:

    # diff -U0 ~/libtool-system ~/libtool-glib-gcc
    --- /root/libtool-system	2013-03-27 17:26:37.000000000 +0200
    +++ /root/libtool-glib-gcc	2013-03-27 17:34:11.000000000 +0200
    @@ -5,0 +6,3 @@
    +# Whether or not to build static libraries.
    +build_old_libs=no
    +
    @@ -18,3 +20,0 @@
    -# Whether or not to build static libraries.
    -build_old_libs=yes
    -
    @@ -28 +28 @@
    -SHELL="/bin/sh"
    +SHELL="/usr/local/bin/bash"
    @@ -38 +38 @@
    -host=amd64-portbld-freebsd8.0
    +host=x86_64-unknown-freebsd8.0
    @@ -42,2 +42,2 @@
    -build_alias=amd64-portbld-freebsd8.0
    -build=amd64-portbld-freebsd8.0
    +build_alias=
    +build=x86_64-unknown-freebsd8.0
    @@ -68 +68 @@
    -max_cmd_len=262144
    +max_cmd_len=196608
    @@ -127 +127 @@
    -LTCC="cc"
    +LTCC="gcc"
    @@ -130 +130 @@
    -LTCFLAGS="-O2 -pipe -O2 -march=native -fno-strict-aliasing"
    +LTCFLAGS="-g -O2 -Wall"
    @@ -244 +244 @@
    -dlopen_support=yes
    +dlopen_support=unknown
    @@ -247 +247 @@
    -dlopen_self=yes
    +dlopen_self=unknown
    @@ -250 +250 @@
    -dlopen_self_static=no
    +dlopen_self_static=unknown
    @@ -268 +268 @@
    -CC="cc"
    +CC="gcc"

system vs. glib + gcc-4.7:

    # diff -U0 ~/libtool-system ~/libtool-glib-gcc47
    --- /root/libtool-system	2013-03-27 17:26:37.000000000 +0200
    +++ /root/libtool-glib-gcc47	2013-03-27 17:39:40.000000000 +0200
    @@ -5,0 +6,3 @@
    +# Whether or not to build static libraries.
    +build_old_libs=no
    +
    @@ -18,3 +20,0 @@
    -# Whether or not to build static libraries.
    -build_old_libs=yes
    -
    @@ -28 +28 @@
    -SHELL="/bin/sh"
    +SHELL="/usr/local/bin/bash"
    @@ -38 +38 @@
    -host=amd64-portbld-freebsd8.0
    +host=x86_64-unknown-freebsd8.0
    @@ -42,2 +42,2 @@
    -build_alias=amd64-portbld-freebsd8.0
    -build=amd64-portbld-freebsd8.0
    +build_alias=
    +build=x86_64-unknown-freebsd8.0
    @@ -68 +68 @@
    -max_cmd_len=262144
    +max_cmd_len=196608
    @@ -127 +127 @@
    -LTCC="cc"
    +LTCC="gcc47"
    @@ -130 +130 @@
    -LTCFLAGS="-O2 -pipe -O2 -march=native -fno-strict-aliasing"
    +LTCFLAGS="-g -O2 -Wall"
    @@ -238 +238 @@
    -sys_lib_search_path_spec="/usr/lib "
    +sys_lib_search_path_spec="/usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd8.0/4.7.3
/usr/local/x86_64-portbld-freebsd8.0/lib /usr/local/lib/gcc47 /lib
/usr/lib "
    @@ -244 +244 @@
    -dlopen_support=yes
    +dlopen_support=unknown
    @@ -247 +247 @@
    -dlopen_self=yes
    +dlopen_self=unknown
    @@ -250 +250 @@
    -dlopen_self_static=no
    +dlopen_self_static=unknown
    @@ -258 +258 @@
    -LD="/usr/bin/ld"
    +LD="/usr/local/bin/ld"
    @@ -268 +268 @@
    -CC="cc"
    +CC="gcc47"

glib + default gcc vs. glib + gcc-4.7:

    # diff -U0 ~/libtool-glib-gcc ~/libtool-glib-gcc47
    --- /root/libtool-glib-gcc	2013-03-27 17:34:11.000000000 +0200
    +++ /root/libtool-glib-gcc47	2013-03-27 17:39:40.000000000 +0200
    @@ -127 +127 @@
    -LTCC="gcc"
    +LTCC="gcc47"
    @@ -238 +238 @@
    -sys_lib_search_path_spec="/usr/lib "
    +sys_lib_search_path_spec="/usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd8.0/4.7.3
/usr/local/x86_64-portbld-freebsd8.0/lib /usr/local/lib/gcc47 /lib
/usr/lib "
    @@ -258 +258 @@
    -LD="/usr/bin/ld"
    +LD="/usr/local/bin/ld"
    @@ -268 +268 @@
    -CC="gcc"
    +CC="gcc47"

Output of all three 'libtool --config' commands (system libtool, Glib
with default gcc and Glib with gcc-4.7) are attached just for any
case.

>
> MIght be has to do with
> http://svnweb.freebsd.org/ports/head/devel/libtool/files/patch-libltdl_config_ltmain.sh
> ?

Sorry, seems I don't understand you.
How it is related to the honoring or ignoring the configure results?

>
>>> It's well known that if
>>> you change the CC/CXX then you have to reinstall libtool. Although, I
>>> don't know if it's still true for present libtool, but it was problem
>>> with libtool15 at last time when I checked. The libtool15 will storage
>>> the CC, CXX and other stuff as default of what you used it on
>>> libtool15. (ie: Run 'libtool --config')
>>
>> My knowledge based on 2.x series.  At the times of 1.x, the "base"
>> compiler was modern enough for mitigate the need to redefine
>> compilers.
>>
>>>
>>> The gnome-libtool was copied from ${LOCALBASE}/bin/libtool (libtool
>>> port) then patch the bug of shared library version in gnome-libtool.
>>> It also changed the configure to look at gnome-libtool. Nothing more
>>> and nothing less. You can look at Mk/bsd.gnome.mk by search for
>>> ltverhack.
>>
>> I know it and knew at the time of writting.
>>
>> I don't know or don't understand why these "hacks" are needed, and, if
>> they are really needed, then why they maintained separatelly instead
>> of be pushed to the upstream and become part of libtool
>> out-of-the-box.
>
> The fix is really need. It is a bug in libtool that give wrong shared
> library version that will get bump at the every API change. See here:
> http://people.freebsd.org/~mezz/libtool.txt
>
>> If, for some reason, libtool upstream cannot be conviced, or just at
>> the transition stage, why patch the ${LOCALBASE}/bin/libtool?  Why
>> don't patch the "local" libtool generated by package's configure and
>> which contains all configure-gatchered variables properly filled (at
>> least for those packages, which use fresh enough libtool version)?  Or
>> why don't patch the devel/libtool (if need) for install the patched
>> ltmain.sh (if need) and then force package to re-grab
>> autotools/libtool related things and regenerate the configure script?
>
> The problem is that you can't just simply add patch in the libtool by
> default or it will affect on thousands of ports (require rebuild,
> chase a lot of library shared version, fix pkg-plist, bump ports and
> etc.). If we complete add patch in all ports tree. It's more likely
> the upstream and maintainer of port will accept patch. That's awful a
> lot of work. Any volunteers?
>
>>>> libtool script is a _generated_ thing when used with autoconf.
>>>> 'configure' does some checks (including how to execute linker
>>>> depending on used languages) and generates the "current" libtool sript
>>>> using these results.  This generated script has nothing with
>>>> /usr/local/bin/libtool.  Moreover, the system-wide libtool has no
>>>> business there, not used and may be completely absent until you want
>>>> regenerate and replace all package-supplied tools by your copy by
>>>> something like 'autoreconf -f'.
>>>>
>>>> As you can see, under proper workflow, there no dependency, which
>>>> version of compiler was installed or used on the time of
>>>> /usr/local/bin/libtool generation.  All knowledge about currently used
>>>> language, compiler, linker abelities and so on are gatchered by
>>>> configure and written into "local" package-specific libtool script (in
>>>> contrast to the "global" /usr/local/bin/libtool).
>>>>
>>>> The only one problem that ports machinery decides to trow out these
>>>> results and use own copy, which know nothing about actual package
>>>> preferences, needs, nor used language.
>>>>
>>>>>
>>>>>> See also:
>>>>>>     Thread "atomic ops broken on mac/xcode"
>>>>>>     https://mail.gnome.org/archives/gtk-devel-list/2012-August/msg00089.html
>>>>>>
>>>>>>     Gnome bugzilla #682818: atomic ops broken on mac/xcode
>>>>>>     https://bugzilla.gnome.org/show_bug.cgi?id=682818
>>>>>>
>>>>>>     LLVM/Clang bugzilla #11174: #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_
>>>>>>     http://llvm.org/bugs/show_bug.cgi?id=11174
>>>>>>

-- 
Andrew W. Nosenko <andrew.w.nosenko@gmail.com>

[-- Attachment #2 --]

# Which release of libtool.m4 was used?
macro_version=2.4.2
macro_revision=1.3337

# Assembler program.
AS="as"

# DLL creation program.
DLLTOOL="false"

# Object dumper program.
OBJDUMP="objdump"

# Whether or not to build shared libraries.
build_libtool_libs=yes

# Whether or not to build static libraries.
build_old_libs=yes

# What type of objects to build.
pic_mode=default

# Whether or not to optimize for fast installation.
fast_install=needless

# Shell to use when invoking shell scripts.
SHELL="/bin/sh"

# An echo program that protects backslashes.
ECHO="printf %s\\n"

# The PATH separator for the build system.
PATH_SEPARATOR=":"

# The host system.
host_alias=
host=amd64-portbld-freebsd8.0
host_os=freebsd8.0

# The build system.
build_alias=amd64-portbld-freebsd8.0
build=amd64-portbld-freebsd8.0
build_os=freebsd8.0

# A sed program that does not truncate output.
SED="/usr/bin/sed"

# Sed that helps us avoid accidentally triggering echo(1) options like -n.
Xsed="$SED -e 1s/^X//"

# A grep program that handles long lines.
GREP="/usr/bin/grep"

# An ERE matcher.
EGREP="/usr/bin/grep -E"

# A literal string matcher.
FGREP="/usr/bin/grep -F"

# A BSD- or MS-compatible name lister.
NM="/usr/bin/nm -B"

# Whether we need soft or hard links.
LN_S="ln -s"

# What is the maximum length of a command?
max_cmd_len=262144

# Object file suffix (normally "o").
objext=o

# Executable file suffix (normally "").
exeext=

# whether the shell understands "unset".
lt_unset=unset

# turn spaces into newlines.
SP2NL="tr \\040 \\012"

# turn newlines into spaces.
NL2SP="tr \\015\\012 \\040\\040"

# convert $build file names to $host format.
to_host_file_cmd=func_convert_file_noop

# convert $build files to toolchain format.
to_tool_file_cmd=func_convert_file_noop

# Method to check whether dependent libraries are shared objects.
deplibs_check_method="pass_all"

# Command to use when deplibs_check_method = "file_magic".
file_magic_cmd="\$MAGIC_CMD"

# How to find potential files when deplibs_check_method = "file_magic".
file_magic_glob=""

# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
want_nocaseglob="no"

# Command to associate shared and link libraries.
sharedlib_from_linklib_cmd="printf %s\\n"

# The archiver.
AR="ar"

# Flags to create an archive.
AR_FLAGS="cru"

# How to feed a file listing to the archiver.
archiver_list_spec=""

# A symbol stripping program.
STRIP="strip"

# Commands used to install an old-style archive.
RANLIB="ranlib"
old_postinstall_cmds="chmod 644 \$oldlib~\$RANLIB \$tool_oldlib"
old_postuninstall_cmds=""

# Whether to use a lock for old archive extraction.
lock_old_archive_extraction=no

# A C compiler.
LTCC="cc"

# LTCC compiler flags.
LTCFLAGS="-O2 -pipe -O2 -march=native -fno-strict-aliasing"

# Take the output of nm and produce a listing of raw symbols and C names.
global_symbol_pipe="sed -n -e 's/^.*[	 ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[	 ][	 ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p' | sed '/ __gnu_lto/d'"

# Transform the output of nm in a proper C declaration.
global_symbol_to_cdecl="sed -n -e 's/^T .* \\(.*\\)\$/extern int \\1();/p' -e 's/^[ABCDGIRSTW]* .* \\(.*\\)\$/extern char \\1;/p'"

# Transform the output of nm in a C name address pair.
global_symbol_to_c_name_address="sed -n -e 's/^: \\([^ ]*\\)[ ]*\$/  {\\\"\\1\\\", (void *) 0},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\([^ ]*\\)\$/  {\"\\2\", (void *) \\&\\2},/p'"

# Transform the output of nm in a C name address pair when lib prefix is needed.
global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \\([^ ]*\\)[ ]*\$/  {\\\"\\1\\\", (void *) 0},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\(lib[^ ]*\\)\$/  {\"\\2\", (void *) \\&\\2},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\([^ ]*\\)\$/  {\"lib\\2\", (void *) \\&\\2},/p'"

# Specify filename containing input files for $NM.
nm_file_list_spec=""

# The root where to search for dependent libraries,and in which our libraries should be installed.
lt_sysroot=

# The name of the directory that contains temporary libtool files.
objdir=.libs

# Used to examine libraries when file_magic_cmd begins with "file".
MAGIC_CMD=file

# Must we lock files when doing compilation?
need_locks="no"

# Manifest tool.
MANIFEST_TOOL=":"

# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
DSYMUTIL=""

# Tool to change global to local symbols on Mac OS X.
NMEDIT=""

# Tool to manipulate fat objects and archives on Mac OS X.
LIPO=""

# ldd/readelf like tool for Mach-O binaries on Mac OS X.
OTOOL=""

# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
OTOOL64=""

# Old archive suffix (normally "a").
libext=a

# Shared library suffix (normally ".so").
shrext_cmds=".so"

# The commands to extract the exported symbol list from a shared archive.
extract_expsyms_cmds=""

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

# Do we need the "lib" prefix for modules?
need_lib_prefix=no

# Do we need a version for libraries?
need_version=no

# Library versioning type.
version_type=freebsd-elf

# Shared library runtime path variable.
runpath_var=LD_RUN_PATH

# Shared library path variable.
shlibpath_var=LD_LIBRARY_PATH

# Is shlibpath searched before the hard-coded library search path?
shlibpath_overrides_runpath=yes

# Format of library name prefix.
libname_spec="lib\$name"

# List of archive names.  First name is the real one, the rest are links.
# The last name is the one that the linker finds with -lNAME
library_names_spec="\${libname}\${release}\${shared_ext}\$versuffix \${libname}\${release}\${shared_ext} \$libname\${shared_ext}"

# The coded name of the library, if different from the real name.
soname_spec=""

# Permission mode override for installation of shared libraries.
install_override_mode=""

# Command to use after installation of a shared archive.
postinstall_cmds=""

# Command to use after uninstallation of a shared archive.
postuninstall_cmds=""

# Commands used to finish a libtool library installation in a directory.
finish_cmds=""

# As "finish_cmds", except a single script fragment to be evaled but
# not shown.
finish_eval=""

# Whether we should hardcode library paths into libraries.
hardcode_into_libs=yes

# Compile-time system search path for libraries.
sys_lib_search_path_spec="/usr/lib "

# Run-time system search path for libraries.
sys_lib_dlsearch_path_spec="/lib /usr/lib"

# Whether dlopen is supported.
dlopen_support=yes

# Whether dlopen of programs is supported.
dlopen_self=yes

# Whether dlopen of statically linked programs is supported.
dlopen_self_static=no

# Commands to strip libraries.
old_striplib="strip --strip-debug"
striplib="strip --strip-unneeded"


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

# How to create reloadable object files.
reload_flag=" -r"
reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs"

# Commands used to build an old-style archive.
old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$tool_oldlib"

# A language specific compiler.
CC="cc"

# Is the compiler the GNU compiler?
with_gcc=yes

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

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

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

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

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

# Whether or not to add -lc for building shared libraries.
build_libtool_need_lc=no

# Whether or not to disallow shared libs when runtime libs are static.
allow_libtool_libs_with_static_runtimes=no

# Compiler flag to allow reflexive dlopens.
export_dynamic_flag_spec="\${wl}--export-dynamic"

# Compiler flag to generate shared objects directly from archives.
whole_archive_flag_spec="\${wl}--whole-archive\$convenience \${wl}--no-whole-archive"

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

# Create an old-style archive from a shared archive.
old_archive_from_new_cmds=""

# Create a temporary old-style archive to link instead of a shared archive.
old_archive_from_expsyms_cmds=""

# Commands used to build a shared archive.
archive_cmds="\$CC -shared \$pic_flag \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname -o \$lib"
archive_expsym_cmds="\$CC -shared \$pic_flag \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname \${wl}-retain-symbols-file \$wl\$export_symbols -o \$lib"

# Commands used to build a loadable module if different from building
# a shared archive.
module_cmds=""
module_expsym_cmds=""

# Whether we are building with GNU ld or not.
with_gnu_ld="yes"

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

# Flag that enforces no undefined symbols.
no_undefined_flag=""

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

# Whether we need a single "-rpath" flag with a separated argument.
hardcode_libdir_separator=""

# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
# DIR into the resulting binary.
hardcode_direct=no

# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
# DIR into the resulting binary and the resulting library dependency is
# "absolute",i.e impossible to change by setting ${shlibpath_var} if the
# library is relocated.
hardcode_direct_absolute=no

# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
# into the resulting binary.
hardcode_minus_L=no

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

# Set to "yes" if building a shared library automatically hardcodes DIR
# into the library and all subsequent libraries and executables linked
# against it.
hardcode_automatic=no

# Set to yes if linker adds runtime paths of dependent libraries
# to runtime path list.
inherit_rpath=no

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

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

# The commands to list exported symbols.
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="_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*"

# Symbols that must always be exported.
include_expsyms=""

# Commands necessary for linking programs (against libraries) with templates.
prelink_cmds=""

# Commands necessary for finishing linking programs.
postlink_cmds=""

# Specify filename containing input files.
file_list_spec=""

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

# The directories searched by this compiler when creating a shared library.
compiler_lib_search_dirs=""

# Dependencies to place before and after the objects being linked to
# create a shared library.
predep_objects=""
postdep_objects=""
predeps=""
postdeps=""

# The library search path used internally by the compiler when linking
# a shared library.
compiler_lib_search_path=""


[-- Attachment #3 --]

# Which release of libtool.m4 was used?
macro_version=2.4.2
macro_revision=1.3337

# Whether or not to build static libraries.
build_old_libs=no

# Assembler program.
AS="as"

# DLL creation program.
DLLTOOL="false"

# Object dumper program.
OBJDUMP="objdump"

# Whether or not to build shared libraries.
build_libtool_libs=yes

# What type of objects to build.
pic_mode=default

# Whether or not to optimize for fast installation.
fast_install=needless

# Shell to use when invoking shell scripts.
SHELL="/usr/local/bin/bash"

# An echo program that protects backslashes.
ECHO="printf %s\\n"

# The PATH separator for the build system.
PATH_SEPARATOR=":"

# The host system.
host_alias=
host=x86_64-unknown-freebsd8.0
host_os=freebsd8.0

# The build system.
build_alias=
build=x86_64-unknown-freebsd8.0
build_os=freebsd8.0

# A sed program that does not truncate output.
SED="/usr/bin/sed"

# Sed that helps us avoid accidentally triggering echo(1) options like -n.
Xsed="$SED -e 1s/^X//"

# A grep program that handles long lines.
GREP="/usr/bin/grep"

# An ERE matcher.
EGREP="/usr/bin/grep -E"

# A literal string matcher.
FGREP="/usr/bin/grep -F"

# A BSD- or MS-compatible name lister.
NM="/usr/bin/nm -B"

# Whether we need soft or hard links.
LN_S="ln -s"

# What is the maximum length of a command?
max_cmd_len=196608

# Object file suffix (normally "o").
objext=o

# Executable file suffix (normally "").
exeext=

# whether the shell understands "unset".
lt_unset=unset

# turn spaces into newlines.
SP2NL="tr \\040 \\012"

# turn newlines into spaces.
NL2SP="tr \\015\\012 \\040\\040"

# convert $build file names to $host format.
to_host_file_cmd=func_convert_file_noop

# convert $build files to toolchain format.
to_tool_file_cmd=func_convert_file_noop

# Method to check whether dependent libraries are shared objects.
deplibs_check_method="pass_all"

# Command to use when deplibs_check_method = "file_magic".
file_magic_cmd="\$MAGIC_CMD"

# How to find potential files when deplibs_check_method = "file_magic".
file_magic_glob=""

# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
want_nocaseglob="no"

# Command to associate shared and link libraries.
sharedlib_from_linklib_cmd="printf %s\\n"

# The archiver.
AR="ar"

# Flags to create an archive.
AR_FLAGS="cru"

# How to feed a file listing to the archiver.
archiver_list_spec=""

# A symbol stripping program.
STRIP="strip"

# Commands used to install an old-style archive.
RANLIB="ranlib"
old_postinstall_cmds="chmod 644 \$oldlib~\$RANLIB \$tool_oldlib"
old_postuninstall_cmds=""

# Whether to use a lock for old archive extraction.
lock_old_archive_extraction=no

# A C compiler.
LTCC="gcc"

# LTCC compiler flags.
LTCFLAGS="-g -O2 -Wall"

# Take the output of nm and produce a listing of raw symbols and C names.
global_symbol_pipe="sed -n -e 's/^.*[	 ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[	 ][	 ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p' | sed '/ __gnu_lto/d'"

# Transform the output of nm in a proper C declaration.
global_symbol_to_cdecl="sed -n -e 's/^T .* \\(.*\\)\$/extern int \\1();/p' -e 's/^[ABCDGIRSTW]* .* \\(.*\\)\$/extern char \\1;/p'"

# Transform the output of nm in a C name address pair.
global_symbol_to_c_name_address="sed -n -e 's/^: \\([^ ]*\\)[ ]*\$/  {\\\"\\1\\\", (void *) 0},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\([^ ]*\\)\$/  {\"\\2\", (void *) \\&\\2},/p'"

# Transform the output of nm in a C name address pair when lib prefix is needed.
global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \\([^ ]*\\)[ ]*\$/  {\\\"\\1\\\", (void *) 0},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\(lib[^ ]*\\)\$/  {\"\\2\", (void *) \\&\\2},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\([^ ]*\\)\$/  {\"lib\\2\", (void *) \\&\\2},/p'"

# Specify filename containing input files for $NM.
nm_file_list_spec=""

# The root where to search for dependent libraries,and in which our libraries should be installed.
lt_sysroot=

# The name of the directory that contains temporary libtool files.
objdir=.libs

# Used to examine libraries when file_magic_cmd begins with "file".
MAGIC_CMD=file

# Must we lock files when doing compilation?
need_locks="no"

# Manifest tool.
MANIFEST_TOOL=":"

# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
DSYMUTIL=""

# Tool to change global to local symbols on Mac OS X.
NMEDIT=""

# Tool to manipulate fat objects and archives on Mac OS X.
LIPO=""

# ldd/readelf like tool for Mach-O binaries on Mac OS X.
OTOOL=""

# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
OTOOL64=""

# Old archive suffix (normally "a").
libext=a

# Shared library suffix (normally ".so").
shrext_cmds=".so"

# The commands to extract the exported symbol list from a shared archive.
extract_expsyms_cmds=""

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

# Do we need the "lib" prefix for modules?
need_lib_prefix=no

# Do we need a version for libraries?
need_version=no

# Library versioning type.
version_type=freebsd-elf

# Shared library runtime path variable.
runpath_var=LD_RUN_PATH

# Shared library path variable.
shlibpath_var=LD_LIBRARY_PATH

# Is shlibpath searched before the hard-coded library search path?
shlibpath_overrides_runpath=yes

# Format of library name prefix.
libname_spec="lib\$name"

# List of archive names.  First name is the real one, the rest are links.
# The last name is the one that the linker finds with -lNAME
library_names_spec="\${libname}\${release}\${shared_ext}\$versuffix \${libname}\${release}\${shared_ext} \$libname\${shared_ext}"

# The coded name of the library, if different from the real name.
soname_spec=""

# Permission mode override for installation of shared libraries.
install_override_mode=""

# Command to use after installation of a shared archive.
postinstall_cmds=""

# Command to use after uninstallation of a shared archive.
postuninstall_cmds=""

# Commands used to finish a libtool library installation in a directory.
finish_cmds=""

# As "finish_cmds", except a single script fragment to be evaled but
# not shown.
finish_eval=""

# Whether we should hardcode library paths into libraries.
hardcode_into_libs=yes

# Compile-time system search path for libraries.
sys_lib_search_path_spec="/usr/lib "

# Run-time system search path for libraries.
sys_lib_dlsearch_path_spec="/lib /usr/lib"

# Whether dlopen is supported.
dlopen_support=unknown

# Whether dlopen of programs is supported.
dlopen_self=unknown

# Whether dlopen of statically linked programs is supported.
dlopen_self_static=unknown

# Commands to strip libraries.
old_striplib="strip --strip-debug"
striplib="strip --strip-unneeded"


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

# How to create reloadable object files.
reload_flag=" -r"
reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs"

# Commands used to build an old-style archive.
old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$tool_oldlib"

# A language specific compiler.
CC="gcc"

# Is the compiler the GNU compiler?
with_gcc=yes

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

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

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

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

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

# Whether or not to add -lc for building shared libraries.
build_libtool_need_lc=no

# Whether or not to disallow shared libs when runtime libs are static.
allow_libtool_libs_with_static_runtimes=no

# Compiler flag to allow reflexive dlopens.
export_dynamic_flag_spec="\${wl}--export-dynamic"

# Compiler flag to generate shared objects directly from archives.
whole_archive_flag_spec="\${wl}--whole-archive\$convenience \${wl}--no-whole-archive"

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

# Create an old-style archive from a shared archive.
old_archive_from_new_cmds=""

# Create a temporary old-style archive to link instead of a shared archive.
old_archive_from_expsyms_cmds=""

# Commands used to build a shared archive.
archive_cmds="\$CC -shared \$pic_flag \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname -o \$lib"
archive_expsym_cmds="\$CC -shared \$pic_flag \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname \${wl}-retain-symbols-file \$wl\$export_symbols -o \$lib"

# Commands used to build a loadable module if different from building
# a shared archive.
module_cmds=""
module_expsym_cmds=""

# Whether we are building with GNU ld or not.
with_gnu_ld="yes"

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

# Flag that enforces no undefined symbols.
no_undefined_flag=""

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

# Whether we need a single "-rpath" flag with a separated argument.
hardcode_libdir_separator=""

# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
# DIR into the resulting binary.
hardcode_direct=no

# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
# DIR into the resulting binary and the resulting library dependency is
# "absolute",i.e impossible to change by setting ${shlibpath_var} if the
# library is relocated.
hardcode_direct_absolute=no

# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
# into the resulting binary.
hardcode_minus_L=no

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

# Set to "yes" if building a shared library automatically hardcodes DIR
# into the library and all subsequent libraries and executables linked
# against it.
hardcode_automatic=no

# Set to yes if linker adds runtime paths of dependent libraries
# to runtime path list.
inherit_rpath=no

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

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

# The commands to list exported symbols.
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="_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*"

# Symbols that must always be exported.
include_expsyms=""

# Commands necessary for linking programs (against libraries) with templates.
prelink_cmds=""

# Commands necessary for finishing linking programs.
postlink_cmds=""

# Specify filename containing input files.
file_list_spec=""

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

# The directories searched by this compiler when creating a shared library.
compiler_lib_search_dirs=""

# Dependencies to place before and after the objects being linked to
# create a shared library.
predep_objects=""
postdep_objects=""
predeps=""
postdeps=""

# The library search path used internally by the compiler when linking
# a shared library.
compiler_lib_search_path=""


[-- Attachment #4 --]

# Which release of libtool.m4 was used?
macro_version=2.4.2
macro_revision=1.3337

# Whether or not to build static libraries.
build_old_libs=no

# Assembler program.
AS="as"

# DLL creation program.
DLLTOOL="false"

# Object dumper program.
OBJDUMP="objdump"

# Whether or not to build shared libraries.
build_libtool_libs=yes

# What type of objects to build.
pic_mode=default

# Whether or not to optimize for fast installation.
fast_install=needless

# Shell to use when invoking shell scripts.
SHELL="/usr/local/bin/bash"

# An echo program that protects backslashes.
ECHO="printf %s\\n"

# The PATH separator for the build system.
PATH_SEPARATOR=":"

# The host system.
host_alias=
host=x86_64-unknown-freebsd8.0
host_os=freebsd8.0

# The build system.
build_alias=
build=x86_64-unknown-freebsd8.0
build_os=freebsd8.0

# A sed program that does not truncate output.
SED="/usr/bin/sed"

# Sed that helps us avoid accidentally triggering echo(1) options like -n.
Xsed="$SED -e 1s/^X//"

# A grep program that handles long lines.
GREP="/usr/bin/grep"

# An ERE matcher.
EGREP="/usr/bin/grep -E"

# A literal string matcher.
FGREP="/usr/bin/grep -F"

# A BSD- or MS-compatible name lister.
NM="/usr/bin/nm -B"

# Whether we need soft or hard links.
LN_S="ln -s"

# What is the maximum length of a command?
max_cmd_len=196608

# Object file suffix (normally "o").
objext=o

# Executable file suffix (normally "").
exeext=

# whether the shell understands "unset".
lt_unset=unset

# turn spaces into newlines.
SP2NL="tr \\040 \\012"

# turn newlines into spaces.
NL2SP="tr \\015\\012 \\040\\040"

# convert $build file names to $host format.
to_host_file_cmd=func_convert_file_noop

# convert $build files to toolchain format.
to_tool_file_cmd=func_convert_file_noop

# Method to check whether dependent libraries are shared objects.
deplibs_check_method="pass_all"

# Command to use when deplibs_check_method = "file_magic".
file_magic_cmd="\$MAGIC_CMD"

# How to find potential files when deplibs_check_method = "file_magic".
file_magic_glob=""

# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
want_nocaseglob="no"

# Command to associate shared and link libraries.
sharedlib_from_linklib_cmd="printf %s\\n"

# The archiver.
AR="ar"

# Flags to create an archive.
AR_FLAGS="cru"

# How to feed a file listing to the archiver.
archiver_list_spec=""

# A symbol stripping program.
STRIP="strip"

# Commands used to install an old-style archive.
RANLIB="ranlib"
old_postinstall_cmds="chmod 644 \$oldlib~\$RANLIB \$tool_oldlib"
old_postuninstall_cmds=""

# Whether to use a lock for old archive extraction.
lock_old_archive_extraction=no

# A C compiler.
LTCC="gcc47"

# LTCC compiler flags.
LTCFLAGS="-g -O2 -Wall"

# Take the output of nm and produce a listing of raw symbols and C names.
global_symbol_pipe="sed -n -e 's/^.*[	 ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[	 ][	 ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p' | sed '/ __gnu_lto/d'"

# Transform the output of nm in a proper C declaration.
global_symbol_to_cdecl="sed -n -e 's/^T .* \\(.*\\)\$/extern int \\1();/p' -e 's/^[ABCDGIRSTW]* .* \\(.*\\)\$/extern char \\1;/p'"

# Transform the output of nm in a C name address pair.
global_symbol_to_c_name_address="sed -n -e 's/^: \\([^ ]*\\)[ ]*\$/  {\\\"\\1\\\", (void *) 0},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\([^ ]*\\)\$/  {\"\\2\", (void *) \\&\\2},/p'"

# Transform the output of nm in a C name address pair when lib prefix is needed.
global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \\([^ ]*\\)[ ]*\$/  {\\\"\\1\\\", (void *) 0},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\(lib[^ ]*\\)\$/  {\"\\2\", (void *) \\&\\2},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\([^ ]*\\)\$/  {\"lib\\2\", (void *) \\&\\2},/p'"

# Specify filename containing input files for $NM.
nm_file_list_spec=""

# The root where to search for dependent libraries,and in which our libraries should be installed.
lt_sysroot=

# The name of the directory that contains temporary libtool files.
objdir=.libs

# Used to examine libraries when file_magic_cmd begins with "file".
MAGIC_CMD=file

# Must we lock files when doing compilation?
need_locks="no"

# Manifest tool.
MANIFEST_TOOL=":"

# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
DSYMUTIL=""

# Tool to change global to local symbols on Mac OS X.
NMEDIT=""

# Tool to manipulate fat objects and archives on Mac OS X.
LIPO=""

# ldd/readelf like tool for Mach-O binaries on Mac OS X.
OTOOL=""

# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
OTOOL64=""

# Old archive suffix (normally "a").
libext=a

# Shared library suffix (normally ".so").
shrext_cmds=".so"

# The commands to extract the exported symbol list from a shared archive.
extract_expsyms_cmds=""

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

# Do we need the "lib" prefix for modules?
need_lib_prefix=no

# Do we need a version for libraries?
need_version=no

# Library versioning type.
version_type=freebsd-elf

# Shared library runtime path variable.
runpath_var=LD_RUN_PATH

# Shared library path variable.
shlibpath_var=LD_LIBRARY_PATH

# Is shlibpath searched before the hard-coded library search path?
shlibpath_overrides_runpath=yes

# Format of library name prefix.
libname_spec="lib\$name"

# List of archive names.  First name is the real one, the rest are links.
# The last name is the one that the linker finds with -lNAME
library_names_spec="\${libname}\${release}\${shared_ext}\$versuffix \${libname}\${release}\${shared_ext} \$libname\${shared_ext}"

# The coded name of the library, if different from the real name.
soname_spec=""

# Permission mode override for installation of shared libraries.
install_override_mode=""

# Command to use after installation of a shared archive.
postinstall_cmds=""

# Command to use after uninstallation of a shared archive.
postuninstall_cmds=""

# Commands used to finish a libtool library installation in a directory.
finish_cmds=""

# As "finish_cmds", except a single script fragment to be evaled but
# not shown.
finish_eval=""

# Whether we should hardcode library paths into libraries.
hardcode_into_libs=yes

# Compile-time system search path for libraries.
sys_lib_search_path_spec="/usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd8.0/4.7.3 /usr/local/x86_64-portbld-freebsd8.0/lib /usr/local/lib/gcc47 /lib /usr/lib "

# Run-time system search path for libraries.
sys_lib_dlsearch_path_spec="/lib /usr/lib"

# Whether dlopen is supported.
dlopen_support=unknown

# Whether dlopen of programs is supported.
dlopen_self=unknown

# Whether dlopen of statically linked programs is supported.
dlopen_self_static=unknown

# Commands to strip libraries.
old_striplib="strip --strip-debug"
striplib="strip --strip-unneeded"


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

# How to create reloadable object files.
reload_flag=" -r"
reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs"

# Commands used to build an old-style archive.
old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$tool_oldlib"

# A language specific compiler.
CC="gcc47"

# Is the compiler the GNU compiler?
with_gcc=yes

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

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

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

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

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

# Whether or not to add -lc for building shared libraries.
build_libtool_need_lc=no

# Whether or not to disallow shared libs when runtime libs are static.
allow_libtool_libs_with_static_runtimes=no

# Compiler flag to allow reflexive dlopens.
export_dynamic_flag_spec="\${wl}--export-dynamic"

# Compiler flag to generate shared objects directly from archives.
whole_archive_flag_spec="\${wl}--whole-archive\$convenience \${wl}--no-whole-archive"

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

# Create an old-style archive from a shared archive.
old_archive_from_new_cmds=""

# Create a temporary old-style archive to link instead of a shared archive.
old_archive_from_expsyms_cmds=""

# Commands used to build a shared archive.
archive_cmds="\$CC -shared \$pic_flag \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname -o \$lib"
archive_expsym_cmds="\$CC -shared \$pic_flag \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname \${wl}-retain-symbols-file \$wl\$export_symbols -o \$lib"

# Commands used to build a loadable module if different from building
# a shared archive.
module_cmds=""
module_expsym_cmds=""

# Whether we are building with GNU ld or not.
with_gnu_ld="yes"

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

# Flag that enforces no undefined symbols.
no_undefined_flag=""

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

# Whether we need a single "-rpath" flag with a separated argument.
hardcode_libdir_separator=""

# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
# DIR into the resulting binary.
hardcode_direct=no

# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
# DIR into the resulting binary and the resulting library dependency is
# "absolute",i.e impossible to change by setting ${shlibpath_var} if the
# library is relocated.
hardcode_direct_absolute=no

# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
# into the resulting binary.
hardcode_minus_L=no

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

# Set to "yes" if building a shared library automatically hardcodes DIR
# into the library and all subsequent libraries and executables linked
# against it.
hardcode_automatic=no

# Set to yes if linker adds runtime paths of dependent libraries
# to runtime path list.
inherit_rpath=no

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

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

# The commands to list exported symbols.
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="_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*"

# Symbols that must always be exported.
include_expsyms=""

# Commands necessary for linking programs (against libraries) with templates.
prelink_cmds=""

# Commands necessary for finishing linking programs.
postlink_cmds=""

# Specify filename containing input files.
file_list_spec=""

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

# The directories searched by this compiler when creating a shared library.
compiler_lib_search_dirs=""

# Dependencies to place before and after the objects being linked to
# create a shared library.
predep_objects=""
postdep_objects=""
predeps=""
postdeps=""

# The library search path used internally by the compiler when linking
# a shared library.
compiler_lib_search_path=""


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALa-7vwcAVLHh63n_eq00rdA8mrwXpj5wqJ%2BYdrHV2wpXxUgWw>