NetBSD Problem Report #34120
From dauphin@enst.fr Tue Aug 1 12:49:34 2006
Return-Path: <dauphin@enst.fr>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id EBAB263B8C1
for <gnats-bugs@gnats.netbsd.org>; Tue, 1 Aug 2006 12:49:33 +0000 (UTC)
Message-Id: <1154436571.28253@bi.enst.fr>
Date: Tue, 1 Aug 2006 14:49:31 +0200
To: "gnats bugs" <gnats-bugs@NetBSD.org>
Subject: sysutils/lsof Solaris10 gcc64
X-Send-Pr-Version: gtk-send-pr 0.4.5
X-GNATS-Notify:
>Number: 34120
>Category: pkg
>Synopsis: sysutils/lsof Solaris10 gcc64
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: solaris-pkg-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Aug 01 12:50:00 +0000 2006
>Last-Modified: Thu Jun 03 10:34:39 +0000 2021
>Originator: Gilles Dauphin
>Release: SunOS 5.10 i86pc
>Organization:
ENST
>Environment:
System: SunOS bi.enst.fr 5.10 Generic_Patch_118844-30 i86pc
>Description:
with 64bits ABI lsof don't compile
>How-To-Repeat:
bmake (with ABI=64)
>Fix:
--- Makefile.orig Mon Dec 5 21:51:01 2005
+++ Makefile Tue Aug 1 14:45:31 2006
@@ -36,6 +36,10 @@
REAL_GROUP= -g kmem
.elif ${OPSYS} == "SunOS"
MAKE_ENV+= CPPFLAGS=
+. if ${ABI} == "64"
+# make 32bit data visible in 64bits env. see man -s4 proc and man types32
+CFLAGS.SunOS+= -D_SYSCALL32
+. endif
.endif
INSTALLATION_DIRS= man/man8 sbin
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: rillig@NetBSD.org
Responsible-Changed-When: Sat, 15 Feb 2020 14:18:25 +0000
Responsible-Changed-Why:
It's a Solaris issue.
>Unformatted:
(Contact us)
$NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.