Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

powerpc-linux not currently supported #472

Open
GoogleCodeExporter opened this issue Apr 2, 2015 · 1 comment
Open

powerpc-linux not currently supported #472

GoogleCodeExporter opened this issue Apr 2, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 6 Apr 2012 at 2:39

Attachments:

@GoogleCodeExporter
Copy link
Author

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

  • Changed title: powerpc-linux not currently supported
  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant