On -dev, a reply from Thanos about my current problem with rust
showed he was using systemd (I'm using sysv) and getting core dumps
during the tests.

It looks as if core dumps might be useful for working out why
invalid opcodes were present (based on my experience with rust I say
'might' rather than 'will'), but I haven't managed to get any so

I'm building as root (inter-alia, for rust it saves the installer
(root) downloading .cargo files and then compiling) and googling
suggested that the following ought to work:

ulimit -c unlimited
mkdir -p /var/log/dumps
chmod -R 1777 /var/log/dumps
echo “/var/log/dumps/core.%e.%p” > /proc/sys/kernel/core_pattern

But on my first attempt there were no core files in that directory.
Any suggestions ?

ĸen, currently trying a different approach to the tests, but
expecting the box to reboot at any moment.
In my seventh decade astride this planet, and as my own cells degrade,
there are some things I cannot do now: skydiving, marathon running,
calculus. I couldn't do them in my 20s either, so no big loss.
            -- Derek Smalls, formerly of Spinal Tap
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to