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: Sun, 23 Aug 2020 21:35:06 +0000 (UTC)

On Saturday, 22 August 2020, 23:57:25 GMT+5:30, Thomas Dickey <dickey@his.com> 
wrote:

> On Sat, Aug 22, 2020 at 02:09:18PM -0400, Thomas Dickey wrote:
> ...
>> In short, the difference has been there a while.  Perhaps the compiler
>> (or supporting objects) changed over the past 21 years,...

>From the follow-up in: 
>https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=55594

"-Wl,-shared means "pass -shared to the linker and do nothing else"
 while -shared means "tell the compiler driver to build a shared
library", which includes both passing -shared to the linker and also
doing other things. Without the other things, you'll among other
things get the wrong crstuff and it won't work."

As you noted, different runtime objects will be used depending on what is 
passed.

RVP


reply via email to

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