yuri@FreeBSD
yuri@FreeBSD
> Do you set disk_io_write_mode to write_through? With that set, libtorrent will msync() pieces as they are downloaded, and the FreeBSD man page seems pretty clear about actually flushing pages...
Shouldn't this be a default in the project?
> With b2 you would use fpic=on when compiling libtorrent. I use setup.py to build, How do I pass ```fpic=on``` to setup.py? Both ```--b2-args fpic=on``` and ```--b2-args=fpic=on``` as suggested in...
Adding ```fpic=on``` like is described above doesn't solve the problem. b2 fails the same way with this argument.
``` ld: error: relocation R_X86_64_PC32 cannot be used against symbol __stack_chk_guard; recompile with -fPIC >>> defined in /lib/libc.so.7 >>> referenced by list.cpp >>> list.o:(boost::python::detail::list_base::index(boost::python::api::object const&) const) in archive /usr/local/lib/libboost_python38.a ld:...
Same with ```libtorrent-python-pic=on```.
> there's already a fpic=on build feature. But it doesn't solve the problem.
> If the Op has already built libtorrent.so and installed it to a system path will it need to be rebuilt with fpic for this to work when creating the...
[Here](https://people.freebsd.org/~yuri/py38-libtorrent-rasterbar-2.0.6.27.log) is a log with ```-n```.
Sorry, this was due to a typo. I updated the file.