From owner-freebsd-x11@freebsd.org Mon Apr 13 14:57:16 2020 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EAD6A2C07DA for ; Mon, 13 Apr 2020 14:57:16 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mail.daemonic.se (mail.daemonic.se [176.58.89.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 491BY84JFwz3DD7 for ; Mon, 13 Apr 2020 14:57:16 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 491BY56bcTz3m7h; Mon, 13 Apr 2020 14:57:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([IPv6:::1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [IPv6:::1]) (amavisd-new, port 10587) with ESMTPS id E6CX5es6M4bV; Mon, 13 Apr 2020 14:57:13 +0000 (UTC) Received: from garnet.daemonic.se (unknown [IPv6:2001:470:dca9:201:442b:819c:37fd:3e24]) by mail.daemonic.se (Postfix) with ESMTPSA id 491BY50Rznz3lbm; Mon, 13 Apr 2020 14:57:13 +0000 (UTC) Subject: Re: Radeon 5770, graphics/gpu-firmware-kmod, and graphics/drm-fbsd11.2-kmod To: Scott Bennett , imp@bsdimp.com Cc: freebsd-x11@freebsd.org References: <202004131231.03DCVxkN022232@sdf.org> <202004131436.03DEaqZH020936@sdf.org> From: Niclas Zeising Message-ID: Date: Mon, 13 Apr 2020 16:57:11 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <202004131436.03DEaqZH020936@sdf.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 491BY84JFwz3DD7 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.95 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.97)[-0.967,0]; ASN(0.00)[asn:36236, ipnet:176.58.89.0/24, country:US]; NEURAL_HAM_LONG(-0.98)[-0.983,0] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2020 14:57:17 -0000 On 2020-04-13 16:36, Scott Bennett wrote: > Warner Losh wrote: > >> What's the 12 stable failure message? >> > Apparently, I neglected to save the typescript of the most recent attempts, > but here is the end of one from 26 November 2019 at r355127. Thank you for > looking at it. > > > --- crti.o --- > /usr/local/libexec/ccache/world/cc -target x86_64-unknown-freebsd12.1 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe "-mtune=core2" -I/usr/src/lib/csu/amd64 -I/usr/src/lib/csu/common -I/usr/src/lib/libc/include -fno-omit-frame-pointer -DCRT_IRELOC_RELA -march=core2 -g -MD -MF.depend.crti.o -MTcrti.o -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/lib/csu/amd64/crti.S -o crti.o > /usr/src/lib/csu/amd64/crti.S:29:2: warning: DWARF2 only supports one section per compilation unit > .section .init,"ax",@progbits > ^ > /usr/src/lib/csu/amd64/crti.S:36:2: warning: DWARF2 only supports one section per compilation unit > .section .fini,"ax",@progbits > ^ > /usr/src/lib/csu/amd64/crti.S:43:2: warning: DWARF2 only supports one section per compilation unit > .section .note.GNU-stack,"",%progbits > ^ > ctfconvert -L VERSION -g crti.o > --- gnu/lib/csu__L --- > --- crtend.o --- > /usr/local/libexec/ccache/world/cc -target x86_64-unknown-freebsd12.1 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe "-mtune=core2" -march=core2 -DIN_GCC -DHAVE_LD_EH_FRAME_HDR -DDT_CONFIG -D__GLIBC__=3 -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/src/contrib/gcclibs/include -I/usr/src/contrib/gcc/config -I/usr/src/contrib/gcc -I. -I/usr/src/gnu/usr.bin/cc/cc_tools -g -std=gnu89 -Qunused-arguments -g0 -DCRT_END -c -o crtend.o /usr/src/contrib/gcc/crtstuff.c > --- lib/csu__L --- > --- crtn.o --- > /usr/local/libexec/ccache/world/cc -target x86_64-unknown-freebsd12.1 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe "-mtune=core2" -I/usr/src/lib/csu/amd64 -I/usr/src/lib/csu/common -I/usr/src/lib/libc/include -fno-omit-frame-pointer -DCRT_IRELOC_RELA -march=core2 -g -MD -MF.depend.crtn.o -MTcrtn.o -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/lib/csu/amd64/crtn.S -o crtn.o > --- lib/libc__L --- > make[4]: "/usr/src/lib/libc/Makefile" line 188: amd64 libc requires linker ifunc support > *** [lib/libc__L] Error code 1 > > make[3]: stopped in /usr/src > --- gnu/lib/csu__L --- > A failure has been detected in another branch of the parallel make > > make[4]: stopped in /usr/src/gnu/lib/csu > *** [gnu/lib/csu__L] Error code 2 > > make[3]: stopped in /usr/src > --- lib/csu__L --- > /usr/src/lib/csu/amd64/crtn.S:29:2: warning: DWARF2 only supports one section per compilation unit > .section .init,"ax",@progbits > ^ > /usr/src/lib/csu/amd64/crtn.S:33:2: warning: DWARF2 only supports one section per compilation unit > .section .fini,"ax",@progbits > ^ > /usr/src/lib/csu/amd64/crtn.S:37:2: warning: DWARF2 only supports one section per compilation unit > .section .note.GNU-stack,"",%progbits > ^ > ctfconvert -L VERSION -g crtn.o > A failure has been detected in another branch of the parallel make > > make[5]: stopped in /usr/src/lib/csu/amd64 > *** [all_subdir_lib/csu/amd64] Error code 2 > > make[4]: stopped in /usr/src/lib/csu > 1 error > > make[4]: stopped in /usr/src/lib/csu > *** [lib/csu__L] Error code 2 > > make[3]: stopped in /usr/src > 3 errors > > make[3]: stopped in /usr/src > *** [libraries] Error code 2 > > make[2]: stopped in /usr/src > 1 error > > make[2]: stopped in /usr/src > *** [_libraries] Error code 2 > > make[1]: stopped in /usr/src > 1 error > > make[1]: stopped in /usr/src > *** [buildworld] Error code 2 > > make: stopped in /usr/src > 1 error > > make: stopped in /usr/src > 541.085u 439.297s 33:49.49 48.3% 2806+219k 310342+310081io 21429pf+11w > hellas# exit > exit Hi! Do you have anything special in your src.conf, make.conf or build environment? I see you use ccache, what happens f you try without it? > > Script done on Tue Nov 26 23:41:24 2019 > > Does gpu-firmware-kmod differ between the version for 11.3 and the one > for 12.1? If not, then upgrading to 12.1 won't help much because of the > bug that hangs the GPU. It *might* help for the more general problem of the > kernel memory management bugs, though, because 12-CURRENT branch happened > long before 11.2 introduced the bugs, so they might never have existed in 12. > drm-fbsd11.2-kmod (the one for 11) is based on Linux 4.11 soruces, while the one for 12 is based on Linux 4.16 sources. There are also plenty of changes in lkpi, which is the compat layer used for drm graphics drivers. Regards -- Niclas Zeising