Summary: | sys-devel/gcc-6.3.0 , sys-libs/glibc-2.26 - In file included from .../work/gcc-6.3.0/libgcc/unwind-dw2.c:401:0: ./md-unwind-support.h: In function ‘x86_fallback_frame_state’: ./md-unwind-support.h:141:18: error: field ‘uc’ has incomplete type | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | rnddim |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | atoth, gerrit, slyfox |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info '=sys-devel/gcc-6.3.0::gentoo'
build.log.xz cross-build patch for ucontext change build.log for gcc-4.8.5 build.log for gcc-4.8.5 using gcc-6.4.0 |
Created attachment 509024 [details]
build.log.xz
does gcc-6.4 build for you? Same error trying to rebuild gcc-5.4.0 with 6.4.0 (I know, but pdftk apparently needs gcc-5 with gcj ??) after setting the new profile. Created attachment 511494 [details, diff]
cross-build patch for ucontext change
partial patch for cross-builds, doesn't help with native x86_64...
I'm pretty sure we tested building gcc-5 with gcc-6 and glibc-2.26 ... now the question is, why does it fail here and work for me? (Just started another test build.) (The ucontext change is specific to glibc-2.26.) Are there any news on this? I see the same issue and cannot rebuild gcc-4.8.5 nor gcc-4.7.4. Neither gcc-6.4 nor gcc 5.4 nor gcc-4.9.4 can build these. (In reply to Gerrit Kühn from comment #6) > Are there any news on this? I see the same issue and cannot rebuild > gcc-4.8.5 nor gcc-4.7.4. Neither gcc-6.4 nor gcc 5.4 nor gcc-4.9.4 can build > these. Please attach build.log for failed gcc:6.4.0. (In reply to Sergei Trofimovich from comment #7) > Please attach build.log for failed gcc:6.4.0. Sorry? gcc:6.4.0 compiles just fine. I cannot rebuild gcc:4.8.5 nor gcc:4.7.4 using gcc:6.4.0. Which build logs do you need? (In reply to Gerrit Kühn from comment #8) > (In reply to Sergei Trofimovich from comment #7) > > > Please attach build.log for failed gcc:6.4.0. > > Sorry? gcc:6.4.0 compiles just fine. I cannot rebuild gcc:4.8.5 nor > gcc:4.7.4 using gcc:6.4.0. Which build logs do you need? Ah, got it. gcc:4.8.5 logs should be fine. Created attachment 543230 [details]
build.log for gcc-4.8.5
Build log as requested.
Created attachment 543236 [details]
build.log for gcc-4.8.5 using gcc-6.4.0
Another build log with different errors, this time using gcc-6.4.0 as compiler (the other one used gcc-5.4.0).
~arch versions of all gcc slots should compile against glibc-2.28 now. |
Created attachment 509022 [details] emerge --info '=sys-devel/gcc-6.3.0::gentoo' Trying to recompile gcc-6.3.0 while updating my @world for the profile update causes the build to fail due to an incomplete type. My guess is this could either be caused by the version of gcc being used to compile it (gcc-7.2.0), or by the +pie USE flag from the profile update. The result of emerge -pqv : [ebuild R ] sys-devel/gcc-6.3.0 USE="cxx fortran (multilib) nls nptl openmp pch (pie*) sanitize ssp vtv (-altivec) (-awt) -cilk -debug -doc (-fixed-point) (-gcj) -go -graphite (-hardened) (-jit) (-libssp) -mpx -objc -objc++ -objc-gc -pgo -regression-test -vanilla"