[Bug 221029] AMD Ryzen: strange compilation failures using poudriere or plain buildkernel/buildworld

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jul 26 19:26:25 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221029

--- Comment #9 from Nils Beyer <nbe at renzel.net> ---
(In reply to Nils Beyer from comment #2)

believe it or not, I also get these
--------------------------------------------------------------------------------
error: unable to rename temporary 'OptParserEmitter.o-a86dcd92' to output file
'OptParserEmitter.o': 'No such file or directory'
--------------------------------------------------------------------------------

while _not_ using TMPFS; here's the script I'm running:
--------------------------------------------------------------------------------
#!/bin/sh

OBJDIR="/tmp/ryzen_stress_test"

trap "exit 1" 1 2 3

cd /usr/src
mkdir ${OBJDIR}

while [ 1 ]; do
        echo "`date` begin"
        BEG="`date +%s`"
#       umount ${OBJDIR} ; umount ${OBJDIR} ; umount ${OBJDIR}
#       mount -t tmpfs tmpfs ${OBJDIR} || exit 1
        rm -rf ${OBJDIR}
        mkdir ${OBJDIR}
        export MAKEOBJDIRPREFIX=${OBJDIR}
        make -j20 buildworld buildkernel >${OBJDIR}/${BEG}.log 2>&1
        ERR="$?"
        echo "`date` end - errorcode ${ERR}"
        [ "${ERR}" != "0" ] && cp ${OBJDIR}/${BEG}.log ~/.
        rm ${OBJDIR}/${BEG}.log
done
--------------------------------------------------------------------------------

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list