pkgsrc-Users archive

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

Re: rust fails on NetBSD 8 i386



Greg Troxel <gdt%lexort.com@localhost> writes:
> (This is from running the build again after it failed; a lot worked
> before this.)
> 
> The machine is reaonably up-to-date netbsd-8 (mid February build), i386,
> MacBook 4,1 with 3G of usable RAM, and is otherwise untroubled.
> 
> I have been able to build rust on netbsd-8/amd64.
[ ... ]
>    Compiling serde v1.0.99
> /usr/ANONCVS/pkgsrc/lang/rust/work/rustc-1.42.0-src/build/bootstrap/debug/deps/libserde_derive-d3ad2048421396dd.so: text relocations
> error: /usr/ANONCVS/pkgsrc/lang/rust/work/rustc-1.42.0-src/build/bootstrap/debug/deps/libserde_derive-d3ad2048421396dd.so: Cannot write-enable text segment: Permission denied
I think I worked around that one by doing:
# sysctl -w security.pax.mprotect.global=0

					-jarle


Home | Main Index | Thread Index | Old Index