NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/55594: Error creating shared library using gcc-7.5.0 on NetBSD 9.0_STABLE



The following reply was made to PR toolchain/55594; it has been noted by GNATS.

From: "Rajeev V. Pillai" <rajeev_v_pillai%yahoo.com@localhost>
To: "toolchain-manager%netbsd.org@localhost" <toolchain-manager%netbsd.org@localhost>, 
	"gnats-admin%netbsd.org@localhost" <gnats-admin%netbsd.org@localhost>, 
	"netbsd-bugs%netbsd.org@localhost" <netbsd-bugs%netbsd.org@localhost>, 
	"gnats-bugs%netbsd.org@localhost" <gnats-bugs%netbsd.org@localhost>
Cc: 
Subject: Re: toolchain/55594: Error creating shared library using gcc-7.5.0
 on NetBSD 9.0_STABLE
Date: Sun, 23 Aug 2020 21:26:02 +0000 (UTC)

  On Sunday, 23 August 2020, 14:45:05 GMT+5:30, David Holland <dholland-bugs%netbsd.org@localhost> wrote: 
 
 > -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.
 
 
 That explains things very well. Thanks.
 
 RVP
 



Home | Main Index | Thread Index | Old Index