Boost logo

Boost :

Subject: Re: [boost] [context] - Mac OS X fix
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2012-05-13 04:00:43


Am 13.05.2012 03:29, schrieb Daniel Larimer:
> It seems that while I was off using an old (but stable) version of Boost.Context Oliver has gone and rewritten it (again) and it has been approved (awesome)!
>
> I decided I should migrate my code to the latest API but it appears that no one tested it on OS X.
Unforutnately I've no MacOS X so I can't test it. The regression tests
on boost website don't give me the error - I get only:
'Error extracting file: No matching files were found.'

> I had to update the fcontext_x86_64_sysv_macho_gas.S:
>
> 1) @PLT is an ELF concept that generates the error: junk `@PLT' after expression
> 2) I had to add an '_' before align_stack otherwise things didn't link.
>
> + call _align_stack /* align stack */
> - call align_stack_at_PLT /* align stack */
>
> - call _exit_at_PLT /* exit application */
> + call _exit /* exit application */
>
> With that fix, you can add OS X x64 to your tested platforms.

thx - fix is added

> What version of boost will include Context?
I hope the next release 1.50 will contain boost.context

regards,
Oliver


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk