From owner-freebsd-toolchain@freebsd.org Sun Feb 18 04:26:32 2018 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2548CF0EEBC for ; Sun, 18 Feb 2018 04:26:32 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) Received: from sonic316-10.consmr.mail.gq1.yahoo.com (sonic316-10.consmr.mail.gq1.yahoo.com [98.137.69.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9787981879 for ; Sun, 18 Feb 2018 04:26:31 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) X-YMail-OSG: YmhTpOQVM1kZwEnk66q9rCrb0FzJ6ltfR0LtXysFUN3YtXMdKLac6hqIRseKZQ8 8Wl8UrEVvLE.Law0FmoJJyrTJirhIf11v3Ep81a0lOdqXsk66J800..90qAMr6u1yAsJcnxuW0Yn pWRswbFyLzk5wTiVvir14bYFUxSD.Y9IYMTVaiPWrtZDjMDBqJ2UCZnTw0rZKtP8rFG48G7yDAm8 Z8tQpWP7ZuS6rkTAWo12FXKOD.fjXsR6hPAKNvyIvBzLxQW2hbQOTyFsbiOqgwxtmGEFeE_LMBBp TlJDl.JNt0xCyXt4WLK_77sejIgDumFNfQdJuf95RaKlJHBkati1z_saNkP.hI6pG8bQqMH06JUG dw_3pYW10DcOSZiUlEJmaao3ynTnDWqcQqAk8bCO8B3eit9xHtcRs38.4F8yXTOTIUf7nknqXTW1 ipLcA7k5EYYWjLzFr5vgjZZiI7lqGup96Yyee4U9pRE1XHr78FXPjnKUfWyztzYoXo7ZK Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.gq1.yahoo.com with HTTP; Sun, 18 Feb 2018 04:26:29 +0000 Received: from smtp102.rhel.mail.gq1.yahoo.com (EHLO [192.168.1.25]) ([216.39.57.211]) by smtp413.mail.gq1.yahoo.com (JAMES SMTP Server ) with ESMTPA ID dedffbfe5a7e24c43169d2d9720e5386 for ; Sun, 18 Feb 2018 03:56:06 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Subject: /usr/local/bin/kgdb vs. /usr/libexec/kgdb for amd64 head -r329465: /usr/local/bin/kgdb gets "ABI doesn't support a vmcore target" Message-Id: <44C77922-D50F-4F41-8796-3917A386CAA3@yahoo.com> Date: Sat, 17 Feb 2018 19:56:05 -0800 To: FreeBSD Toolchain X-Mailer: Apple Mail (2.3445.5.20) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Feb 2018 04:26:32 -0000 I had a panic and got a dump for amd64 head -r329465 . I was able to use /usr/libexec/kgdb to look at the vmcore.* file. But my prior attempt to use /usr/local/bin/kgdb failed: # 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: 461121 Last Changed Rev: 461121 # ls -lTdt /usr/local/bin/kgdb* lrwxr-xr-x 1 root wheel 7 Jan 28 12:51:57 2018 = /usr/local/bin/kgdb -> kgdb801 -r-xr-xr-x 1 root wheel 95080255 Jan 28 12:51:57 2018 = /usr/local/bin/kgdb801 # /usr/local/bin/kgdb /usr/lib/debug/boot/kernel/kernel.debug = /var/crash/vmcore.0 GNU gdb (GDB) 8.0.1 [GDB v8.0.1 for FreeBSD] Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later = This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show = copying" and "show warranty" for details. This GDB was configured as "x86_64-portbld-freebsd12.0". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/lib/debug/boot/kernel/kernel.debug...done. .gdbinit:16: Error in sourced command file: No symbol "remotebaud" in current context. ABI doesn't support a vmcore target (kgdb)=20 It seems that for amd64 /usr/local/bin/kgdb is still necessary. (I normally deal with powerpc64 and powerpc for kgdb use, odd contexts in the first place. I did not know of the amd64 issue before this.) =3D=3D=3D Mark Millard marklmi at yahoo.com ( markmi at dsl-only.net is going away in 2018-Feb, late) From owner-freebsd-toolchain@freebsd.org Sun Feb 18 21:00:23 2018 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 09F3CF03A60 for ; Sun, 18 Feb 2018 21:00:23 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) Received: from sonic310-22.consmr.mail.ne1.yahoo.com (sonic310-22.consmr.mail.ne1.yahoo.com [66.163.186.203]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9A14F6B336 for ; Sun, 18 Feb 2018 21:00:22 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) X-YMail-OSG: StHRjeAVM1nfgkQL3qFeZUTC9bnRRgvZy_Uav1g8KpWZ89_gtABbSWHHUZLlr2S wbzt2AzxKeVqb.jM6L266x9_WgWfnXIMdNKXg8CmG9wnEf4n6HK2sr2RPd3zRvVnSmuF3yHVc2S4 8vn2ib83MyniOE9MESZYWB.6Xm7dBy4DlKss.fFH8Y5XQHlPRbPYhqGZ1ZqBaGuQs0Ozmko7ZrRe 6raqe70hEC2J0wbNUjhs2AkCuqsq4hHbope3EQ.sZJJocXtbX_xXxymhPMCGhqohkDdZvZ0DWRz5 SiSWVy4OLW2G.cxUGSlrXziz9YhFrpJrQLoMshkPecyheKxMRk0hNsWE7zVY6aE1y5zaJhPcI.9Y Ku96SpUdkf.picYveaHOXRYw3janpmBMr53aIa4RXKZk7wsWX9vgupJrYcfVTw_KkxZD_1jNXWRB MIfCkPcX.Sfy7zU9V4CTFP3Tjt9T7.eP.PVm.952pyMFtKf98VlCOBHjrJI20if1RbET6 Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ne1.yahoo.com with HTTP; Sun, 18 Feb 2018 21:00:21 +0000 Received: from smtp230.mail.ne1.yahoo.com (EHLO [192.168.1.25]) ([10.218.253.211]) by smtp401.mail.ne1.yahoo.com (JAMES SMTP Server ) with ESMTPA ID e2d762112b092e3d63ec01c620dff965 for ; Sun, 18 Feb 2018 21:00:20 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Subject: head -r329447: delete-old does not clean up after switching from WITH_CLANG_IS_CC to WITHOUT_CLANG_IS_CC Message-Id: <48402E6E-5F28-4D3B-AB9E-8F4ABC67A908@yahoo.com> Date: Sun, 18 Feb 2018 13:00:19 -0800 To: FreeBSD Toolchain X-Mailer: Apple Mail (2.3445.5.20) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Feb 2018 21:00:23 -0000 [I historically experiment with system clang as the system compiler for powerpc64 and powerpc. Thus the context here is odd.] As part of getting ready to test base/binutils and base/gcc I changed how I build for powerpc64 to use WITHOUT_CLANG_IS_CC=3D . I expected that after installing (updating) to a a local directory tree that delete-old would remove the prior materials. But it reports nothing as deleted and looking finds the files still in place . . . # = ~/sys_build_scripts.amd64-host/make_powerpc64vtsc_nodebug_clang_altbinutil= s-amd64-host.sh check-old = DESTDIR=3D/usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils Script started, output file is = /root/sys_typescripts/typescript_make_powerpc64vtsc_nodebug_clang_altbinut= ils-amd64-host-2018-02-18:12:38:47 >>> Checking for old files >>> Checking for old libraries >>> Checking for old directories To remove old files and directories run 'make delete-old'. To remove old libraries run 'make delete-old-libs'. Script done, output file is = /root/sys_typescripts/typescript_make_powerpc64vtsc_nodebug_clang_altbinut= ils-amd64-host-2018-02-18:12:38:47 # = ~/sys_build_scripts.amd64-host/make_powerpc64vtsc_nodebug_clang_altbinutil= s-amd64-host.sh delete-old = DESTDIR=3D/usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils Script started, output file is = /root/sys_typescripts/typescript_make_powerpc64vtsc_nodebug_clang_altbinut= ils-amd64-host-2018-02-18:12:41:47 >>> Removing old files (only deletes safe to delete libs) >>> Old files removed >>> Removing old directories >>> Old directories removed To remove old libraries run 'make delete-old-libs'. Script done, output file is = /root/sys_typescripts/typescript_make_powerpc64vtsc_nodebug_clang_altbinut= ils-amd64-host-2018-02-18:12:41:47 # ls -lTdt = /usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/bin/* | = tail -r-xr-xr-x 15 root wheel 155 Feb 18 12:37:13 2018 = /usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/bin/read -r-xr-xr-x 15 root wheel 155 Feb 18 12:37:13 2018 = /usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/bin/type -r-xr-xr-x 15 root wheel 155 Feb 18 12:37:13 2018 = /usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/bin/ulimit -r-xr-xr-x 15 root wheel 155 Feb 18 12:37:13 2018 = /usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/bin/umask -r-xr-xr-x 15 root wheel 155 Feb 18 12:37:13 2018 = /usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/bin/unalias= -r-xr-xr-x 15 root wheel 155 Feb 18 12:37:13 2018 = /usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/bin/wait -r-xr-xr-x 3 root wheel 73815680 Feb 18 08:42:47 2018 = /usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/bin/c++ -r-xr-xr-x 3 root wheel 73815680 Feb 18 08:42:47 2018 = /usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/bin/cc -r-xr-xr-x 3 root wheel 73815680 Feb 18 08:42:47 2018 = /usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/bin/cpp -r-xr-xr-x 1 root wheel 147 Feb 18 08:42:45 2018 = /usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/bin/CC The relevant files from the prior build stayed in place. Context: # uname -apKU FreeBSD FBSDFSSD 12.0-CURRENT FreeBSD 12.0-CURRENT r329447M amd64 = amd64 1200058 1200058 I had been running -r329465 but was having panics in fork activity, so there is a reversion to -r329447 between the old and new builds. (I'm testing if I see problems in -r329447 .) =3D=3D=3D Mark Millard marklmi at yahoo.com ( markmi at dsl-only.net is going away in 2018-Feb, late)