Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2017 03:09:40 -0700
From:      Mark Millard <markmi@dsl-only.net>
To:        FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>, FreeBSD Ports <freebsd-ports@freebsd.org>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   FYI: qemu-ppc64-static and qemu-ppc-static "live-hang" when I attempt use with poudriere; qemu-arm-static and qemu-aarch64-static work
Message-ID:  <7BCCF7B6-7AA0-470E-A3ED-9D116E13DBFC@dsl-only.net>

next in thread | raw e-mail | index | archive | help
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=3D

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=3D


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.

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7BCCF7B6-7AA0-470E-A3ED-9D116E13DBFC>