On Mon, Jan 22, 2018 at 08:10:30PM +0100, Tim Tassonis wrote: > > > On 01/22/2018 04:51 AM, Ken Moffat wrote: > > On Sun, Jan 21, 2018 at 08:49:53PM -0600, Bruce Dubbs wrote: > > > Ken Moffat wrote: > > > > On Sun, Jan 21, 2018 at 04:58:22AM +0000, Ken Moffat wrote: [...] > > Hmm, you are using python2 ? Maybe I should try that instead of > > python3.
> > > > > > looking at the output of ldd, I think we need a way to not have the system > > > use rpath. I think there is a way to do that. I'll try adding rpath = > > > true > > > to the [rust] portion of config.toml. > > > > > Just my two cents: I'v built 1.22.1 from > > https://static.rust-lang.org/dist/rustc-1.22.1-src.tar.gz > > like this: > > > CC=gcc export CC > > cat <<EOF > config.toml > # see src/bootstrap/config.toml.example for more possible options > [llvm] > targets = "X86" > > [build] > # install cargo as well as rust > extended = true > > [install] > prefix = "/usr" > docdir = "share/doc/rustc" > EOF > > > ./x.py build > > DESTDIR=$DESTDIR ./x.py install > > > > Works ok with firefox, will try rsvg later. > Tim, my working hypothesis is that using Python3 to build rustc-1.23.0 is the root of the weirdnesses. Unless something odd happens in the next few hours, I'll update the book to 1.23.0 with rpath = false (sic). Quoting from https://github.com/rust-lang/rust/blob/master/config.toml.example (the config.toml.example in rustc-1.23.0 matches that part) - # By default the `rustc` executable is built with `-Wl,-rpath` flags on Unix # platforms to ensure that the compiler is usable by default from the build # directory (as it links to a number of dynamic libraries). This may not be # desired in distributions, for example. #rpath = true The commented settings in the example are the defaults. ĸen -- Truth, in front of her huge walk-in wardrobe, selected black leather boots with stiletto heels for such a barefaced truth. - Unseen Academicals -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
