NetBSD Problem Report #55571

From www@netbsd.org  Fri Aug 14 06:37:55 2020
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 425BF1A9239
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 14 Aug 2020 06:37:55 +0000 (UTC)
Message-Id: <20200814063754.074D01A9246@mollari.NetBSD.org>
Date: Fri, 14 Aug 2020 06:37:53 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
Subject: misc/rhash fails to build on Solaris 11.3 and older
X-Send-Pr-Version: www-1.0

>Number:         55571
>Category:       pkg
>Synopsis:       misc/rhash fails to build on Solaris 11.3 and older
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    solaris-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 14 06:40:00 +0000 2020
>Last-Modified:  Mon Aug 17 07:17:49 +0000 2020
>Originator:     Joern Clausen
>Release:        
>Organization:
Bielefeld University
>Environment:
>Description:
Just in case anyone else stumbles over this: misc/rhash fails to build on Solaris 11.3 with

gcc calc_sums.o hash_print.o common_func.o hash_update.o file.o file_mask.o file_set.o find_file.o hash_check.o output.o parse_cmdline.o rhash_main.o win_utils.o librhash/librhash.so.0  -L/opt/pkg-hrz/20191004/lib -Wl,-R/opt/pkg-hrz/20191004/lib -L/opt/pkg-hrz/20191004/lib -Wl,-R/opt/pkg-hrz/20191004/lib -lintl -o rhash
Undefined                       first referenced
 symbol                             in file
aligned_alloc                       librhash/librhash.so.0

None of the substitutes in librhash/util.h is selected - or would work, as far as I can see.

The package will probably build on Solaris 11.4, as stdlib there provides this function.
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: leot@NetBSD.org
Responsible-Changed-When: Mon, 17 Aug 2020 07:17:49 +0000
Responsible-Changed-Why:
Solarils problem (or at least Solaris without aligned_alloc())


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.