9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Error building 9vx on OS X 10.5.8
@ 2010-04-20 15:58 Ethan Grammatikidis
  2010-04-20 16:07 ` andrey mirtchovski
  0 siblings, 1 reply; 4+ messages in thread
From: Ethan Grammatikidis @ 2010-04-20 15:58 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

9vx cloned from hg repo today. Error early in the build process:

libvxc/_exit.c: In function '_exit':
libvxc/syscall.h:8: error: can't find a register in class 'BREG' while
reloading 'asm'
make: *** [libvxc/_exit.o] Error 1

I can't recall if those "can't find a register" errors are due to
differences between gcc versions or optimisation settings.

Gcc is 4.0.1, I've no idea of the default optimisation options.

--
Simplicity does not precede complexity, but follows it. -- Alan Perlis




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] Error building 9vx on OS X 10.5.8
  2010-04-20 15:58 [9fans] Error building 9vx on OS X 10.5.8 Ethan Grammatikidis
@ 2010-04-20 16:07 ` andrey mirtchovski
  2010-04-20 16:08   ` andrey mirtchovski
  0 siblings, 1 reply; 4+ messages in thread
From: andrey mirtchovski @ 2010-04-20 16:07 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

make 9vx/9vx is the first step, but I imagine you'll hit a snag with
ucontext.h being deprecated unless _XOPEN_SOURCE is defined.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] Error building 9vx on OS X 10.5.8
  2010-04-20 16:07 ` andrey mirtchovski
@ 2010-04-20 16:08   ` andrey mirtchovski
  2010-04-20 17:44     ` Ethan Grammatikidis
  0 siblings, 1 reply; 4+ messages in thread
From: andrey mirtchovski @ 2010-04-20 16:08 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Tue, Apr 20, 2010 at 10:07 AM, andrey mirtchovski
<mirtchovski@gmail.com> wrote:
> make 9vx/9vx is the first step, but I imagine you'll hit a snag with
> ucontext.h being deprecated unless _XOPEN_SOURCE is defined.

oops, i could be wrong -- it may only be deprecated on snow leopard.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] Error building 9vx on OS X 10.5.8
  2010-04-20 16:08   ` andrey mirtchovski
@ 2010-04-20 17:44     ` Ethan Grammatikidis
  0 siblings, 0 replies; 4+ messages in thread
From: Ethan Grammatikidis @ 2010-04-20 17:44 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs


On 20 Apr 2010, at 17:08, andrey mirtchovski wrote:

> On Tue, Apr 20, 2010 at 10:07 AM, andrey mirtchovski
> <mirtchovski@gmail.com> wrote:
>> make 9vx/9vx is the first step, but I imagine you'll hit a snag with
>> ucontext.h being deprecated unless _XOPEN_SOURCE is defined.
>
> oops, i could be wrong -- it may only be deprecated on snow leopard.
>

make 9vx/9vx worked, thanks.

--
Simplicity does not precede complexity, but follows it. -- Alan Perlis




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-04-20 17:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-20 15:58 [9fans] Error building 9vx on OS X 10.5.8 Ethan Grammatikidis
2010-04-20 16:07 ` andrey mirtchovski
2010-04-20 16:08   ` andrey mirtchovski
2010-04-20 17:44     ` Ethan Grammatikidis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).