This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Errors in compiling gcc4.8.5 using gcc8.1.1


On Sat, 29 Sep 2018 at 10:23, C.J. <biocjh@gmail.com> wrote:
>
> I tried ran *** make STAGE1_CFLAGS="-O2 -g -std=gnu89" STAGE1_CXXFLAGS="-O2 -g -std=gnu++98" ***, but there were still errors as below.
>
> In file included from ../.././libgcc/unwind-dw2.c:405:0:
> ./md-unwind-support.h: In function ‘x86_64_fallback_frame_state’:
> ./md-unwind-support.h:65:47: error: dereferencing pointer to incomplete type
>        sc = (struct sigcontext *) (void *) &uc_->uc_mcontext;
>                                                ^

You need the same fix as I pointed you to in this reply:
https://gcc.gnu.org/ml/gcc-help/2018-09/msg00089.html


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]