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: Rajeev V. Pillai
Subject: Re: ncurses-6.2-20200817: Error creating shared libraries on NetBSD 9.0
Date: Fri, 21 Aug 2020 01:09:24 +0000 (UTC)

 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
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)

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 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.


reply via email to

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