Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 629502 - <sys-devel/gcc-7.2 fails to build with sys-libs/glibc-2.26
Summary: <sys-devel/gcc-7.2 fails to build with sys-libs/glibc-2.26
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 639278 643390 643942 (view as bug list)
Depends on:
Blocks: glibc-2.26
  Show dependency tree
 
Reported: 2017-08-31 20:20 UTC by Andreas K. Hüttel
Modified: 2019-06-01 10:10 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for gcc-6.4 (from upstream gcc-6 branch, no changes) (gcc-6.4-glibc226.patch,8.20 KB, patch)
2017-08-31 20:22 UTC, Andreas K. Hüttel
Details | Diff
patch for gcc-5.4 (from upstream gcc-5 branch, removed changelog chunk) (gcc-5.4-glibc226.patch,7.31 KB, patch)
2017-08-31 20:23 UTC, Andreas K. Hüttel
Details | Diff
patch for gcc-4.9.4 (identical with gcc-5.4 patch, copied but not further verified) (gcc-4.9.4-glibc226.patch,7.31 KB, patch)
2017-08-31 20:24 UTC, Andreas K. Hüttel
Details | Diff
second patch for gcc-5 and gcc-6 (backported by me from gcc-7 branch) (gcc-56-asan-glibc226.patch,3.97 KB, patch)
2017-09-01 21:03 UTC, Andreas K. Hüttel
Details | Diff
second patch for gcc-4.9 (backported by me from gcc-7 branch) (gcc-4.9-asan-glibc226.patch,4.17 KB, patch)
2017-09-01 21:04 UTC, Andreas K. Hüttel
Details | Diff
third patch for gcc-4.9 and gcc-5 (guess by me) (gcc-45-asan-glibc226-2.patch,563 bytes, patch)
2017-09-03 20:15 UTC, Andreas K. Hüttel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas K. Hüttel archtester gentoo-dev 2017-08-31 20:20:47 UTC
[log snippet from the upstream bug since I already overwrote mine when testing the patches]

./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;
                                               ^~
