[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Missing dependency for rust?
* On 2017-09-27 at 05:43 BST, Jan Danielsson wrote:
> On 09/26/17 13:40, Robert Elz wrote:
> > | I haven't got an installation of 7.1 NetBSD amd64 to check the version
> > | of libgcc_s.so.1, as I am running only -current
> > This is from a 6.0.1 (amd64) userland...
> > ls -l /lib/libgcc_s*
> > lrwxr-xr-x 1 root wheel 15 Jan 15 2013 /lib/libgcc_s.so -> libgcc_s.so.1.0
> > lrwxr-xr-x 1 root wheel 15 Jan 15 2013 /lib/libgcc_s.so.1 -> libgcc_s.so.1.0
> > -r--r--r-- 1 root wheel 54170 Jan 15 2013 /lib/libgcc_s.so.1.0
> > which, aside from the mod dates, and the actual .so.0.1 file size - which
> > is considerably larger in current) is the same as exists in 8.99.3 so I
> > think you can assume that -7 also has the same version (at least the same
> > version numbers.)
> I noticed that there's no libgcc_s in my installation sets, which at
> first was a little surprising -- but then I remembered:
> A case for building the bootstrap rustc with -static-libgcc ?
For the SmartOS bootstrap kit we bundle a copy of libgcc that rust was
built with and fixup the rpaths to find it via $ORIGIN. Hacky, but
ensures a portable kit.
This is done in the "stage0-bootstrap" target for lang/rust, so you
can see how it's done.
Jonathan Perkin - Joyent, Inc. - www.joyent.com
Main Index |
Thread Index |