Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 2013 06:29:59 +1000
From:      Peter Jeremy <peter@rulingia.com>
To:        Daniel Nebdal <dnebdal@gmail.com>
Cc:        ports@freebsd.org, Richard Childers <fscked@sbcglobal.net>, Lowell Gilbert <freebsd-ports-local@be-well.ilk.org>
Subject:   Re: Request olvwm
Message-ID:  <20130409202959.GA13604@server.rulingia.com>
In-Reply-To: <CA%2Bt49PKOOOKuCd8--hZk%2BsaRiEF3Aj0tv1-OfrWQKGOFrKATog@mail.gmail.com>
References:  <51607B45.7080302@sbcglobal.net> <447gkepetj.fsf@lowell-desk.lan> <1365381680.91665.8.camel@z6000.lenzicasa> <CA%2Bt49PKOOOKuCd8--hZk%2BsaRiEF3Aj0tv1-OfrWQKGOFrKATog@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <dnebdal@gmail.com> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130409202959.GA13604>