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: problem in compiling gcc6.4.0 using gcc8.1.1


On Wed, 26 Sep 2018 at 02:07, C.J. wrote:
>
> Dear specialists,
>
> I tried to install gcc6.4.0 in Fedora28, while something wrong happened as
> following.
>
>     In file included from ../.././libgcc/unwind-dw2.c:401:0:
>     ./md-unwind-support.h: In function ‘x86_64_fallback_frame_state’:
>     ./md-unwind-support.h:65:47: error: dereferencing pointer to incomplete
> type ‘struct ucontex_t’

Are you sure the error says "ucontex_t"? That's not a valid type. It
should be either "struct ucontext" or ucontext_t. Not "struct
ucontex_t".

Assuming it really says "struct ucontext" the fix you need is:
https://gcc.gnu.org/viewcvs/gcc/trunk/libgcc/config/i386/linux-unwind.h?r1=249731&r2=249730&pathrev=249731


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