Ken Moffat wrote:
Unfortunately, it doesn't get near to glibc, it fails in gcc pass 2
(line-wrapped in pasting) :
make[2]: Entering directory
'/mnt/lfs/building/gcc-7.1.0/build/x86_64-pc-linux-gnu/libgcc'
...
In file included from ../../../libgcc/unwind-dw2.c:403: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 ucontext'
sc = (struct sigcontext *) (void *) &uc_->uc_mcontext;
^~
../../../libgcc/shared-object.mk:14: recipe for target
'unwind-dw2.o' failed
make[2]: *** [unwind-dw2.o] Error 1
Ken, gcc needs to be upgraded or patched to get gcc-pass2 fixed. I've
gotten past that with a couple of changes, but glibc then hangs (infinite
loop) in Chapter 6.
I'm putting this on the shelf until we get the full gcc-7.2 released.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page