Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Mar 2015 23:25:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        mono@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 198404] lang/mono (mono 3.12.1) does not build on i386
Message-ID:  <bug-198404-23699-tJRvT2W3nk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-198404-23699@https.bugs.freebsd.org/bugzilla/>
References:  <bug-198404-23699@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
wolfgang@lyxys.ka.sub.org has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to mono@FreeBSD.or=
g:
Bug 198404: lang/mono (mono 3.12.1) does not build on i386
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D198404



--- Description ---
The recent update to mono 3.12.1 does fail on 10.1-STABLE / i386 due to type
ucontext_t being undefined. The same version does build ok on amd64.

Log sample where the build starts to get wrong:
[..]
  CC	   libmini_la-mini-x86.lo
  CC	   libmini_la-exceptions-x86.lo
exceptions-x86.c:903:2: error: use of undeclared identifier 'ucontext_t'
	ucontext_t *ctx =3D (ucontext_t*)sigctx;
	^
exceptions-x86.c:903:14: error: use of undeclared identifier 'ctx'
	ucontext_t *ctx =3D (ucontext_t*)sigctx;
		    ^
exceptions-x86.c:903:21: error: use of undeclared identifier 'ucontext_t'
	ucontext_t *ctx =3D (ucontext_t*)sigctx;
			   ^
exceptions-x86.c:903:32: error: expected expression
	ucontext_t *ctx =3D (ucontext_t*)sigctx;
				      ^
exceptions-x86.c:904:19: error: use of undeclared identifier 'ucontext_t'
	return (gpointer)UCONTEXT_REG_EIP (ctx);
			 ^
../../mono/utils/mono-sigcontext.h:35:35: note: expanded from macro
      'UCONTEXT_REG_EIP'
	#define UCONTEXT_REG_EIP(ctx)
(((ucontext_t*)(ctx))->uc_mcontext.mc_eip)
					 ^
exceptions-x86.c:904:19: error: expected expression
../../mono/utils/mono-sigcontext.h:35:46: note: expanded from macro
      'UCONTEXT_REG_EIP'
	#define UCONTEXT_REG_EIP(ctx)
(((ucontext_t*)(ctx))->uc_mcontext.mc_eip)
						    ^
exceptions-x86.c:904:37: error: use of undeclared identifier 'ctx'
	return (gpointer)UCONTEXT_REG_EIP (ctx);
					   ^
../../mono/utils/mono-sigcontext.h:35:48: note: expanded from macro
      'UCONTEXT_REG_EIP'
	#define UCONTEXT_REG_EIP(ctx)
(((ucontext_t*)(ctx))->uc_mcontext.mc_eip)
						      ^
exceptions-x86.c:1002:2: error: use of undeclared identifier 'ucontext_t'
	ucontext_t *ctx =3D (ucontext_t*)sigctx;
	^
exceptions-x86.c:1002:14: error: use of undeclared identifier 'ctx'; did you
      mean 'mctx'?
[..]=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-198404-23699-tJRvT2W3nk>