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
From: "Gilles Dauphin" <dauphin@enst.fr>
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:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 01 12:50:00 +0000 2006
>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

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.