Re: GCC + FreeBSD 11.0 Stable - stat.h does not have vm_ooffset_t definition

2017-04-30 Thread Konstantin Belousov
On Sat, Apr 29, 2017 at 07:55:24PM +0200, Dimitry Andric wrote: > On 29 Apr 2017, at 19:00, Gerald Pfeifer wrote: > > > > On Thu, 27 Apr 2017, Jung-uk Kim wrote: > >>> I found the problem, but I do not know how to resolve this. When you > >>> install the GCC compiler from the PKG reposi

Re: GCC + FreeBSD 11.0 Stable - stat.h does not have vm_ooffset_t definition

2017-04-30 Thread Dimitry Andric
On 30 Apr 2017, at 14:06, Konstantin Belousov wrote: > > On Sat, Apr 29, 2017 at 07:55:24PM +0200, Dimitry Andric wrote: ... >> So in that case, if Jung-uk's solution works, it is probably the best >> way forward, and it can even be upstreamed. Jung-uk, how does your >> patch handle an updated h

Re: GCC + FreeBSD 11.0 Stable - stat.h does not have vm_ooffset_t definition

2017-04-30 Thread Gerald Pfeifer
On Sat, 29 Apr 2017, Dimitry Andric wrote: > This is because gcc's fixincludes process makes copies of certain system > headers (in this case, /usr/include/sys/types.h) with slight > modifications. Then, it places the directory containing the modified > headers at the front of the include search p