[OmniOS-discuss] pkgsrc-current OmniOS 170cea2/i386 2015-07-09 21:35

Sevan / Venture37 venture37 at gmail.com
Tue Sep 1 16:10:19 UTC 2015


Hi Richard,

On 1 September 2015 at 16:01, Richard PALO <richard at netbsd.org> wrote:
> Unfortunately I don't feel this change is correct, even though it may help your builds
> and seem not really important...
>
> There is still an fishy problem in your config, and I certainly don't see this issue after a proper bootstrap.

It would be good if you could qualify what a proper bootstrap is?

> Can you post the output from the following (substituting your bootstrapped PREFIX)?
>
>> $ grep compiler_lib_search <$PREFIX>/bin/libtool
>
> As I once mentioned to you, these should point to the right base for gcc (native or pkgsrc compiler).

from an unprivileged bootstrap,  made yesterday by running
pkgsrc/bootstrap/bootstrap --unprivileged

-bash-4.3$ grep compiler_lib_search ~/pkg/bin/libtool
compiler_lib_search_dirs=""
compiler_lib_search_path=""
      libs="$predeps $libs $compiler_lib_search_path $postdeps"
            searchdirs="$newlib_search_path $lib_search_path
$compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path"
        case " $predeps $postdeps $compiler_lib_search_path " in
compiler_lib_search_dirs="/opt/gcc-4.8.1/lib/gcc/i386-pc-solaris2.11/4.8.1
/opt/gcc-4.8.1/lib/gcc/i386-pc-solaris2.11/4.8.1/../../.."
compiler_lib_search_path="-L/opt/gcc-4.8.1/lib/gcc/i386-pc-solaris2.11/4.8.1
-L/opt/gcc-4.8.1/lib/gcc/i386-pc-solaris2.11/4.8.1/../../.."
compiler_lib_search_dirs=""
compiler_lib_search_path=""
compiler_lib_search_dirs=""
compiler_lib_search_path=""
compiler_lib_search_dirs=""
compiler_lib_search_path=""
compiler_lib_search_dirs=""
compiler_lib_search_path=""
compiler_lib_search_dirs=""
compiler_lib_search_path=""


Without disabling openmp support you should find that libgomp is a
dependency for the version of msgfmt from devel/gettext-tools when
using the native version of GCC, on r151014 it's GCC 4.81.
But, the path to libgomp is unresolvable because its location is not
in the search path (I previously kludged around this by adding
/opt/gcc-4.81/lib to the ld search path using crle(1)).

It's not a compile time issue, it's a run time issue.

Sevan


More information about the OmniOS-discuss mailing list