Banano67 / google-breakpad

Automatically exported from code.google.com/p/google-breakpad
0 stars 0 forks source link

powerpc-linux not currently supported #472

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
build = i686-pc-linux-gnu
host = powerpc-wrs-linux-gnu 
C++ flags = -DGNUPPC 
--sysroot=/vobs/ngp_windriver/windriver_pne2.0/wrlinux-2.0/sysroots/qemu_ppc32-g
libc_std/sysroot -te500v2 

the error is:
        depbase=`echo src/client/linux/handler/exception_handler.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; powerpc-wrs-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./src  -I./src   -DGNUPPC --sysroot=/vobs/ngp_windriver/windriver_pne2.0/wrlinux-2.0/sysroots/eccm-glibc_cgl/sysroot -te500v2 -m32 -MT src/client/linux/handler/exception_handler.o -MD -MP -MF $depbase.Tpo -c -o src/client/linux/handler/exception_handler.o src/client/linux/handler/exception_handler.cc && mv -f $depbase.Tpo $depbase.Po
src/client/linux/handler/exception_handler.cc: In member function 'bool 
google_breakpad::ExceptionHandler::HandleSignal(int, siginfo_t*, void*)':
src/client/linux/handler/exception_handler.cc:349: error: 'union 
ucontext::uc_regs_ptr' has no member named 'fpregs'
src/client/linux/handler/exception_handler.cc:351: error: 'union 
ucontext::uc_regs_ptr' has no member named 'fpregs'
src/client/linux/handler/exception_handler.cc: In member function 'bool 
google_breakpad::ExceptionHandler::WriteMinidump()':
src/client/linux/handler/exception_handler.cc:493: error: 'union 
ucontext::uc_regs_ptr' has no member named 'fpregs'
*** Error code 1

I found the defination of "ucontext" in 
/vobs/ngp_windriver/windriver_pne2.0/wrlinux-2.0/sysroots/qemu_ppc32-glibc_std/s
ysroot/usr/include/sys/ucontext.h

typedef struct ucontext
  {
    unsigned long int uc_flags;
    struct ucontext *uc_link;
    stack_t uc_stack;
#if __WORDSIZE == 32
    int uc_pad[7];
    union uc_regs_ptr {
      struct pt_regs *regs;
      mcontext_t *uc_regs;
    } uc_mcontext;
    sigset_t    uc_sigmask;
    char uc_reg_space[sizeof(mcontext_t) + 12];  /* last for extensibility */
#else /* 64-bit */
    sigset_t    uc_sigmask;
    mcontext_t  uc_mcontext;  /* last for extensibility */
#endif
  } ucontext_t;

Original issue reported on code.google.com by Tody...@gmail.com on 6 Apr 2012 at 2:39

Attachments:

GoogleCodeExporter commented 9 years ago
We don't currently have support for Linux/PowerPC, it'd require a little bit of 
porting. (We already have PowerPC support elsewhere for Darwin/PPC, so it 
wouldn't be a huge effort.)

Original comment by ted.mielczarek on 10 Sep 2012 at 7:26