error building LO on kde4

Michael Stahl mstahl at redhat.com
Wed Aug 9 12:37:43 UTC 2017


[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?


More information about the LibreOffice mailing list