Re: [Boost-bugs] [Boost C++ Libraries] #9743: Patch for context/coroutine assembler for Linux On Power (BE & LE)

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9743: Patch for context/coroutine assembler for Linux On Power (BE & LE)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-03-06 10:07:36


#9743: Patch for context/coroutine assembler for Linux On Power (BE & LE)
--------------------------------------+---------------------
  Reporter: Tony Reix <tony.reix@…> | Owner: olli
      Type: Patches | Status: new
 Milestone: To Be Determined | Component: context
   Version: Boost 1.55.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------------+---------------------

Comment (by Tony Reix <tony.reix@…>):

 Hi anonymous,

 There are several errors in the current Boost code for PPC64.
 (tests below were done in LoP PPC64/BE environment)

 1) src/asm/make_ppc64_sysv_elf_gas.S
 This file contains use of macros, like: #if _CALL_ELF == 2
 However, in build/Jamfile.v2, the gas action is defined as:
 actions gas
 {
     as -o "$(<)" "$(>)"
 }
 and that does not expend the Macros. There is a need of calling cpp.


 2) Adding the lines you gave me in previous comment still leads to an
 error (both on BE and LE):
 [root_at_tbx6 build]# pwd
 /home/reixt/BOOST/modular-boost/libs/context/build
 [root_at_tbx6 build]# bjam
 warning: mismatched versions of Boost.Build engine and core
 warning: Boost.Build engine (bjam) is 2011.12.01
 warning: Boost.Build core (at /home/reixt/BOOST/modular-
 boost/tools/build/src) is 2013.05-svn
 Performing configuration checks

     - symlinks supported : yes
     - hardlinks supported : yes
 /home/reixt/BOOST/modular-boost/tools/build/src/tools/link.jam:314: in
 link-recursively
 ERROR: rule "READLINK" unknown in module "link".
 ........

 Maybe I have some mis-match in my environment. Or I'm not building in the
 correct place ?


 3) src/asm/make_ppc64_sysv_elf_gas.S contains PPC 32bits assembler
 instructions, and it mixes PPC 32bits conventions with 64bits.
 So it cannot work.


 I need some clarifications.

 Thanks

 Tony

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9743#comment:7>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:15 UTC