Date: Wed, 07 Nov 2012 19:15:33 -0600 From: Larry Rosenman <ler@lerctr.org> To: Eitan Adler <lists@eitanadler.com> Cc: Greg 'groggy' Lehey <grog@freebsd.org>, freebsd-current@freebsd.org, Benjamin Kaduk <kaduk@mit.edu>, Vic Abell <abe@purdue.edu> Subject: Re: sysutils/lsof Author Question (for CLANG).... Message-ID: <06d8684c-501c-4270-a525-019acd4cc906@email.android.com> In-Reply-To: <CAF6rxgkSccO8=gnbc_GutJ08T6QkfbM%2Bst2%2BaEFxbKDO=gUpng@mail.gmail.com> References: <5d4c4abe37bd6fffd0c206c1b7b68ce1@webmail.lerctr.org> <alpine.GSO.1.10.1211071030050.2164@multics.mit.edu> <20121107213917.GD77848@eureka.lemis.com> <cdfb43c5a36fbb113194a9a381a1000b@webmail.lerctr.org> <CAF6rxgkSccO8=gnbc_GutJ08T6QkfbM%2Bst2%2BaEFxbKDO=gUpng@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
We've asked before and Vic (lsof author) have asked and it always stalls out. I'll cc Vic on this email. Eitan Adler <lists@eitanadler.com> wrote: >On 7 November 2012 17:35, Larry Rosenman <ler@lerctr.org> wrote: >> On 2012-11-07 15:39, Greg 'groggy' Lehey wrote: >>> >>> On Wednesday, 7 November 2012 at 10:32:23 -0500, Benjamin Kaduk >wrote: >>>> >>>> >>>> Once again, attempting to use kernel internals outside of the >>>> supported interfaces is just asking for trouble; I do not >understand >>>> why this message is not sinking in over the course of your previous >>>> mails to these lists, so I will not try to belabor it further. >>> >>> >>> IIRC lsof is a special case that always needs to be built with >>> intimate knowledge of the kernel. >>> >> >> This is VERY true. Since some of the information lsof uses has >> no API/ABI/KPI/KBI to get, it grovels around in the kernel. > >Can you tell us what interfaces you need? Perhaps we can either point >you to ones that may work better or seek provide (stable) kernel >features? > > >> Please don't abuse me for asking questions to keep lsof working >> on FreeBSD. > >:( > > >-- >Eitan Adler -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. From owner-freebsd-current@FreeBSD.ORG Thu Nov 8 02:58:00 2012 Return-Path: <owner-freebsd-current@FreeBSD.ORG> Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 359B4271; Thu, 8 Nov 2012 02:58:00 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id E96628FC08; Thu, 8 Nov 2012 02:57:59 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id qA82vw2S062664; Wed, 7 Nov 2012 21:57:58 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id qA82vwLv062663; Thu, 8 Nov 2012 02:57:58 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 8 Nov 2012 02:57:58 GMT Message-Id: <201211080257.qA82vwLv062663@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox <tinderbox@freebsd.org> using -f Sender: FreeBSD Tinderbox <tinderbox@freebsd.org> From: FreeBSD Tinderbox <tinderbox@freebsd.org> To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>, <sparc64@freebsd.org> Subject: [head tinderbox] failure on sparc64/sparc64 Precedence: bulk X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Discussions about the use of FreeBSD-current <freebsd-current.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-current>, <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current> List-Post: <mailto:freebsd-current@freebsd.org> List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>, <mailto:freebsd-current-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 08 Nov 2012 02:58:00 -0000 TB --- 2012-11-08 01:43:22 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-11-08 01:43:22 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2012-11-08 01:43:22 - starting HEAD tinderbox run for sparc64/sparc64 TB --- 2012-11-08 01:43:22 - cleaning the object tree TB --- 2012-11-08 01:44:51 - checking out /src from svn://svn.freebsd.org/base/head TB --- 2012-11-08 01:44:51 - cd /tinderbox/HEAD/sparc64/sparc64 TB --- 2012-11-08 01:44:51 - /usr/local/bin/svn cleanup /src TB --- 2012-11-08 01:45:40 - /usr/local/bin/svn update /src TB --- 2012-11-08 01:45:48 - At svn revision 242735 TB --- 2012-11-08 01:45:49 - building world TB --- 2012-11-08 01:45:49 - CROSS_BUILD_TESTING=YES TB --- 2012-11-08 01:45:49 - MAKEOBJDIRPREFIX=/obj TB --- 2012-11-08 01:45:49 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-11-08 01:45:49 - SRCCONF=/dev/null TB --- 2012-11-08 01:45:49 - TARGET=sparc64 TB --- 2012-11-08 01:45:49 - TARGET_ARCH=sparc64 TB --- 2012-11-08 01:45:49 - TZ=UTC TB --- 2012-11-08 01:45:49 - __MAKE_CONF=/dev/null TB --- 2012-11-08 01:45:49 - cd /src TB --- 2012-11-08 01:45:49 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Thu Nov 8 01:45:53 UTC 2012 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Thu Nov 8 02:47:56 UTC 2012 TB --- 2012-11-08 02:47:56 - generating LINT kernel config TB --- 2012-11-08 02:47:56 - cd /src/sys/sparc64/conf TB --- 2012-11-08 02:47:56 - /usr/bin/make -B LINT TB --- 2012-11-08 02:47:56 - cd /src/sys/sparc64/conf TB --- 2012-11-08 02:47:56 - /usr/sbin/config -m LINT TB --- 2012-11-08 02:47:56 - building LINT kernel TB --- 2012-11-08 02:47:56 - CROSS_BUILD_TESTING=YES TB --- 2012-11-08 02:47:56 - MAKEOBJDIRPREFIX=/obj TB --- 2012-11-08 02:47:56 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-11-08 02:47:56 - SRCCONF=/dev/null TB --- 2012-11-08 02:47:56 - TARGET=sparc64 TB --- 2012-11-08 02:47:56 - TARGET_ARCH=sparc64 TB --- 2012-11-08 02:47:56 - TZ=UTC TB --- 2012-11-08 02:47:56 - __MAKE_CONF=/dev/null TB --- 2012-11-08 02:47:56 - cd /src TB --- 2012-11-08 02:47:56 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Nov 8 02:47:56 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/kern/kern_linker.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/kern/kern_lock.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/kern/kern_lockf.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/kern/kern_loginclass.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/kern/kern_malloc.c /src/sys/kern/kern_malloc.c:193: error: static declaration of 'vm_max_kernel_address' follows non-static declaration ./machine/vmparam.h:242: error: previous declaration of 'vm_max_kernel_address' was here /src/sys/kern/kern_malloc.c:193: error: initializer element is not constant *** [kern_malloc.o] Error code 1 Stop in /obj/sparc64.sparc64/src/sys/LINT. *** [buildkernel] Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-11-08 02:57:58 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-11-08 02:57:58 - ERROR: failed to build LINT kernel TB --- 2012-11-08 02:57:58 - 3550.27 user 613.56 system 4476.46 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-sparc64-sparc64.full
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?06d8684c-501c-4270-a525-019acd4cc906>