From owner-freebsd-mips@FreeBSD.ORG Sun Feb 8 00:50:25 2015 Return-Path: Delivered-To: freebsd-mips@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 61823806 for ; Sun, 8 Feb 2015 00:50:25 +0000 (UTC) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 429E7DFA for ; Sun, 8 Feb 2015 00:50:24 +0000 (UTC) Received: from [192.168.200.212] (unknown [50.136.155.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 0BD321941DD for ; Sun, 8 Feb 2015 00:50:22 +0000 (UTC) Message-ID: <54D6B2CD.1010807@ignoranthack.me> Date: Sat, 07 Feb 2015 16:50:21 -0800 From: Sean Bruno Reply-To: sbruno@freebsd.org User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-mips@FreeBSD.org Subject: Including ucontext.h doesn't pull in register_t type Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2015 00:50:25 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Test builds of devel/libsigsegv for mips64 seem to fail as the include files don't seem to line up correctly. It looks like the standard ucontext.h doesn't seem to pull in the register_t type so that machine/ucontext.h can be included. This seems like a bug somehow, but I'm not quite sure what the least damaging way of solving it should be. I'll look at adding _types.h to somewhere in the port include chain, but I thought I'd at least mention this here. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D> Building for libsigsegv-2.10_1 /nxb-bin/usr/bin/make TARGETSTACK=3D" all" all-recursive Making all in src /bin/sh ../libtool --tag=3DCC --mode=3Dcompile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I. -I. -O -pipe -G0 -fno-strict-aliasing -c -o handler.lo handler.c libtool: compile: /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I. -I. -O -pipe -G0 -fno-strict-aliasing -c handler.c -fPIC -DPIC -o =2Elibs/handler.o In file included from /usr/include/ucontext.h:35, from sigsegv.h:21, from handler-unix.c:22, from handler.c:20: /usr/include/machine/ucontext.h:53: error: expected specifier-qualifier-list before 'register_t' *** Error code 1 Stop. make[3]: stopped in /wrkdirs/usr/ports/devel/libsigsegv/work/libsigsegv-2.10/src *** Error code 1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJU1rLLXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kzk4IAJVIUVPTogpQu7Pj6iieazEB /8w4bqFiSio6dYXyJKdRzEfRivndo04st4L8l5g0X1KKklKZZ7i54ebjAuI9ioWo EHlJXnZzkIGaSpFmvwpNBHjEbBPk/GpWo/hNpC9qAlwstNHQeuyT7qCxYbAAnHmw Ppy/AtCOS5ZXDIusH/KFedmKP+KLMXoq6NavyXSUbljr89YERmLmxTIbZbvu6oy2 14HWWgnb8KVo2sVHVGBB91QGHNJm/1mGBNI9v2Oq20WK9EZoBupu4zrhrOUMgq3p GKj7adAubZynLyyXYmBQ0yjKXrNY73XkHpzIs36FdR+0baUYs0UhFOFdLNJjFZ8=3D =3DqASQ -----END PGP SIGNATURE-----