Re: 6.1.4 kernel and Qube2

Markus Kilbinger <[email protected]> Sat, 1 Nov 2014 15:29:05 +0100
Newsgroups gmane.os.netbsd.ports.cobalt
Message-ID <CAPUhkUiO=gncQPQkih-ocRB=DYhX3Ctwz9GX7yVmHrzASgK0FQ@mail.gmail.com>
2014-11-01 11:18 GMT+01:00 R=C3=A9mi Zara <[email protected]>:
> I tried stock 6.1.5 on my qube2, but it was not more stable (could not un=
tar pkgsrc)
>
> I then tried current (NetBSD 7.99.1 (GENERIC.201410221550Z)) and this one=
 is a winner (up 8 days, /etc/daily not panicing the machine as before) !
>
> Except for one thing : I cannot get perl 5.20.1 (the current version in p=
kgsrc) compiled, which is unfortunate since many other package have a depen=
dency on perl5 >=3D 5.20
>
> It fails, not always at the same stage, with a perl error of the form "pa=
nic: memory wrap at lib/Pod/Simple/BlackBox.pm line 213"
>
> Changing dataseg size limit seems to move the failure point.
>
> Has anybody succeeded in compiling this version of perl on a Qube2 ?

1. I can confirm this problem on/for my qube2 under -current and
netbsd-7 (gcc 4.8 related? Under netbsd-6 / gcc 4.5 I can't remember
such problem).

2. I could work around this problem by adding (disabling
'usemallocwrap' for perl compilation)

  CONFIGURE_ARGS+=3D       -Uusemallocwrap

to pkgsrc/lang/perl5/options.mk.
The resulting perl package / binary seems to run somehow (didn't
(stress) tested it).

Couldn't find this as a 'known bug' searching the inet though ...

Markus.