From owner-freebsd-ports@FreeBSD.ORG Tue Apr 9 20:30:23 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4DD71462 for ; Tue, 9 Apr 2013 20:30:23 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vps.rulingia.com (host-122-100-2-194.octopus.com.au [122.100.2.194]) by mx1.freebsd.org (Postfix) with ESMTP id C2D01B67 for ; Tue, 9 Apr 2013 20:30:21 +0000 (UTC) Received: from server.rulingia.com (c220-239-237-213.belrs5.nsw.optusnet.com.au [220.239.237.213]) by vps.rulingia.com (8.14.5/8.14.5) with ESMTP id r39KU8Dh063797 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 10 Apr 2013 06:30:09 +1000 (EST) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.14.5/8.14.5) with ESMTP id r39KU1X4014495 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 10 Apr 2013 06:30:01 +1000 (EST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.14.5/8.14.5/Submit) id r39KTxEV014483; Wed, 10 Apr 2013 06:29:59 +1000 (EST) (envelope-from peter) Date: Wed, 10 Apr 2013 06:29:59 +1000 From: Peter Jeremy To: Daniel Nebdal Subject: Re: Request olvwm Message-ID: <20130409202959.GA13604@server.rulingia.com> References: <51607B45.7080302@sbcglobal.net> <447gkepetj.fsf@lowell-desk.lan> <1365381680.91665.8.camel@z6000.lenzicasa> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EeQfGwPcQSOJBaQU" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.5.21 (2010-09-15) Cc: ports@freebsd.org, Richard Childers , Lowell Gilbert X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Apr 2013 20:30:23 -0000 --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2013-Apr-08 13:32:05 +0200, Daniel Nebdal wrote: >Looking at it, the first problem is that x11-toolkits/xview has >ONLY_FOR_ARCHS=3D i386 . >Adding amd64 to it failed early with compilation errors (in some hairy >macro definitions, by the look of it). Setting USE_GCC=3D4.2+ still >produced a lot of warnings, but actually compiled and installed. > >Back in olwm, it then failed with much the same compiler errors; >USE_GCC=3D4.2+ got past that again (I guess it's from the same header >files as xview). It then compiled and installed. > >On trying to start it, it segfaulted. Recompiling with CFLAGS+=3D-g and >starting it in gdb, I get this: Without looking at the code, my initial guess is that the code assumes it can store a pointer in an int. >There is probably a good reason xview is marked as i386 - only. I >guess I could recompile it with -g as well to see if I can find out >what goes wrong, but ... I do have other things to do, and I know >nothing about X or xview or olvwm. Maybe later? As a first step, I'd add '-Wall -Wmissing-declarations' and work through all the warnings, particularly any that suggest truncation. --=20 Peter Jeremy --EeQfGwPcQSOJBaQU Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlFkekcACgkQ/opHv/APuIfqcQCgqeT2KFyiCfjsLHgRVdOy9G5B DFwAnAniMkV6S+p2f6K8skU3v5RsO+ca =qraw -----END PGP SIGNATURE----- --EeQfGwPcQSOJBaQU--