NetBSD Problem Report #53387

From  Wed Jun 20 16:35:26 2018
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id D33E97A14E
	for <>; Wed, 20 Jun 2018 16:35:25 +0000 (UTC)
Message-Id: <>
Date: Wed, 20 Jun 2018 16:35:24 +0000 (UTC)
Subject: security/p11-kit getauxval related issues on arm
X-Send-Pr-Version: www-1.0

>Number:         53387
>Category:       pkg
>Synopsis:       security/p11-kit getauxval related issues on arm
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          feedback
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 20 16:40:00 +0000 2018
>Last-Modified:  Fri Sep 07 09:23:21 +0000 2018
>Originator:     Mayuresh
>Release:        pkgsrc current
NetBSD pi 8.0_RC1 NetBSD 8.0_RC1 (RPI2) #0: Sun Jun 17 16:30:05 IST 2018  root@pi:/usr/src/sys/arch/evbarm/compile/RPI2 evbarm

The issue came to light with graphics/sane-backends program scanimage causing core dump on evbarm

assertion "type == AT_SECURE" failed: file "common/compat.c", line 801,
function "getauxval"
[1]   Abort trap (core dumped) scanimage

Reported in this thread

Further analysis led to a potential bug in p11-kit
Build and run scanimage (graphics/sane-backends) on evbarm
Not known, but there are views on cited threads above.


From: "Tobias Nygren" <>
Subject: PR/53387 CVS commit: pkgsrc/security/p11-kit
Date: Sun, 2 Sep 2018 07:49:51 +0000

 Module Name:	pkgsrc
 Committed By:	tnn
 Date:		Sun Sep  2 07:49:51 UTC 2018

 Modified Files:
 	pkgsrc/security/p11-kit: Makefile distinfo
 	pkgsrc/security/p11-kit/patches: patch-common_compat.c

 Log Message:
 p11-kit: Hide getauxval(). PR pkg/53387 (related to port-arm/53386)

 To generate a diff of this commit:
 cvs rdiff -u -r1.10 -r1.11 pkgsrc/security/p11-kit/Makefile
 cvs rdiff -u -r1.7 -r1.8 pkgsrc/security/p11-kit/distinfo
 cvs rdiff -u -r1.1 -r1.2 \

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-When: Sun, 02 Sep 2018 07:52:24 +0000

From: Patrick Welche <>
Subject: Re: pkg/53387 (security/p11-kit getauxval related issues on arm)
Date: Fri, 7 Sep 2018 10:15:34 +0100

 Daiki Ueno comments:

   We have the following snippet in p11-kit/
   libp11_kit_la_LDFLAGS = \
           -no-undefined \
           -version-info $(P11KIT_LT_RELEASE) \
           -export-symbols-regex '^C_GetFunctionList|^p11_kit_'
   which reads that only functions matching the regex should be exported.

   Are you sure that `getauxval()` is exported from (try `nm -g

 Possibly a pkgsrc libtool problem instead?

State-Changed-From-To: closed->feedback
State-Changed-When: Fri, 07 Sep 2018 09:23:21 +0000
Question arose when trying to get patch applied upstream.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.