Date: prev next · Thread: first prev next last
2017 Archives by date, by thread · List index


[re-send with the proper To:, i'm too stupid to send email today]

On 08.08.2017 12:21, Xavier van wijmeersch wrote:
trying to build a new LO alpha6.0.0 this morning
see pdf

pdf? sigh, at least it's not a jpeg...

breakpad fails to build:

src/client/linux/dump_writer_common/ucontext_reader.cc: In static member function :
src/client/linux/dump_writer_common/ucontext_reader.cc:92:12:
error: invalid use of incomplete type
 return uc->uc_mcontext.gregs[REG_RSP];

i don't understand this, here on Fedora 26 i have this in
/usr/include/sys/ucontext.h, from glibc-headers-2.24-9.fc25.x86_64:

/* Context to describe whole processor state.  */
typedef struct
  {
    gregset_t gregs;
    /* Note that fpregs is a pointer.  */
    fpregset_t fpregs;
    __extension__ unsigned long long __reserved1 [8];
} mcontext_t;

/* Userlevel context.  */
typedef struct ucontext
  {
    unsigned long int uc_flags;
    struct ucontext *uc_link;
    stack_t uc_stack;
    mcontext_t uc_mcontext;
    __sigset_t uc_sigmask;
    struct _libc_fpstate __fpregs_mem;
  } ucontext_t;


which is included from
src/client/linux/dump_writer_common/ucontext_reader.h as the first line,
which is included from
src/client/linux/dump_writer_common/ucontext_reader.cc as the first line.

maybe try to play around with gcc -E to see what is going on?

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.