On 2018/05/02 10:35, s_g...@telus.net wrote: > I realize the orangepi is not the swiftest of machines, but the ld issue is > more than just SOC performance. The ld process should finish within a few > seconds to a minute. It is taking 20 minutes.
"should"... I have things where ld takes many minutes on fast x86 machines with much better disk io than this machine will have. Back when I did bulk package builds on arm they were taking several months, and the ports tree was a fair bit smaller then. > I am trying to build php as the current bulk build failed on so many > packages. I think it is the first bulk build since clang. The other > compiles and processes execute in reasonable time, but when it comes to ld > something happens. > > As I was looking around trying to find what some clues I ran man from the > serial console and it hung. Man runs fine from an ssh connection over the > lan. Man on the console was hung in bqwait. What is that? > > PID USERNAME PRI NICE SIZE RES STATE WAIT TIME CPU COMMAND > 87860 root 63 0 45M 45M run - 18:26 64.60% ld > 30014 sysadmin -6 0 832K 1556K sleep bqwait 0:10 15.23% man Perhaps the serial console is causing some worst-case behaviour, it has high spl and could be stopping other things from running to allow things to unblock. (Generally I'd avoid using serial console on a live system unless I don't have another choice, especially if it's under stress).