make[3]: Leaving directory `/disk2/build/gcc-7.1.0-build/x86_64-pc-linux-gnu/libgcc'
make[3]: *** [unwind-dw2.o] Error 1
make[2]: Leaving directory `/disk2/build/gcc-7.1.0-build'
make[2]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory `/disk2/build/gcc-7.1.0-build'
make[1]: *** [all] Error 2

This is fixed in gcc-7.2, but affects all earlier versions.
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2017-08-31 20:22:39 UTC
Created attachment 491290 [details, diff]
patch for gcc-6.4 (from upstream gcc-6 branch, no changes)

Testing done: patch applies
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2017-08-31 20:23:36 UTC
Created attachment 491292 [details, diff]
patch for gcc-5.4 (from upstream gcc-5 branch, removed changelog chunk)

Testing done: patch applies
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2017-08-31 20:24:56 UTC
Created attachment 491294 [details, diff]
patch for gcc-4.9.4 (identical with gcc-5.4 patch, copied but not further verified)

Testing done: patch applies
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2017-08-31 20:25:36 UTC
Will build the compilers overnight in the glibc-2.26 chroot to verify that the issue is solved.
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2017-09-01 10:52:58 UTC
(In reply to Andreas K. Hüttel from comment #4)
> Will build the compilers overnight in the glibc-2.26 chroot to verify that
> the issue is solved.

It's not enough, we need to cherry-pick more commits. New error is

/var/tmp/portage/sys-devel/gcc-6.4.0/work/gcc-6.4.0/libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: In function ‘int
 __sanitizer::TracerThread(void*)’:
/var/tmp/portage/sys-devel/gcc-6.4.0/work/gcc-6.4.0/libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc:270:22: error: ag
gregate ‘sigaltstack handler_stack’ has incomplete type and cannot be defined
   struct sigaltstack handler_stack;
                      ^~~~~~~~~~~~~
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2017-09-01 21:03:42 UTC
Created attachment 491346 [details, diff]
second patch for gcc-5 and gcc-6 (backported by me from gcc-7 branch)
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2017-09-01 21:04:16 UTC
Created attachment 491348 [details, diff]
second patch for gcc-4.9 (backported by me from gcc-7 branch)
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2017-09-01 21:05:08 UTC
Testing done: patches apply

Will build the compilers overnight in the glibc-2.26 chroot again to check if the issue is solved.
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2017-09-03 08:08:43 UTC
gcc-6 builds fine now

gcc-4.9 and 5 fail with

/var/tmp/portage/sys-devel/gcc-4.9.4/work/gcc-4.9.4/libsanitizer/asan/asan_linux.cc: In function ‘bool __asan::AsanInterceptsSignal(int)’:
/var/tmp/portage/sys-devel/gcc-4.9.4/work/gcc-4.9.4/libsanitizer/asan/asan_linux.cc:107:20: error: ‘SIGSEGV’ was not declared in this scope
   return signum == SIGSEGV && flags()->handle_segv;
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2017-09-03 20:15:47 UTC
Created attachment 492194 [details, diff]
third patch for gcc-4.9 and gcc-5 (guess by me)

Added one more tiny patch for gcc-4.9 and gcc-5.

Now all three gcc variants build fine. Which is promising because of the inherent self-test in the bootstrap process. 

Will rebuild the chroot with gcc-6 overnight for additional testing.
Comment 11 Andreas K. Hüttel archtester gentoo-dev 2017-09-05 06:33:52 UTC
Now the patched gcc-6 rebuilt the entire chroot fine (including gcc-4.9 and gcc-5). No oddities observed so far... so as far as I'm concerned it's good to go.
Comment 12 Sergei Trofimovich (RETIRED) gentoo-dev 2017-10-23 20:25:46 UTC
Looks like glibc-2.25-r8 causes the same failure as #comment9:
    https://bugs.gentoo.org/628180#c16
Comment 13 Larry the Git Cow gentoo-dev 2017-10-24 07:33:51 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcb74686431badd7d8ab3d76246300780609a01c

commit bcb74686431badd7d8ab3d76246300780609a01c
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2017-10-24 07:33:22 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2017-10-24 07:33:45 +0000

    sys-devel/gcc: bump 5.4.0-r3 patch set up to 1.5, bug #629502
    
    Patchset contains single new patch:
    - 92_all_asan-signal_h.patch
    to fix gcc-5.4.0-r3 build failure against glibc-2.25-r8.
    
    Bug: https://bugs.gentoo.org/629502
    Package-Manager: Portage-2.3.12, Repoman-2.3.3

 sys-devel/gcc/Manifest            | 2 +-
 sys-devel/gcc/gcc-5.4.0-r3.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)}
Comment 14 Larry the Git Cow gentoo-dev 2017-10-26 07:29:59 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe5ae32ea231d9904ea6f49b802066c6c5e86200

commit fe5ae32ea231d9904ea6f49b802066c6c5e86200
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2017-10-26 07:29:18 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2017-10-26 07:29:52 +0000

    sys-devel/gcc: bump 5.4.0-r3 patch set up to 1.6, bug #629502
    
    Patchset contains single new patch:
    - 93_all_ucontext-to-ucontext_t.patch
    to fix gcc-5.4.0-r3 build failure against glibc-2.26.
    
    Bug: https://bugs.gentoo.org/629502
    Package-Manager: Portage-2.3.12, Repoman-2.3.4

 sys-devel/gcc/Manifest            | 2 +-
 sys-devel/gcc/gcc-5.4.0-r3.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)}
Comment 15 Larry the Git Cow gentoo-dev 2017-10-26 20:58:37 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0a8f892c39a98370b404702f03d067553c585a4

commit d0a8f892c39a98370b404702f03d067553c585a4
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2017-10-26 20:58:12 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2017-10-26 20:58:31 +0000

    sys-devel/gcc: bump 5.4.0-r3 patch set up to 1.7, bug #629502
    
    Patchset contains single new patch:
    - 94_all_no-sigaltstack.patch
    to fix gcc-5.4.0-r3 build failure against glibc-2.26.
    
    Bug: https://bugs.gentoo.org/629502
    Package-Manager: Portage-2.3.12, Repoman-2.3.4

 sys-devel/gcc/Manifest            | 2 +-
 sys-devel/gcc/gcc-5.4.0-r3.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)}
Comment 16 Larry the Git Cow gentoo-dev 2017-10-27 07:01:13 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5968a9ceb4f2d45254354f4408b8b07437481ec6

commit 5968a9ceb4f2d45254354f4408b8b07437481ec6
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2017-10-27 07:00:44 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2017-10-27 07:01:06 +0000

    sys-devel/gcc: bump 6.4.0 patch set up to 1.1, bug #629502
    
    Patchset contains the following new patches (picked as-is from 5.4.0):
    - 92_all_asan-signal_h.patch: add missing '<signal.h>' header
    - 93_all_ucontext-to-ucontext_t.patch: change 'struct ucontext' to 'ucontext_t'
    - 94_all_no-sigaltstack.patch: remove 'sigaltstack' usage
    to fix gcc-6.4.0 build failure against glibc-2.26.
    
    Bug: https://bugs.gentoo.org/629502
    Package-Manager: Portage-2.3.12, Repoman-2.3.4

 sys-devel/gcc/Manifest         | 2 +-
 sys-devel/gcc/gcc-6.4.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)}
Comment 17 Larry the Git Cow gentoo-dev 2017-10-27 22:45:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6aa7db52ea50c53895d3c929ae05a8d38add3594

commit 6aa7db52ea50c53895d3c929ae05a8d38add3594
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2017-10-27 22:44:37 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2017-10-27 22:45:47 +0000

    sys-devel/gcc: bump 4.9.4 patch set up to 1.2, bug #629502
    
    Patchset contains the following new patches (picked as-is from 5.4.0):
    - 94_all_compatibility_fix_with_perl_5.26.patch: regex tweak for perl-5.26
    - 95_all_asan-signal_h.patch: add missing '<signal.h>' header
    - 96_all_ucontext-to-ucontext_t.patch: change 'struct ucontext' to 'ucontext_t'
    - 97_all_no-sigaltstack.patch: remove 'sigaltstack' usage
    to fix gcc-4.9.4 build failure against glibc-2.26.
    
    I've deleted 4.9.4-r1 as it contained single build-time fix for perl-5.26.
    
    Closes: https://bugs.gentoo.org/629502
    Closes: https://bugs.gentoo.org/620164
    Package-Manager: Portage-2.3.12, Repoman-2.3.4

 sys-devel/gcc/Manifest            |  3 +--
 sys-devel/gcc/gcc-4.9.4-r1.ebuild | 47 ---------------------------------------
 sys-devel/gcc/gcc-4.9.4.ebuild    |  4 ++--
 3 files changed, 3 insertions(+), 51 deletions(-)
Comment 18 Arfrever Frehtes Taifersar Arahesis 2018-01-05 00:37:30 UTC
*** Bug 643390 has been marked as a duplicate of this bug. ***
Comment 19 Arfrever Frehtes Taifersar Arahesis 2018-01-05 00:39:09 UTC
Some other references to 'struct ucontext' still remain in libjava directory.
Comment 20 Arfrever Frehtes Taifersar Arahesis 2018-01-05 00:58:13 UTC
Upstream fixes:

GCC 5:
https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=251832

GCC 6:
https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=251831

Fix is the same on both branches. It also applies for GCC 4.9.
Comment 21 Arfrever Frehtes Taifersar Arahesis 2018-01-09 04:42:59 UTC
*** Bug 643942 has been marked as a duplicate of this bug. ***
Comment 22 Arfrever Frehtes Taifersar Arahesis 2018-01-09 12:46:29 UTC
*** Bug 643942 has been marked as a duplicate of this bug. ***
Comment 23 Larry the Git Cow gentoo-dev 2018-01-12 08:04:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2642fee64d80f934cd8f3dc72ba4a2939449a1c

commit a2642fee64d80f934cd8f3dc72ba4a2939449a1c
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2018-01-12 07:59:55 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-01-12 08:04:10 +0000

    sys-devel/gcc: fix building against glibc-2.26 (ucontext_t change), bug #629502#c20
    
    Single patch to fix built failure:
    - 97_all_libjava-ucontext.patch
    
    Applied to gcc-5.9.4, -5.4.0-r4, -6.4.0-r1
    
    Reported-by: Andrey Grozin
    Bug: https://bugs.gentoo.org/643390
    Closes: https://bugs.gentoo.org/629502#c20
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sys-devel/gcc/Manifest            | 6 +++---
 sys-devel/gcc/gcc-4.9.4.ebuild    | 4 ++--
 sys-devel/gcc/gcc-5.4.0-r4.ebuild | 4 ++--
 sys-devel/gcc/gcc-6.4.0-r1.ebuild | 2 +-
 4 files changed, 8 insertions(+), 8 deletions(-)
Comment 24 Sergei Trofimovich (RETIRED) gentoo-dev 2018-01-13 09:54:32 UTC
*** Bug 639278 has been marked as a duplicate of this bug. ***
Comment 25 Larry the Git Cow gentoo-dev 2018-09-23 22:36:12 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb8ff43b025c1d62c2002307d07fb85586773e4d

commit cb8ff43b025c1d62c2002307d07fb85586773e4d
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2018-09-23 22:30:27 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-09-23 22:36:02 +0000

    sys-devel/gcc: cut 1.4 patchset for 4.0.4
    
    One new patch:
    + 86_all_ucontext-to-ucontext_t.patch
      fix build failure against glibc-2.28
    
    Bug: https://bugs.gentoo.org/629502
    Package-Manager: Portage-2.3.49, Repoman-2.3.11

 sys-devel/gcc/Manifest            |  1 +
 sys-devel/gcc/gcc-4.0.4-r1.ebuild | 15 +++++++++++++++
 2 files changed, 16 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e943dceb25c0b1635d337c5bf0e228609f40e820

commit e943dceb25c0b1635d337c5bf0e228609f40e820
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2018-09-23 22:21:50 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-09-23 22:36:02 +0000

    sys-devel/gcc: cut 1.7 patchset for 4.1.2
    
    One new patch:
    + 96_all_ucontext-to-ucontext_t.patch
      fix build failure against glibc-2.28
    
    Bug: https://bugs.gentoo.org/629502
    Package-Manager: Portage-2.3.49, Repoman-2.3.11

 sys-devel/gcc/Manifest            |  1 +
 sys-devel/gcc/gcc-4.1.2-r1.ebuild | 29 +++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42ee38647e0ba18a71bb91b2f02680dc5864b32b

commit 42ee38647e0ba18a71bb91b2f02680dc5864b32b
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2018-09-23 22:17:10 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-09-23 22:36:02 +0000

    sys-devel/gcc: cut 1.5 patchset for 4.2.4
    
    One new patch:
    + 93_all_ucontext-to-ucontext_t.patch
      fix build failure against glibc-2.28
    
    Bug: https://bugs.gentoo.org/629502
    Package-Manager: Portage-2.3.49, Repoman-2.3.11

 sys-devel/gcc/Manifest            |  1 +
 sys-devel/gcc/gcc-4.2.4-r2.ebuild | 17 +++++++++++++++++
 2 files changed, 18 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45e144051196a37dd3a0fb63c17c89b379427f0f

commit 45e144051196a37dd3a0fb63c17c89b379427f0f
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2018-09-23 22:07:40 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-09-23 22:36:01 +0000

    sys-devel/gcc: cut 1.3 patchset for 4.3.6
    
    One new patch:
    + 92_all_ucontext-to-ucontext_t.patch
      fix build failure against glibc-2.28
    
    Bug: https://bugs.gentoo.org/629502
    Package-Manager: Portage-2.3.49, Repoman-2.3.11

 sys-devel/gcc/Manifest            |  1 +
 sys-devel/gcc/gcc-4.3.6-r2.ebuild | 28 ++++++++++++++++++++++++++++
 2 files changed, 29 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85ddb5b4ae6292061c20bfcc08eb6c93a33ff2ca

commit 85ddb5b4ae6292061c20bfcc08eb6c93a33ff2ca
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2018-09-23 22:01:14 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-09-23 22:36:00 +0000

    sys-devel/gcc: cut 1.4 patchset for 4.4.7
    
    One new patch and one update:
    U 93_all_gcc-4.5-cloog-dl.patch
    + 97_all_ucontext-to-ucontext_t.patch
      fix build failure against glibc-2.28
    
    Bug: https://bugs.gentoo.org/629502
    Package-Manager: Portage-2.3.49, Repoman-2.3.11

 sys-devel/gcc/Manifest            |  1 +
 sys-devel/gcc/gcc-4.4.7-r1.ebuild | 28 ++++++++++++++++++++++++++++
 2 files changed, 29 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a84c726294bab39be3ff9226c585115d0ff34918

commit a84c726294bab39be3ff9226c585115d0ff34918
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2018-09-23 21:46:57 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-09-23 22:36:00 +0000

    sys-devel/gcc: cut 1.4 patchset for 4.5.4
    
    One new patch and one update:
    U 93_all_gcc-4.5-cloog-dl.patch
    + 100_all_ucontext-to-ucontext_t.patch
      fix build failure against glibc-2.28
    
    Bug: https://bugs.gentoo.org/629502
    Package-Manager: Portage-2.3.49, Repoman-2.3.11

 sys-devel/gcc/Manifest            |  1 +
 sys-devel/gcc/gcc-4.5.4-r1.ebuild | 29 +++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d8a61759fc24d5af8749b92259a25ef74808e13

commit 5d8a61759fc24d5af8749b92259a25ef74808e13
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2018-09-23 21:39:24 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-09-23 22:35:59 +0000

    sys-devel/gcc: cut 1.4 patchset for 4.6.4
    
    Two new patches and four removals:
    - 10_all_default-fortify-source.patch
    - 11_all_gcc-default-format-security.patch
    - 12_all_default-warn-trampolines.patch
    + 34_all_libjava-classpath-locale-sort.patch
      fix sortting on cs_CZ locale
    - 99_all_testsuite-01-Wformat.patch
    + 94_all_ucontext-to-ucontext_t.patch
      fix build failure against glibc-2.28
    
    Bug: https://bugs.gentoo.org/563710
    Bug: https://bugs.gentoo.org/629502
    Package-Manager: Portage-2.3.49, Repoman-2.3.11

 sys-devel/gcc/Manifest            |  1 +
 sys-devel/gcc/gcc-4.6.4-r1.ebuild | 30 ++++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=780a9add5d2a0bef127307b6cbba7ca8e54beaba

commit 780a9add5d2a0bef127307b6cbba7ca8e54beaba
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2018-09-23 21:31:05 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-09-23 22:35:59 +0000

    sys-devel/gcc: cut 1.5 patchset for 4.7.4
    
    Two new patches and two updates:
    + 34_all_libjava-classpath-locale-sort.patch
      fix sortting on cs_CZ locale
    + 95_all_ucontext-to-ucontext_t.patch
      fix build failure against glibc-2.28
    
    Bug: https://bugs.gentoo.org/629502
    Package-Manager: Portage-2.3.49, Repoman-2.3.11

 sys-devel/gcc/Manifest            |  1 +
 sys-devel/gcc/gcc-4.7.4-r2.ebuild | 47 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d365b9dc92f26040599047dabd5cde10831f56f9

commit d365b9dc92f26040599047dabd5cde10831f56f9
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2018-09-23 21:19:03 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-09-23 22:35:59 +0000

    sys-devel/gcc: cut 1.4 patchset for 4.8.5
    
    Three new patches and two updates:
    U 09_all_default-ssp.patch
      disable stack protector when stage1 is built,
      fix ffreestanding handling
    + 34_all_libjava-classpath-locale-sort.patch
      fix sortting on cs_CZ locale
    U 74_all_gcc48_cloog-dl.patch
      update cloog patch
    + 94_all_gcc-gperf-gnu-inline.patch
      fix build failure against new gcc
    + 95_all_ucontext-to-ucontext_t.patch
      fix build failure against glibc-2.28
    
    Bug: https://bugs.gentoo.org/629502
    Package-Manager: Portage-2.3.49, Repoman-2.3.11

 sys-devel/gcc/Manifest            |  1 +
 sys-devel/gcc/gcc-4.8.5-r2.ebuild | 47 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)
Comment 26 Larry the Git Cow gentoo-dev 2019-06-01 08:36:03 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=eda1f00e053497b423f499663feb68c959af93c4

commit eda1f00e053497b423f499663feb68c959af93c4
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2019-06-01 08:34:10 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2019-06-01 08:34:10 +0000

    4.7.4: cut 1.6 patchset
    
    Single patch to fix libjava build on glibc-2.28
    (ucontext changes).
    
    Bug: https://bugs.gentoo.org/629502
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 4.7.4/gentoo/README.history | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=28d89990740832d87ef34520fec5c20eb7a2ac41

commit 28d89990740832d87ef34520fec5c20eb7a2ac41
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2019-06-01 08:27:56 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2019-06-01 08:27:56 +0000

    4.8.5: cut 1.5 patchset
    
    Four new patches:
    96_all_stage1-ldflags.patch: fix LDFLAGS passing to STAGE1
    97_all_libjava-ucontext.patch: fix ucontext definition for glibc-2.28
    98_all_asan-signal_h.patch: fix signal declarations for glibc-2.28
    99_all_libsanitizer-res_state-glibc-2.28.patch: fix libsanitizer for glibc-2.28
    
    Bug: https://bugs.gentoo.org/629502
    Bug: https://bugs.gentoo.org/671568
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 4.8.5/gentoo/README.history | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 27 Larry the Git Cow gentoo-dev 2019-06-01 09:09:18 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=86b7d067429741543c0fbd1cf5f0f6c46553a1e5

commit 86b7d067429741543c0fbd1cf5f0f6c46553a1e5
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2019-06-01 09:07:36 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2019-06-01 09:07:36 +0000

    4.5.4: cut 1.5 patchset
    
    Three new patches:
    101_all_libjava-ucontext.patch: fix libjava build on modern glibc
    102_all_cgraph_node-gcc-9.patch: workaround buid failure against gcc-9.1.0
    103_all_gcc-gperf-gnu-inline.patch: fix inline declaration for modern gcc
    
    Bug: https://bugs.gentoo.org/629502
    Bug: https://gcc.gnu.org/PR90677
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 4.5.4/gentoo/README.history | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=83395c7f691bcba3e5a4312edbbc25fce755ef33

commit 83395c7f691bcba3e5a4312edbbc25fce755ef33
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2019-06-01 08:39:30 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2019-06-01 08:39:30 +0000

    4.6.4: cut 1.5 patchset
    
    Three new patches:
    95_all_libjava-ucontext.patch: fix libjava build on modern glibc
    96_all_gcc-gperf-gnu-inline.patch: fix inline declaration for modern gcc
    97_all_cgraph_node-gcc-9.patch: workaround buid failure against gcc-9.1.0
    
    Bug: https://bugs.gentoo.org/629502
    Bug: https://gcc.gnu.org/PR90677
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 4.6.4/gentoo/README.history | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 28 Larry the Git Cow gentoo-dev 2019-06-01 09:26:13 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=304410bc2b06c7d6f04af166909852104c318d75

commit 304410bc2b06c7d6f04af166909852104c318d75
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2019-06-01 09:25:36 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2019-06-01 09:25:36 +0000

    4.3.6: cut 1.4 patchset
    
    Two new patches:
    98_all_libjava-ucontext.patch: fix libjava build on modern glibc
    99_all_cgraph_node-gcc-9.patch: workaround buid failure against gcc-9.1.0
    
    Bug: https://bugs.gentoo.org/629502
    Bug: https://gcc.gnu.org/PR90677
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 4.3.6/gentoo/README.history | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=27d02a867bf3554e5f857de24085940156bc05a7

commit 27d02a867bf3554e5f857de24085940156bc05a7
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2019-06-01 09:11:32 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2019-06-01 09:11:32 +0000

    4.4.7: cut 1.5 patchset
    
    Two new patches:
    98_all_libjava-ucontext.patch: fix libjava build on modern glibc
    99_all_cgraph_node-gcc-9.patch: workaround buid failure against gcc-9.1.0
    
    Bug: https://bugs.gentoo.org/629502
    Bug: https://gcc.gnu.org/PR90677
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 4.4.7/gentoo/README.history | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 29 Larry the Git Cow gentoo-dev 2019-06-01 09:31:26 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=eedcd9efa70c80deb2573b22d8fa0710126704b1

commit eedcd9efa70c80deb2573b22d8fa0710126704b1
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2019-06-01 09:30:01 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2019-06-01 09:30:01 +0000

    4.2.4: cut 1.6 patchset
    
    Three new patches:
    94_all_gcc-libgomp-no-werror.patch: disable -Werror on libgomp
    95_all_libjava-ucontext.patch: fix libjava build on modern glibc
    96_all_cgraph_node-gcc-9.patch: workaround buid failure against gcc-9.1.0
    
    Bug: https://bugs.gentoo.org/629502
    Bug: https://gcc.gnu.org/PR90677
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 4.2.4/gentoo/README.history | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 30 Larry the Git Cow gentoo-dev 2019-06-01 09:36:08 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=ecd6c999bfa8d4af432167b39d9a51f33735490f

commit ecd6c999bfa8d4af432167b39d9a51f33735490f
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2019-06-01 09:35:06 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2019-06-01 09:35:06 +0000

    4.1.2: cut 1.8 patchset
    
    Two new patches:
    97_all_libjava-ucontext.patch: fix libjava build on modern glibc
    98_all_cgraph_node-gcc-9.patch: workaround buid failure against gcc-9.1.0
    
    Bug: https://bugs.gentoo.org/629502
    Bug: https://gcc.gnu.org/PR90677
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 4.1.2/gentoo/README.history | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 31 Larry the Git Cow gentoo-dev 2019-06-01 09:40:23 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=72a6ba7e0eb98e9f0716d14a4152e1338a155de1

commit 72a6ba7e0eb98e9f0716d14a4152e1338a155de1
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2019-06-01 09:38:56 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2019-06-01 09:38:56 +0000

    4.1.2: cut 1.5 patchset
    
    Two new patches:
    87_all_libjava-ucontext.patch: fix libjava build on modern glibc
    88_all_cgraph_node-gcc-9.patch: workaround buid failure against gcc-9.1.0
    
    Bug: https://bugs.gentoo.org/629502
    Bug: https://gcc.gnu.org/PR90677
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 4.0.4/gentoo/README.history | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 32 Larry the Git Cow gentoo-dev 2019-06-01 10:10:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf8e042547d865ea8126c7bfc331dd0f12a71b34

commit bf8e042547d865ea8126c7bfc331dd0f12a71b34
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2019-06-01 09:46:42 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2019-06-01 10:10:32 +0000

    sys-devel/gcc: 4.0.4: cut 1.5 patchset
    
    Two new patches:
    87_all_libjava-ucontext.patch: fix libjava build on modern glibc
    88_all_cgraph_node-gcc-9.patch: workaround buid failure against gcc-9.1.0
    
    Closes: https://bugs.gentoo.org/629502
    Bug: https://gcc.gnu.org/PR90677
    Package-Manager: Portage-2.3.67, Repoman-2.3.13
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 sys-devel/gcc/Manifest            |  1 +
 sys-devel/gcc/gcc-4.0.4-r2.ebuild | 15 +++++++++++++++
 2 files changed, 16 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aeb306c9419b85eeb09a530057b0b7cf3960ea30

commit aeb306c9419b85eeb09a530057b0b7cf3960ea30
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2019-06-01 09:37:49 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2019-06-01 10:10:32 +0000

    sys-devel/gcc: 4.1.2: cut 1.8 patchset
    
    Two new patches:
    97_all_libjava-ucontext.patch: fix libjava build on modern glibc
    98_all_cgraph_node-gcc-9.patch: workaround buid failure against gcc-9.1.0
    
    Closes: https://bugs.gentoo.org/629502
    Bug: https://gcc.gnu.org/PR90677
    Package-Manager: Portage-2.3.67, Repoman-2.3.13
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 sys-devel/gcc/Manifest            |  1 +
 sys-devel/gcc/gcc-4.1.2-r2.ebuild | 29 +++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=379e62100d88311bd18eee263d968d4955dd44b2

commit 379e62100d88311bd18eee263d968d4955dd44b2
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2019-06-01 09:34:26 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2019-06-01 10:10:31 +0000

    sys-devel/gcc: 4.2.4: cut 1.6 patchset
    
    Three new patches:
    94_all_gcc-libgomp-no-werror.patch: disable -Werror on libgomp
    95_all_libjava-ucontext.patch: fix libjava build on modern glibc
    96_all_cgraph_node-gcc-9.patch: workaround buid failure against gcc-9.1.0
    
    Closes: https://bugs.gentoo.org/629502
    Bug: https://gcc.gnu.org/PR90677
    Package-Manager: Portage-2.3.67, Repoman-2.3.13
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 sys-devel/gcc/Manifest            |  1 +
 sys-devel/gcc/gcc-4.2.4-r3.ebuild | 17 +++++++++++++++++
 2 files changed, 18 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c253612b708cfb01f9fa792a2fc19538b1240666

commit c253612b708cfb01f9fa792a2fc19538b1240666
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2019-06-01 09:27:44 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2019-06-01 10:10:31 +0000

    sys-devel/gcc: 4.3.6: cut 1.4 patchset
    
    Two new patches:
    98_all_libjava-ucontext.patch: fix libjava build on modern glibc
    99_all_cgraph_node-gcc-9.patch: workaround buid failure against gcc-9.1.0
    
    Closes: https://bugs.gentoo.org/629502
    Bug: https://gcc.gnu.org/PR90677
    Package-Manager: Portage-2.3.67, Repoman-2.3.13
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 sys-devel/gcc/Manifest            |  1 +
 sys-devel/gcc/gcc-4.3.6-r3.ebuild | 28 ++++++++++++++++++++++++++++
 2 files changed, 29 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0af5628f8cbacec36aa8fbde03e25fedd5d2e400

commit 0af5628f8cbacec36aa8fbde03e25fedd5d2e400
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2019-06-01 09:24:28 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2019-06-01 10:10:31 +0000

    sys-devel/gcc: 4.4.7: cut 1.5 patchset
    
    Two new patches:
    98_all_libjava-ucontext.patch: fix libjava build on modern glibc
    99_all_cgraph_node-gcc-9.patch: workaround buid failure against gcc-9.1.0
    
    Closes: https://bugs.gentoo.org/629502
    Bug: https://gcc.gnu.org/PR90677
    Package-Manager: Portage-2.3.67, Repoman-2.3.13
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 sys-devel/gcc/Manifest            |  1 +
 sys-devel/gcc/gcc-4.4.7-r2.ebuild | 28 ++++++++++++++++++++++++++++
 2 files changed, 29 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eb5a512f39dc2f7b2d53d5e4d5d525a1df53f66

commit 3eb5a512f39dc2f7b2d53d5e4d5d525a1df53f66
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2019-06-01 09:11:02 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2019-06-01 10:10:31 +0000

    sys-devel/gcc: 4.5.4: cut 1.5 patchset
    
    Three new patches:
    101_all_libjava-ucontext.patch: fix libjava build on modern glibc
    102_all_cgraph_node-gcc-9.patch: workaround buid failure against gcc-9.1.0
    103_all_gcc-gperf-gnu-inline.patch: fix inline declaration for modern gcc
    
    Closes: https://bugs.gentoo.org/629502
    Bug: https://gcc.gnu.org/PR90677
    Package-Manager: Portage-2.3.67, Repoman-2.3.13
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 sys-devel/gcc/Manifest            |  1 +
 sys-devel/gcc/gcc-4.5.4-r2.ebuild | 29 +++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=901d47f9b9e2e987bfc4252e39dfcf78b5a0ef3c

commit 901d47f9b9e2e987bfc4252e39dfcf78b5a0ef3c
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2019-06-01 08:45:16 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2019-06-01 10:10:30 +0000

    sys-devel/gcc: 4.6.4: cut 1.5 patchset
    
    Three new patches:
    95_all_libjava-ucontext.patch: fix libjava build on modern glibc
    96_all_gcc-gperf-gnu-inline.patch: fix inline declaration for modern gcc
    97_all_cgraph_node-gcc-9.patch: workaround buid failure against gcc-9.1.0
    
    Closes: https://bugs.gentoo.org/629502
    Bug: https://gcc.gnu.org/PR90677
    Package-Manager: Portage-2.3.67, Repoman-2.3.13
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 sys-devel/gcc/Manifest            |  1 +
 sys-devel/gcc/gcc-4.6.4-r2.ebuild | 30 ++++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c804ef51e6ee9ddf02e838a547e0345464468a3

commit 4c804ef51e6ee9ddf02e838a547e0345464468a3
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2019-06-01 08:37:50 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2019-06-01 10:10:30 +0000

    sys-devel/gcc: 4.7.4: cut 1.6 patchset
    
    Single patch to fix libjava build on glibc-2.28
    (ucontext changes).
    
    Closes: https://bugs.gentoo.org/629502
    Package-Manager: Portage-2.3.67, Repoman-2.3.13
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 sys-devel/gcc/Manifest            |  1 +
 sys-devel/gcc/gcc-4.7.4-r3.ebuild | 47 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5251f3d97f0ec56ffd340e3977a4a7af7c82c80d

commit 5251f3d97f0ec56ffd340e3977a4a7af7c82c80d
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2019-06-01 08:33:35 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2019-06-01 10:10:30 +0000

    sys-devel/gcc: 4.8.5: cut 1.5 patchset
    
    Four new patches:
    96_all_stage1-ldflags.patch: fix LDFLAGS passing to STAGE1
    97_all_libjava-ucontext.patch: fix ucontext definition for glibc-2.28
    98_all_asan-signal_h.patch: fix signal declarations for glibc-2.28
    99_all_libsanitizer-res_state-glibc-2.28.patch: fix libsanitizer for glibc-2.28
    
    Closes: https://bugs.gentoo.org/629502
    Closes: https://bugs.gentoo.org/671568
    Package-Manager: Portage-2.3.67, Repoman-2.3.13
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 sys-devel/gcc/Manifest            |  1 +
 sys-devel/gcc/gcc-4.8.5-r3.ebuild | 47 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)