Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jan 2018 14:45:35 -0800 (PST)
From:      Don Lewis <truckman@FreeBSD.org>
To:        Mike Tancsa <mike@sentex.net>
Cc:        Peter Moody <freebsd@hda3.com>, Nimrod Levy <nimrodl@gmail.com>, freebsd-stable@freebsd.org, Pete French <petefrench@ingresso.co.uk>
Subject:   Re: Ryzen issues on FreeBSD ?
Message-ID:  <tkrat.f2510fb3b794ca7a@FreeBSD.org>
In-Reply-To: <79e5c1c0-668c-2a91-73e0-6b2cdd0eac60@sentex.net>
References:  <8e842dec-ade7-37d1-6bd8-856ea1a827ca@sentex.net> <3b625072-dfb3-6b4f-494d-7fe1b2fa554c@ingresso.co.uk> <2c6ce4dd-f43c-7c40-abc2-732d6f8996ec@sentex.net> <tkrat.6d8f44d87e74fa14@FreeBSD.org> <795dbb79-3c18-d967-98b9-5d09a740dbfe@sentex.net> <CAMgUhpr%2B5HeBi1MRegs=XoKpdHW8-i%2Bec0k-DNaL_pcN6PCPKw@mail.gmail.com> <tkrat.5ec856810e0c7ced@FreeBSD.org> <CAMgUhpqZyCOjqVhMCAi-b_JaKYtyfqDf0pOcX0LwV2dcTuusyg@mail.gmail.com> <CAMgUhpqpYpoi1bD9h_SYvh83g_Csky%2BqMkTsOYZ1zcHYxtMeHg@mail.gmail.com> <dd29d77a-deb9-423e-f9b8-cb07387bbfd5@sentex.net> <CADbMJxm308Pv1OsSj58WVBnM4oYNy8SeQxn54XNt3w0_zaZVFg@mail.gmail.com> <b709107e-0d05-6e81-c960-bd92ddc40860@sentex.net> <CADbMJxm5j%2B3WO06jV1wQ5TYEA8rA4E0CBT4ZCNuwYHAk7Gt7cg@mail.gmail.com> <79e5c1c0-668c-2a91-73e0-6b2cdd0eac60@sentex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 19 Jan, Mike Tancsa wrote:
> On 1/19/2018 3:48 PM, Peter Moody wrote:
>> 
>> weirdly enough though, with SMT enabled, building net/samba47 would
>> always hang (like compilation segfaults). with SMT disabled, no such
>> problems.
> 
> wow, thats so strange!  I just tried,and the same thing and see it as well.
> 
> [ 442/3804] Generating lib/ldb-samba/ldif_handlers_proto.h
> [ 443/3804] Generating source4/lib/registry/tools/common.h
> runner  /usr/local/bin/perl
> "/usr/ports/net/samba47/work/samba-4.7.4/source4/script/mkproto.pl"
> --srcdir=.. --builddir=. --public=/dev/null
> --private="default/lib/ldb-samba/ldif_handlers_proto.h"
> ../lib/ldb-samba/ldif_handlers.c ../lib/ldb-samba/ldb_matching_rules.c
> [ 444/3804] Generating source4/lib/registry/tests/proto.h
> runner  /usr/local/bin/perl
> "/usr/ports/net/samba47/work/samba-4.7.4/source4/script/mkproto.pl"
> --srcdir=.. --builddir=. --public=/dev/null
> --private="default/source4/lib/registry/tools/common.h"
> ../source4/lib/registry/tools/common.c
> 
> 
> And it just hangs there. No segfaults, but it just hangs.
> 
> A ctrl+t shows just shows
> 
> load: 0.16  cmd: python2.7 65754 [usem] 589.51r 10.52u 1.63s 0% 122360k
> make: Working in: /usr/ports/net/samba47

I sometimes seen build runaways when using poudriere to build my
standard set of packages on my Ryzen machine.  I don't think this is a
Ryzen-specific issue since I also see the same on older AMD FX-8320E
machine, but much less frequently there.  It looks like a lost wakeup
issue, but I haven't had a chance to dig into it yet.

=>> Killing runaway build after 7200 seconds with no output
=>> Cleaning up wrkdir
===>  Cleaning for doxygen-1.8.13_1,2
=>> Warning: Leftover processes:
USER     PID %CPU %MEM   VSZ   RSS TT  STAT STARTED    TIME COMMAND
nobody 55576  0.0  0.0 10556  1528  0  I+J  00:32   0:00.04 /usr/bin/make -C /usr/ports/devel/doxygen build
nobody 55625  0.0  0.0 11660  1952  0  I+J  00:32   0:00.00 - /bin/sh -e -c (cd /wrkdirs/usr/ports/devel/dox
ygen/work/.build; if ! /usr/bin/env XDG_DATA_HOME=/wrkdirs/usr/ports/devel/doxygen/work  XDG_CONFIG_HOME=/wr
kdirs/usr/ports/devel/doxygen/work  HOME=/wrkdirs/usr/ports/devel/doxygen/work TMPDIR="/tmp" PATH=/wrkdirs/u
sr/ports/devel/doxygen/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/nonexistent/b
in NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=
/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -DLIBICONV_PLUG -fstack-protector -fno-strict-alia
sing"  CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG"  LDFLAGS=" -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -
pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -DLIBICONV_PLUG"  MANPREFIX="/usr/local" BSD_IN
STALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 5
55"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444" /usr/bin/make -f Makefile   all
docs; then  if [ -n "" ] ; then  echo "===> Compilation failed unexpectedly.";  (echo "") | /usr/bin/fmt 75
79 ;  fi;  false;  fi)
nobody 55636  0.0  0.0  9988  1108  0  I+J  00:32   0:00.01 `-- /usr/bin/make -f Makefile all docs
nobody  6734  0.0  0.0 10140  1216  0  I+J  00:42   0:00.00   `-- /usr/bin/make -f CMakeFiles/Makefile2 docs
nobody  6764  0.0  0.0 10140  1216  0  I+J  00:42   0:00.01     `-- /usr/bin/make -f CMakeFiles/Makefile2 do
c/CMakeFiles/docs.dir/all
nobody  7107  0.0  0.0 10512  1536  0  I+J  00:42   0:00.03       `-- /usr/bin/make -f examples/CMakeFiles/e
xamples.dir/build.make examples/CMakeFiles/examples.dir/build
nobody 12111  0.0  0.0 61468 27060  0  I+J  00:43   0:00.16         `-- ../bin/doxygen diagrams.cfg
Killed
build of devel/doxygen | doxygen-1.8.13_1,2 ended at Sat Dec 30 18:44:47 PST 2017
build time: 02:14:51
!!! build failure encountered !!!





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?tkrat.f2510fb3b794ca7a>