[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ncurses-6.2-20200817: Error creating shared libraries on NetBSD 9.0
From: |
Thomas Dickey |
Subject: |
Re: ncurses-6.2-20200817: Error creating shared libraries on NetBSD 9.0 |
Date: |
Thu, 20 Aug 2020 15:48:50 -0400 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Thu, Aug 20, 2020 at 01:36:59PM +0000, Rajeev V. Pillai wrote:
> ncurses-6.2-20200817 attempts to create shared libraries on NetBSD 9.0_STABLE
> using
> ``-Wl,-shared -Wl,-Bshareable'' instead of ``-shared -Wl,-soname''. This
> doesn't work on
> any of the compilers I've tried (gcc-8.3.0, gcc-10.2.0, clang-8.0.1,
> clang-10.0.1) on
> NetBSD, FreeBSD or Linux.
The NetBSD 9 which I installed earlier this year has an older version of gcc:
gcc (nb3 20190319) 7.4.0
That's not from pkgsrc, since it is /usr/bin/gcc
The set of options isn't new either. The line of script that sets that
"-Bshareable" value was in ncurses 6.1 (since it dates from December 2017).
It was originally from 1995.
NetBSD 9's ld manpage says this:
-shared
-Bshareable
Create a shared library. This is currently only supported on ELF,
XCOFF and SunOS platforms. On SunOS, the linker will automatically
create a shared library if the -e option is not used and there are
undefined symbols in the link.
If pkgsrc doesn't support that, it looks like a bug in pkgsrc.
> Full logs are in this NetBSD PR:
> https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=55594
>
> Thanks,
> RVP
>
--
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net
signature.asc
Description: PGP signature
- ncurses-6.2-20200817: Error creating shared libraries on NetBSD 9.0, Rajeev V. Pillai, 2020/08/20
- Re: ncurses-6.2-20200817: Error creating shared libraries on NetBSD 9.0,
Thomas Dickey <=
- Re: ncurses-6.2-20200817: Error creating shared libraries on NetBSD 9.0, Rajeev V. Pillai, 2020/08/20
- Re: ncurses-6.2-20200817: Error creating shared libraries on NetBSD 9.0, Thomas Dickey, 2020/08/20
- Re: ncurses-6.2-20200817: Error creating shared libraries on NetBSD 9.0, Rajeev V. Pillai, 2020/08/20
- Re: ncurses-6.2-20200817: Error creating shared libraries on NetBSD 9.0, Thomas Dickey, 2020/08/21
- Re: ncurses-6.2-20200817: Error creating shared libraries on NetBSD 9.0, Thomas Dickey, 2020/08/22
- Re: ncurses-6.2-20200817: Error creating shared libraries on NetBSD 9.0, Thomas Dickey, 2020/08/22
- Re: ncurses-6.2-20200817: Error creating shared libraries on NetBSD 9.0, Rajeev V. Pillai, 2020/08/23
- Re: ncurses-6.2-20200817: Error creating shared libraries on NetBSD 9.0, Thomas Dickey, 2020/08/23
- Re: ncurses-6.2-20200817: Error creating shared libraries on NetBSD 9.0, Thomas Dickey, 2020/08/23
- Re: ncurses-6.2-20200817: Error creating shared libraries on NetBSD 9.0, Rajeev V. Pillai, 2020/08/23