Changes between Initial Version and Version 1 of Ticket #38298, comment 29


Ignore:
Timestamp:
Mar 8, 2013, 11:19:17 AM (11 years ago)
Author:
Serge3leo (Serguei E. Leontiev)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #38298, comment 29

    initial v1  
    22
    33I submit this bug and patch to upstream, see [https://svn.boost.org/trac/boost/ticket/8266]
     4
     5Examples seems working
     6{{{
     7
     8leom-3:example leo$ c++ -arch i386 -arch x86_64 -I/opt/local/include exit.cpp -L/opt/local/lib -lboost_context-mt
     9leom-3:example leo$ arch -i386 ./a.out
     10size: 0x28
     11main: call start_fcontext( & fcm, fc1, 0)
     12f1: entered
     13f1: call jump_fcontext( fc1, fc2, 0)
     14f2: entered
     15f2: call jump_fcontext( fc2, fc1, 0)
     16f1: return
     17leom-3:example leo$ arch -x86_64 ./a.out
     18size: 0x58
     19main: call start_fcontext( & fcm, fc1, 0)
     20f1: entered
     21f1: call jump_fcontext( fc1, fc2, 0)
     22f2: entered
     23f2: call jump_fcontext( fc2, fc1, 0)
     24f1: return
     25leom-3:example leo$ c++ -arch i386 -arch x86_64 -I/opt/local/include jump.cpp -L/opt/local/lib -lboost_context-mt
     26leom-3:example leo$ arch -i386 ./a.out
     27main: call start_fcontext( & fcm, fc1, 0)
     28f1: entered
     29f1: call jump_fcontext( fc1, fc2, 0)
     30f2: entered
     31f2: call jump_fcontext( fc2, fc1, 0)
     32f1: return
     33main: done
     34leom-3:example leo$ arch -x86_64 ./a.out
     35main: call start_fcontext( & fcm, fc1, 0)
     36f1: entered
     37f1: call jump_fcontext( fc1, fc2, 0)
     38f2: entered
     39f2: call jump_fcontext( fc2, fc1, 0)
     40f1: return
     41main: done
     42}}}