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: Thu, 20 Aug 2020 19:57:34 -0400
User-agent: NeoMutt/20170113 (1.7.2)

On Thu, Aug 20, 2020 at 10:02:45PM +0000, Rajeev V. Pillai wrote:
>  On Friday, 21 August 2020, 01:18:54 GMT+5:30, Thomas Dickey <dickey@his.com> 
> wrote: 
> 
> > 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.
> 
> I don't think this is a linker issue. The NetBSD ld(1) accepts ``-shared'' 
> just fine and creates

sure - it's a problem with the compiler's linker script.

Take a look at how the packagers solve the problem of adapting the unmodified
gcc source to make a workable compiler.

http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/lang/gcc10/?only_with_tag=MAIN

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