What replaces DIOCGDINFO?

2015-01-25 Thread Perry Hutchison
-r276737 removed 4 ioctls, including DIOCGDINFO, from . The commit log entry says only "Remove old ioctl use and support, once and for all." What are users of that mechanism supposed to use instead? A grep in UPDATING for either DIOCGDINFO or ioctl came up empty. BTW I ran into this because it br

Re: What replaces DIOCGDINFO?

2015-01-25 Thread Andreas Nilsson
http://lists.freebsd.org/pipermail/freebsd-current/2015-January/053960.html might have the answer for you. Best regards Andreas On Sun, Jan 25, 2015 at 9:31 AM, Perry Hutchison wrote: > -r276737 removed 4 ioctls, including DIOCGDINFO, from . > The commit log entry says only "Remove old ioctl us

Re: dblfault panic r277611

2015-01-25 Thread Konstantin Belousov
On Sat, Jan 24, 2015 at 10:42:45PM +0300, Chagin Dmitry wrote: > On Sat, Jan 24, 2015 at 12:35:19PM +0200, Konstantin Belousov wrote: > > On Sat, Jan 24, 2015 at 12:46:33PM +0300, Chagin Dmitry wrote: > > > Hi, > > > > > > > > > dchagin.static.corbina.net dumped core - see /var/crash/vmcore.7 > >

How to get the source code of FreeBSD-Clang?

2015-01-25 Thread Yue Chen
When I use the original versions (even 3.4.1) of LLVM/Clang to compile FreeBSD kernel, it always has problems. Since I need to modify something in LLVM source and then build the kernel, where can I get the FreeBSD-friendly Clang/LLVM source code? Thanks. __

Re: How to get the source code of FreeBSD-Clang?

2015-01-25 Thread Sam Fourman Jr.
On Sat, Jan 24, 2015 at 11:16 PM, Yue Chen wrote: > When I use the original versions (even 3.4.1) of LLVM/Clang to compile > FreeBSD kernel, it always has problems. > > Since I need to modify something in LLVM source and then build the kernel, > where can I get the FreeBSD-friendly Clang/LLVM sou

Re: dblfault panic r277611

2015-01-25 Thread Dmitry Chagin
2015-01-25 15:06 GMT+03:00 Konstantin Belousov : > On Sat, Jan 24, 2015 at 10:42:45PM +0300, Chagin Dmitry wrote: > > On Sat, Jan 24, 2015 at 12:35:19PM +0200, Konstantin Belousov wrote: > > > On Sat, Jan 24, 2015 at 12:46:33PM +0300, Chagin Dmitry wrote: > > > > Hi, > > > > > > > > > > > > dchagi

Re: How to get the source code of FreeBSD-Clang?

2015-01-25 Thread Dimitry Andric
O 25 Jan 2015, at 06:16, Yue Chen wrote: > > When I use the original versions (even 3.4.1) of LLVM/Clang to compile > FreeBSD kernel, it always has problems. > > Since I need to modify something in LLVM source and then build the kernel, > where can I get the FreeBSD-friendly Clang/LLVM source co

Re: dblfault panic r277611

2015-01-25 Thread Konstantin Belousov
On Sun, Jan 25, 2015 at 05:15:59PM +0300, Dmitry Chagin wrote: > 2015-01-25 15:06 GMT+03:00 Konstantin Belousov : > > > On Sat, Jan 24, 2015 at 10:42:45PM +0300, Chagin Dmitry wrote: > > > On Sat, Jan 24, 2015 at 12:35:19PM +0200, Konstantin Belousov wrote: > > > > On Sat, Jan 24, 2015 at 12:46:33

Re: How to get the source code of FreeBSD-Clang?

2015-01-25 Thread Yue Chen
Any patch available for LLVM 3.5 ? As I build using the command you provide, the DWARF section still has problems. On Sun, Jan 25, 2015 at 10:39 AM, Dimitry Andric wrote: > O 25 Jan 2015, at 06:16, Yue Chen wrote: > > > > When I use the original versions (even 3.4.1) of LLVM/Clang to compile >

Re: How to get the source code of FreeBSD-Clang?

2015-01-25 Thread Dimitry Andric
On 25 Jan 2015, at 18:58, Yue Chen wrote: > Any patch available for LLVM 3.5 ? Yes, use this patch set for 3.5.x: https://svnweb.freebsd.org/base/head/contrib/llvm/patches/ > As I build using the command you provide, the DWARF section still has > problems. What error are you getting? Pleas

Re: OptionalObsoleteFiles.inc completeness improvement, try 2

2015-01-25 Thread Jakub Lach
> In other words, if a user has some WITHOUT_* set in src.conf, > specific files are not installed by installworld, but not removed > by remove-old, which I try to fix. Please carry on, I saw quite a few times that this behaviour was assumed by new users, only it is not (yet), to their surprise :

How to read a disklabel (Re: What replaces DIOCGDINFO?)

2015-01-25 Thread Perry Hutchison
Andreas Nilsson wrote: > On Sun, Jan 25, 2015 at 9:31 AM, Perry Hutchison > wrote: > > -r276737 removed 4 ioctls, including DIOCGDINFO, from . > > The commit log entry says only "Remove old ioctl use and support, once > > and for all." > > > > What are users of that mechanism supposed to use inst

Re: How to read a disklabel (Re: What replaces DIOCGDINFO?)

2015-01-25 Thread Warner Losh
> On Jan 25, 2015, at 10:57 PM, Perry Hutchison wrote: > > Andreas Nilsson wrote: >> On Sun, Jan 25, 2015 at 9:31 AM, Perry Hutchison >> wrote: >>> -r276737 removed 4 ioctls, including DIOCGDINFO, from . >>> The commit log entry says only "Remove old ioctl use and support, once >>> and for all