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

2017-09-03 Thread Tarjei Jensen
It is perhaps a bit late to chip in on the fixincludes issue. The "easy" fix for the fix includes issue is to edit the mkfixinc.sh file as suggested in the page which I linked to below. I suppose the packages kits could be loaded, the fix applied and the kit repackaged. A different fixe would pe

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

2017-05-01 Thread Jung-uk Kim
On 04/30/2017 08:06, Konstantin Belousov wrote: > 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

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

2017-05-01 Thread Julian Elischer
On 1/5/17 5:53 pm, Gerald Pfeifer wrote: On Mon, 1 May 2017, Mark Millard wrote: and that mkheaders does more than just fixinc.sh as far as changing headers goes, such as limits.h and gsyslmits.h and syslimits.h . That's a good point, and I guess the *limits.h files do make sense to come from t

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

2017-05-01 Thread Gerald Pfeifer
On Mon, 1 May 2017, Mark Millard wrote: > and that mkheaders does more than just fixinc.sh > as far as changing headers goes, such as limits.h > and gsyslmits.h and syslimits.h . That's a good point, and I guess the *limits.h files do make sense to come from the compiler itself? > The fixincludes

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

2017-05-01 Thread Mark Millard
Gerald Pfeifer gerald at pfeifer.com wrote on Sun Apr 30 15:20:35 UTC 2017 : > That, or run the fixinc.sh script in > ./libexec/gcc/$TARGETTRIPLET/$VERSION/install-tools/fixinc.sh. fixinc.sh is designed to be run by (for the */* involved): bootstrap/libexec/gcc/*/*/install-tools/mkheaders and

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

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 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-29 Thread Dimitry Andric
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 repository it appears to create a >>> modified set of include files from the

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

2017-04-29 Thread Gerald Pfeifer
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 repository it appears to create a >> modified set of include files from the system (default?) include files >> (/usr/include).

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

2017-04-27 Thread Jung-uk Kim
On 04/27/2017 19:07, Patrick Powell wrote: > On 04/27/17 13:59, Jung-uk Kim wrote: >> On 04/27/2017 12:45, Patrick Powell wrote: >>> On 04/26/17 09:34, Jung-uk Kim wrote: On 04/26/2017 10:14, Patrick Powell wrote: > First: a big thank-you to the support/fixit people for all of their work!

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

2017-04-27 Thread Patrick Powell
On 04/27/17 13:59, Jung-uk Kim wrote: On 04/27/2017 12:45, Patrick Powell wrote: On 04/26/17 09:34, Jung-uk Kim wrote: On 04/26/2017 10:14, Patrick Powell wrote: First: a big thank-you to the support/fixit people for all of their work! I was doing some testing using FreeBSD 11.0-STABLE and so

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

2017-04-27 Thread Jung-uk Kim
On 04/27/2017 12:45, Patrick Powell wrote: > On 04/26/17 09:34, Jung-uk Kim wrote: >> On 04/26/2017 10:14, Patrick Powell wrote: >>> First: a big thank-you to the support/fixit people for all of their work! >>> >>> I was doing some testing using FreeBSD 11.0-STABLE and some of my >>> configure scri

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

2017-04-27 Thread Patrick Powell
On 04/26/17 09:34, Jung-uk Kim wrote: On 04/26/2017 10:14, Patrick Powell wrote: First: a big thank-you to the support/fixit people for all of their work! I was doing some testing using FreeBSD 11.0-STABLE and some of my configure scripts died. However, they were working fine on FreeBSD 11.0 R

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

2017-04-26 Thread Jung-uk Kim
On 04/26/2017 10:14, Patrick Powell wrote: > First: a big thank-you to the support/fixit people for all of their work! > > I was doing some testing using FreeBSD 11.0-STABLE and some of my > configure scripts died. However, they were working fine on FreeBSD 11.0 > RELEASE. > > I found the proble