NetBSD Problem Report #56037

From  Thu Mar  4 20:53:44 2021
Return-Path: <>
Received: from ( [])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id 9BFF71A921F
	for <>; Thu,  4 Mar 2021 20:53:44 +0000 (UTC)
Message-Id: <>
Date: Thu,  4 Mar 2021 20:53:43 +0000 (UTC)
Subject: security/openssl fails to compile on Solaris 10u7 w/ SunStudio 12u1
X-Send-Pr-Version: www-1.0

>Number:         56037
>Category:       pkg
>Synopsis:       security/openssl fails to compile on Solaris 10u7 w/ SunStudio 12u1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 04 20:55:00 +0000 2021
>Originator:     Malte Dehling
>Release:        pkgsrc-2020Q4
SunOS deuterium 5.10 Generic_139555-08 sun4u sparc sun4u
cc: Sun C 5.10 SunOS_sparc 2009/06/03
Compilation fails with the following error message:

m4  crypto/des/asm/des_enc.m4 > crypto/des/des_enc-sparc.S

m4:crypto/des/asm/des_enc.m4:426 more than 4096 chars of argument text


As a workaround, you can simply add `-B8192` as an option to m4 and run the command by hand, then continue the pkgsrc build.

I'm not sure whether there is a way to pass this option through the pkgsrc framework, so I don't have a patch.

Another option might be to add devel/m4 as a dependency on Solaris?  I haven't tried this, but I assume GNU m4 doesn't have the same limitation.

NetBSD Home
NetBSD PR Database Search

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