Re: "Link tests are not allowed after GCC_NO_EXECUTABLES" on OpenBSD pre-5.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 6, 2013 at 2:00 PM, niXman <i.nixman@xxxxxxxxx> wrote:
>
> configured as:
> /home/nixman/gcc-4.8.1/configure \
> --enable-shared \
> --enable-static \
> --enable-multilib \
> --disable-nls \
> --enable-languages=c,c++,fortran,go \
> --enable-libstdcxx-time=yes \
> --disable-libgomp \
> --enable-lto \
> --enable-checking=release \
> --disable-libstdcxx-pch \
> --disable-libstdcxx-debug \
> --prefix=/home/nixman/prefix \
> --with-{gmp,mpfr,mpc}=/home/nixman/prefix \
> --host=x86_64-pc-openbsd5.4 \
> --build=x86_64-pc-openbsd5.4 \
> --target=x86_64-pc-openbsd5.4 \
> --enable-bootstrap
>
>
> on configuring libstdc++ stage 1, I get the following error:

...

> checking for shl_load... configure: error: Link tests are not allowed
> after GCC_NO_EXECUTABLES.

A possible quick fix might be to configure with --disable-dlopen.

I think the problem is coming from the call to AC_CHECK_LIB([dld],
[shl_load], in the top level libtool.m4 file.

Ian




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux