On Wednesday 04 July 2012, Stuart Henderson wrote:
> On 2012/07/04 10:37, Joel Sing wrote:
> > On Wednesday 04 July 2012, Juan Francisco Cantero Hurtado wrote:
> > > On Wed, Jul 04, 2012 at 01:17:00AM +1000, Joel Sing wrote:
> > > > The following diff updates lang/go to Go 1.0.2 - the current stable
> > > > release. Regress passes on both amd64 and i386.
> > > >
> > > > ok?
> > >
> > > I can compile the package with USE_SYSTRACE enabled. Without
> > > USE_SYSTRACE, the package compiles but I haven't tested the "regress"
> > > step.
> >
> > Thanks for catching this - the issue is due to guenther@'s recent changes
> > to the __tfork syscall, which resulted in it getting a new syscall number
> > (the port is still using the older syscall which is now marked as compat
> > and has a different name). This is unrelated to the version update and
> > the existing port will also fail in the same way - I'll fix this in a
> > separate diff.
>
> We could also do this for now, though updating Go to use the
> new syscall is better.

As far as I am aware, Go is the only thing in ports that is using the (now) 
old __tfork syscall. I should be able to fix it in the next couple of days, 
otherwise we can run with this.

> Index: systrace.filter
> ===================================================================
> RCS file: /cvs/ports/infrastructure/db/systrace.filter,v
> retrieving revision 1.34
> diff -u -p -r1.34 systrace.filter
> --- systrace.filter   30 Jan 2012 16:02:24 -0000      1.34
> +++ systrace.filter   4 Jul 2012 11:19:27 -0000
> @@ -4,6 +4,7 @@
>       native-__set_tcb: permit
>       native-__sysctl: permit
>       native-__tfork: permit
> +     native-compat_o51___tfork: permit
>       native-__threxit: permit
>       native-__thrsigdivert: permit
>       native-__thrsleep: permit

-- 

    "Reason is not automatic. Those who deny it cannot be conquered by it.
     Do not count on them. Leave them alone." -- Ayn Rand

Reply via email to