On Thu, Jan 24, 2019 at 02:15:29AM +0000, Ken Moffat via blfs-dev wrote: > > > > I note that right now I have lots of rustc libraries installed. There are > > 66 that start with librust: > >
Using this as an opportunity to check my own package-management records, I can see which version one of these pairs came from, but I do not seem to have ever logged the other two: > > /usr/lib/librustc-3d910d8f7b901176.so 1.25.0 > > /usr/lib/librustc-c6ce0ba07588722d.so > > /usr/lib/librustc-c796cf9aaca5fadb.so > > /usr/lib/librustc_allocator-3b9f95af21cf3f66.so > > /usr/lib/librustc_allocator-119d27ec915d9b98.so 1.25.0 > > /usr/lib/librustc_allocator-b3c1ab230b643dcf.so On my ryzen with static llvm, I see that the 1.32.0 libs are in /usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/ and the versions are: librustc-d487f79bdc0d476a.so librustc_allocator-cff02bbb4551c5d7.so (and the same for the broken version using system LLVM) Before that, for 1.31, also in x86_64-unknown-linux-gnu/lib librustc-df4189135612ebda.so librustc_allocator-39971d06b8201484.so And before that, for 1.29.2 (in /usr/lib) /usr/lib/librustc-40604068b1b9fd3d.so /usr/lib/librustc_allocator-da14b6b43a0c2363.so and for earlier versions (on previous systems and other machines) 1.29.1 /usr/lib/librustc-b654d5bd7e584da7.so /usr/lib/librustc_allocator-8214ef93f2cc9f9a.so 1.29.0 /usr/lib/librustc-37412045fdbde2d9.so /usr/lib/librustc_allocator-47e0957e12eae582.so 1.26.1 (in /opt/new, for testing) /opt/new/lib/librustc-f3eeab043dac4701.so /opt/new/lib/librustc_allocator-e2ffe018c7ffdb72.so 1.23.0 /usr/lib/librustc-482d6ef79768f8f7.so /usr/lib/librustc_allocator-a769e822d5f9b924.so 1.22.1 /usr/lib/librustc-d006ddef56b1fca1.so /usr/lib/librustc_allocator-63536eadb44af906.so 1.21.0 /usr/lib/librustc-551af6437888af5e.so /usr/lib/librustc_allocator-889b16f686a0431a.so 1.19.0 /usr/lib/librustc-22ec72c8cdc4b97e.so (no librustc_allocator on that version, I stopped looking) It's interesting that they are now installing in /usr/lib/rustlib/target-triplet. If you know which versions produced those other two pairs, that would be interesting, but it's not important. The only point to really take away from this is that if people want to revert to using an older version then they need to back up the programs as well as the libraries before updating. I'm starting to warm to your idea of deleting the old libraries (and perhaps the docs), before doing the real install. The programs will just get overwritten. But then that does open up a can of worms: Should we, in general, delete old versions (poppler, mupdf, ffmpeg come particularly to mind, but anything where the library version changes will give problems unless people rebuild everything) ? ĸen -- thread 'main' panicked at 'giraffe', /tmp/rustc-1.32.0-src/src/test/run-fail/while-panic.rs:17:13 -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
