FYI: qemu-ppc64-static and qemu-ppc-static "live-hang" when I attempt use with poudriere; qemu-arm-static and qemu-aarch64-static work

Mark Millard markmi at dsl-only.net
Wed Aug 30 10:09:44 UTC 2017


qemu-ppc64-static and qemu-ppc-static "live-hang" when I
attempt use them with poudriere, hanging at the command
(showing an example process id):

/usr/local/bin/qemu-ppc-static /bin/ps -ww -p 47841 -o jid=

which eats CPU time and grows memory SIZE over time.
Examples from after waiting a while in each case:

  PID USERNAME    THR PRI NICE   SIZE    RES   SWAP STATE   C   TIME     CPU COMMAND
48319 root          2 103    0  8413M   234M     0K CPU11  11   2:50 101.97% /usr/local/bin/qemu-ppc64-static /bin/ps -ww -p 48318 -o jid

  PID USERNAME    THR PRI NICE   SIZE    RES   SWAP STATE   C   TIME     CPU COMMAND
47842 root          2 103    0 16597M   455M     0K CPU1    1   5:25  96.38% /usr/local/bin/qemu-ppc-static /bin/ps -ww -p 47841 -o jid=


By contrast I've no such problem with qemu-arm-static or
qemu-aarch64-static : these were able to build lang/gcc7
(full bootstrap) in between 4 and 5 hours hours each,
the prerequisites also being built in the process.

# svnlite info /usr/ports/ | grep "Re[plv]"
Relative URL: ^/head
Repository Root: svn://svn.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 448068
Last Changed Rev: 448068



My attempts to manually use qemu-ppc64-static and qemu-ppc-static
(with -L supplied) also get such results. The same for
qemu-ppc*-static running a statically linked rescue program (so
no -L needed).

It appears that qemu-ppc64-static and qemu-ppc-static from
emulators/qemu-user-static are broken.

===
Mark Millard
markmi at dsl-only.net



More information about the freebsd-ports mailing list