bug-ncurses
[Top][All Lists]
Advanced

[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: Fri, 21 Aug 2020 04:01:03 -0400
User-agent: NeoMutt/20170113 (1.7.2)

On Fri, Aug 21, 2020 at 01:09:24AM +0000, Rajeev V. Pillai wrote:
>  On Friday, 21 August 2020, 05:27:51 GMT+5:30, Thomas Dickey <dickey@his.com> 
> wrote:
> 
> 
> > sure - it's a problem with the compiler's linker script.
> 
> gcc-7.5.0 NetBSD 9.0_STABLE std compiler

this is the only relevant one (something to verify when I've time to
compile that package).

> clang-8.0.1 FreeBSD 12.1-RELEASE std compiler
> gcc-8.3.0 Ubuntu 19.04 std compiler
> gcc-10.2.0 on Ubuntu 19.04 (compiled from source by me)
> clang-10.0.1 on Ubuntu 19.04 (binary release from LLVM's github page)

these are irrelevant.
 
> None of them honour ``-Wl,-shared''. All need ``-shared''.
> 
>  I would file this behaviour as a bug against the compilers, but for the fact

that's the proper place to start.

>  that I've always used ``-shared'' to create shared libraries (and 
> ``-Wl,-soname''
>  to set DT_SONAME), and never used ``-Wl,-shared''; though it does _feel_ like
> ``-Wl,-shared'' should be passed on like ``-Wl,-soname'' is.
> 
> Certainly this exception should be made explicit in the compiler man-pages.

-- 
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]