Date: Sat, 07 Feb 2015 16:50:21 -0800 From: Sean Bruno <sbruno@ignoranthack.me> To: freebsd-mips@FreeBSD.org Subject: Including ucontext.h doesn't pull in register_t type Message-ID: <54D6B2CD.1010807@ignoranthack.me>
next in thread | raw e-mail | index | archive | help
-----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<pha= se: build >=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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54D6B2CD.1010807>