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