pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/51432: net/net-snmp doesn't run on evbarm
The following reply was made to PR pkg/51432; it has been noted by GNATS.
From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/51432: net/net-snmp doesn't run on evbarm
Date: Fri, 30 Sep 2016 07:12:22 +0000
On Tue, Sep 06, 2016 at 05:45:00PM +0000, coypu%SDF.ORG@localhost wrote:
> Similar to toolchain/50939 (should probably be a package bug)
> which claims it works when compiled without -O2.
I just made a conjecture in 50939 (that it's trashing its stack) that
is worth checking in this case too.
If it's not that, the fact that it's getting a failure return (-1)
from sysctlbyname with errno set to 0 severely bounds what can be
going on, as that's not supposed to happen. It's possible that the
libc commit I just made will fix this, but it doesn't seem likely;
however, unless I'm flagrantly not seeing something the only other
source is getting failure with errno 0 back from the kernel in
__sysctl. Running with ktrace should reveal whether this is happening
or not.
If not, trying after applying the change I just made to libc *might*
show different behavior (as in, failing with a nonzero errno) but this
is a pretty long shot.
Could still be a compiler bug like originally suggested for 50939,
too.
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index