New issue
Advanced search Search tips

need to upgrade glibc to glibc 2.27

Project Member Reported by yunlian@chromium.org, Apr 18 2018

Issue description

We want to upgrade glibc to glibc 2.27
 
Project Member

Comment 1 by bugdroid1@chromium.org, Apr 21 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/5dcf1a2a9bdb1a410c8aa5b4e63875c9bb02501c

commit 5dcf1a2a9bdb1a410c8aa5b4e63875c9bb02501c
Author: Yunlian Jiang <yunlian@chromium.org>
Date: Sat Apr 21 06:01:29 2018

glibc: add 'files' entry to nsswitch.conf

When trying to upgrade glibc to glibc 2.27, it complains that
there should be 'files' entry to nsswitch.conf. This fixes that.
For more details, please see
https://wiki.gentoo.org/wiki/Project:Toolchain/nsswitch.conf_in_glibc-2.26

BUG= chromium:834385 
TEST=sudo emerge glibc, /etc/nsswitch contains 'files' entry.

Change-Id: Iaaa918692182ca91c3390f2e801f600e060bf3ff
Reviewed-on: https://chromium-review.googlesource.com/1017588
Commit-Ready: Yunlian Jiang <yunlian@chromium.org>
Tested-by: Yunlian Jiang <yunlian@chromium.org>
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[add] https://crrev.com/5dcf1a2a9bdb1a410c8aa5b4e63875c9bb02501c/sys-libs/glibc/files/local/glibc-2.23-nsswitch_config.patch
[rename] https://crrev.com/5dcf1a2a9bdb1a410c8aa5b4e63875c9bb02501c/sys-libs/glibc/glibc-2.23-r18.ebuild

Project Member

Comment 2 by bugdroid1@chromium.org, Apr 24 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/9fc234631a841f4f332921f5a512d030b900d4c3

commit 9fc234631a841f4f332921f5a512d030b900d4c3
Author: Yunlian Jiang <yunlian@chromium.org>
Date: Tue Apr 24 13:22:30 2018

toolchain-funcs.eclass: pull upstream version.

When building glibc 2.27, it requires some function from newer
toolchain-funcs.eclass. This CL fulls upstream version.

BUG= chromium:834385 
TEST=cros tryjob chromiumos-sdk-tryjob

Change-Id: I5b5aaf20505f47a535600b835e0d234d10bda0b9
Reviewed-on: https://chromium-review.googlesource.com/1024665
Commit-Ready: Yunlian Jiang <yunlian@chromium.org>
Tested-by: Yunlian Jiang <yunlian@chromium.org>
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>

[modify] https://crrev.com/9fc234631a841f4f332921f5a512d030b900d4c3/eclass/toolchain-funcs.eclass

Project Member

Comment 3 by bugdroid1@chromium.org, Apr 26 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/82bac7ce39d1dd509dc38475a92ea3db188b215d

commit 82bac7ce39d1dd509dc38475a92ea3db188b215d
Author: Yunlian Jiang <yunlian@google.com>
Date: Thu Apr 26 06:00:46 2018

libcxx: remove xlocale.h include.

Glibc 2.26 removed xlocal.h
https://sourceware.org/glibc/wiki/Release/2.26
And this makes libcxx failed to build.
The following upstream patch fixed that.

commit 6e02e89f65ca1ca1d6ce30fbc557563164dd327e
Author: Eric Fiselier <eric@efcs.ca>
Date:   Thu Aug 3 04:28:10 2017 +0000

    Fix libcxx build with glibc 2.26+ by removing xlocale.h include.

    Patch by Khem Raj. Reviewed as D35697. Also see PR33729.

BUG= chromium:834385 
TEST=cros tryjob kevin-llvm-toolchain samus-llvm-toollchain

Change-Id: I33c8e4506017c9291483b4c9cf142d8fedd30274
Reviewed-on: https://chromium-review.googlesource.com/1028472
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Yunlian Jiang <yunlian@chromium.org>
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>

[rename] https://crrev.com/82bac7ce39d1dd509dc38475a92ea3db188b215d/sys-libs/libcxx/libcxx-4.0.0-r11.ebuild
[add] https://crrev.com/82bac7ce39d1dd509dc38475a92ea3db188b215d/sys-libs/libcxx/files/libcxx-4.0-xlocale.patch

Project Member

Comment 4 by bugdroid1@chromium.org, Apr 26 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/7d2d711232b7ef20c4042140b4ae7f1f139e5231

commit 7d2d711232b7ef20c4042140b4ae7f1f139e5231
Author: Yunlian Jiang <yunlian@google.com>
Date: Thu Apr 26 06:00:19 2018

gcc: disable libsanitizer.

glibc changed some header files and this makes gcc failed to build
libsantizer. As we don't use libsanitizer from gcc, it is safe to
remove it. If it really breaks something, then it means something
is wrong in somewhere else.

BUG= chromium:834385 
TEST=sudo emerge cross-aarch64-cros-linux-gnu/gcc with new glibc.

Change-Id: Ia69f3ed1437435f814ee7dc894c79a32e2a99495
Reviewed-on: https://chromium-review.googlesource.com/1028658
Commit-Ready: Yunlian Jiang <yunlian@chromium.org>
Tested-by: Yunlian Jiang <yunlian@chromium.org>
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
Reviewed-by: Luis Lozano <llozano@chromium.org>

[modify] https://crrev.com/7d2d711232b7ef20c4042140b4ae7f1f139e5231/sys-devel/gcc/gcc-9999.ebuild

Project Member

Comment 5 by bugdroid1@chromium.org, Apr 28 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/manifest/+/432fc2afc58bed4e1ffa53465b66cf289ae62f7c

commit 432fc2afc58bed4e1ffa53465b66cf289ae62f7c
Author: Yunlian Jiang <yunlian@google.com>
Date: Sat Apr 28 01:05:25 2018

manifest: Update GCC repository.

This gcc update includes two upstream patches that are needed to
build newer glibc.

BUG= chromium:834385 
TEST=chromiumos-sdk elm-llvm-toolchain samus-llvm-toolchain
     kevin-llvm-toolchain.

Change-Id: I209b1d94109635d820c5c583c2fa6460fd29fd07
Reviewed-on: https://chromium-review.googlesource.com/1031380
Commit-Ready: Yunlian Jiang <yunlian@chromium.org>
Tested-by: Yunlian Jiang <yunlian@chromium.org>
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>

[modify] https://crrev.com/432fc2afc58bed4e1ffa53465b66cf289ae62f7c/full.xml

Project Member

Comment 6 by bugdroid1@chromium.org, Apr 29 2018

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/chromeos/manifest-internal/+/b2e3353e2007e66171a56c25119ebba4c8bcfc3d

commit b2e3353e2007e66171a56c25119ebba4c8bcfc3d
Author: Yunlian Jiang <yunlian@google.com>
Date: Sun Apr 29 19:25:13 2018

Project Member

Comment 7 by bugdroid1@chromium.org, May 4 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/crosutils/+/f219bb3e06477d9953bcab170f5addd03eb3eb19

commit f219bb3e06477d9953bcab170f5addd03eb3eb19
Author: Yunlian Jiang <yunlian@google.com>
Date: Fri May 04 07:13:49 2018

make_chroot: makes newer glibc bootstrap.

The glibc in bootstrap sdk is glibc 2.19 and we hit
the bug describled in
https://wiki.gentoo.org/wiki/Project:Toolchain/nsswitch.conf_in_glibc-2.26.
This CL fixes that.

It also upgrade bison because newer glibc wants bison >= bison.2.7

BUG= chromium:834385 
TEST=cros_sdk --bootstrap works with glibc 2.27

Change-Id: Iaa5c481769c2541e6948ab5faf7074be885298a0
Reviewed-on: https://chromium-review.googlesource.com/1036536
Commit-Ready: Yunlian Jiang <yunlian@chromium.org>
Tested-by: Yunlian Jiang <yunlian@chromium.org>
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[modify] https://crrev.com/f219bb3e06477d9953bcab170f5addd03eb3eb19/sdk_lib/make_chroot.sh

Blockedon: 840016
Blockedon: 840032
Project Member

Comment 10 by bugdroid1@chromium.org, May 8 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/portage-stable/+/87625ca1f2b4a140aaae17f4eed98e6ac0581e7d

commit 87625ca1f2b4a140aaae17f4eed98e6ac0581e7d
Author: Yunlian Jiang <yunlian@google.com>
Date: Tue May 08 11:58:03 2018

make: update to make 4.2.1-r3

This updates make to 4.2.1-r3 from upstream gentoo to have it builds
with glibc 2.27.

BUG= chromium:834385 
TEST=cros tryjob chromiumos-sdk
     emerge make with glibc 2.27

Change-Id: Iba7f6ee94b589de1f7ffd6c99cc3cbdbb5463aec
Reviewed-on: https://chromium-review.googlesource.com/1045508
Commit-Ready: Yunlian Jiang <yunlian@chromium.org>
Tested-by: Yunlian Jiang <yunlian@chromium.org>
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[add] https://crrev.com/87625ca1f2b4a140aaae17f4eed98e6ac0581e7d/sys-devel/make/files/make-4.2-default-cxx.patch
[add] https://crrev.com/87625ca1f2b4a140aaae17f4eed98e6ac0581e7d/sys-devel/make/files/make-4.2.1-glob-v2.patch
[add] https://crrev.com/87625ca1f2b4a140aaae17f4eed98e6ac0581e7d/sys-devel/make/files/make-4.2.1-glob-internals.patch
[rename] https://crrev.com/87625ca1f2b4a140aaae17f4eed98e6ac0581e7d/sys-devel/make/make-4.2.1-r3.ebuild
[modify] https://crrev.com/87625ca1f2b4a140aaae17f4eed98e6ac0581e7d/sys-devel/make/Manifest
[modify] https://crrev.com/87625ca1f2b4a140aaae17f4eed98e6ac0581e7d/sys-devel/make/files/make-3.82-darwin-library_search-dylib.patch
[add] https://crrev.com/87625ca1f2b4a140aaae17f4eed98e6ac0581e7d/sys-devel/make/files/make-4.2.1-perl526.patch
[add] https://crrev.com/87625ca1f2b4a140aaae17f4eed98e6ac0581e7d/sys-devel/make/files/make-4.2.1-guile-2.2.patch

Blockedon: 843822
Blockedon: 846025
Blockedon: 846387
Blockedon: 846398
Blockedon: 848915
Blockedon: 849964
Blockedon: 859225
Blockedon: 859528
Blockedon: 859533
Blockedon: 859545
Blockedon: 859548
Blockedon: 859593
Blockedon: 859953
Blockedon: 860065
Blockedon: 861638
Blockedon: 861642
Blockedon: 861776
Blockedon: 862240
Blockedon: 862381
Blockedon: 864587
Blockedon: 865082
Blockedon: 865304
Blockedon: 865306
Blockedon: 865506
Blockedon: 865517
Blockedon: 866992
Status: Assigned (was: Untriaged)
This bug has an owner, thus, it's been triaged. Changing status to "assigned".
Blockedon: 894587
Blockedon: 894614
Blockedon: 894700
Cc: vaibhav....@intel.corp-partner.google.com michael....@intel.corp-partner.google.com
Blockedon: 894859
Blockedon: 894936
Blockedon: 894962
Blockedon: 895460
Blockedon: 895481
Blockedon: 895954
Blockedon: 896372
Blockedon: 897951
Blockedon: 898516
Owner: manojgupta@chromium.org
Project Member

Comment 52 by bugdroid1@chromium.org, Oct 26

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/8e136446b4fdb4cd042d26ffe6a162595adc0bc6

commit 8e136446b4fdb4cd042d26ffe6a162595adc0bc6
Author: Yunlian Jiang <yunlian@google.com>
Date: Fri Oct 26 19:14:56 2018

Change the dependency of system-locales.

The system-locales requires exactly the same version as glibc. However,
we could not upgrade glibc and system-locales in the same time. This is
because the glibc is built by the sdk bot, but the system-locales is
built for the target. If we upgrade these two package at the same time,
in the commit queue buildbot, the buildbot will try to build glibc for
target and it will fail. So glibc and system-locales can fall out of
sync during an upgrade.

This also make system-locales work even glibc version is greater than 2.24.
We can work on a better ebuild file after glibc lands.

BUG= chromium:834385 
TEST=cbuildbot

Change-Id: I705b5d63a1cec0634ec2468bf9acac7cc82874d5
Reviewed-on: https://chromium-review.googlesource.com/1299576
Commit-Ready: Yunlian Jiang <yunlian@chromium.org>
Tested-by: Yunlian Jiang <yunlian@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[rename] https://crrev.com/8e136446b4fdb4cd042d26ffe6a162595adc0bc6/chromeos-base/system-locales/system-locales-2.23-r1.ebuild

Blockedon: 899377
Blockedon: 899496
Blockedon: 899567
Project Member

Comment 56 by bugdroid1@chromium.org, Oct 29

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/066fb346f87ba5f80e2a848696647d5d13fce51f

commit 066fb346f87ba5f80e2a848696647d5d13fce51f
Author: George Burgess IV <gbiv@chromium.org>
Date: Mon Oct 29 11:15:06 2018

Update FORTIFY tests for glibc 2.27

The new version of glibc sees a few error message tweaks, and we're able
to catch bugs at compile-time on a few new functions.

BUG= chromium:834385 
TEST=CXX=clang++ CC=clang make check && yunlian's trybots.

Change-Id: Ifff8c47c858d9322d7d4b1a7b3cb617f33bd0536
Reviewed-on: https://chromium-review.googlesource.com/1139076
Commit-Ready: Yunlian Jiang <yunlian@chromium.org>
Tested-by: Yunlian Jiang <yunlian@chromium.org>
Reviewed-by: Yunlian Jiang <yunlian@chromium.org>

[modify] https://crrev.com/066fb346f87ba5f80e2a848696647d5d13fce51f/client/site_tests/platform_ToolchainTests/src/clang-fortify-tests.cpp

Blockedon: 899913
Blockedon: 900028
Blockedon: -900028
Project Member

Comment 60 by bugdroid1@chromium.org, Nov 7

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/8565770c32c59d1d309b14578cae98b588fff58e

commit 8565770c32c59d1d309b14578cae98b588fff58e
Author: Manoj Gupta <manojgupta@google.com>
Date: Wed Nov 07 19:40:53 2018

python: Backport patch: Do not use getentropy on Linux.

Backport upstream fix for glibc 2.24 for python 2.7.17.
Had to be modified from original patch for applying to
python 2.7.10 in Chrome OS.

Original patch details:

https://hg.python.org/cpython/rev/13a39142c047

Don't use getentropy() on Linux

 Issue #29188 : Support glibc 2.24 on Linux: don't use getentropy()
function but
read from /dev/urandom to get random bytes, for example in
os.urandom().  On
Linux, getentropy() is implemented which getrandom() is blocking mode,
whereas
os.urandom() should not block. [#29188]
author	Victor Stinner <victor.stinner@gmail.com>
date	Mon, 09 Jan 2017 11:10:41 +0100 (22 months ago)

BUG= chromium:834385 
BUG= chromium:902371 
TEST=graphics_webGLAquarium passes on peach_pit with glibc 2.27

Change-Id: Ic9f57373a5b8867ba16dfefa5dba2227474c7922
Reviewed-on: https://chromium-review.googlesource.com/1318314
Commit-Ready: Manoj Gupta <manojgupta@chromium.org>
Tested-by: Manoj Gupta <manojgupta@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Yunlian Jiang <yunlian@chromium.org>

[rename] https://crrev.com/8565770c32c59d1d309b14578cae98b588fff58e/dev-lang/python/python-2.7.10-r5.ebuild
[add] https://crrev.com/8565770c32c59d1d309b14578cae98b588fff58e/dev-lang/python/files/python-2.7.17-getentropy.patch
[modify] https://crrev.com/8565770c32c59d1d309b14578cae98b588fff58e/dev-lang/python/python-2.7.10.ebuild

Project Member

Comment 61 by bugdroid1@chromium.org, Nov 8

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/9d66f4e2e1ce5f748ff99372c218e8a34770f893

commit 9d66f4e2e1ce5f748ff99372c218e8a34770f893
Author: Yunlian Jiang <yunlian@google.com>
Date: Thu Nov 08 20:14:08 2018

This rolls glibc to 2.27.

Differences from upstream:

six local patches:
glibc-2.19-arm-memcpy.patch
glibc-2.23-dlopen.patch
glibc-2.23-set-ld.patch
glibc-2.23-sht_relr.patch
glibc-2.27-clang-fortify.patch
glibc-2.27-disable-float128.patch

Reverted one upstream patch:
glibc-2.23-fortify-warning.patch

appended-cflags "-ggdb" and export SYSROOT="" in setup_target_flags()
configure whith --with-bugurl=http://crbug.com/new
configure with -stack-protector=strong instead of -stack-protector=all
remove /usr/lib*/{locale, share} for cross build.

added another use flags crosscompile_opts_headers-only to make it
compatable with current crossdev.

Test logs: https://docs.google.com/spreadsheets/d/1mWbQX2Gnh886F7u1C_Zy964UcZtH-VQCNUFsfZVjQAs/edit?usp=sharing

BUG= chromium:834385 
TEST=see test logs

Change-Id: Ibe9b3d55e31f3a10181e2632e1609fd57748addb
Reviewed-on: https://chromium-review.googlesource.com/c/1296797
Tested-by: Manoj Gupta <manojgupta@chromium.org>
Trybot-Ready: Manoj Gupta <manojgupta@chromium.org>
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>

[delete] https://crrev.com/2191836fcdf0e732daa203f3e84e418740e5227f/sys-libs/glibc/files/eblits/common.eblit
[delete] https://crrev.com/2191836fcdf0e732daa203f3e84e418740e5227f/sys-libs/glibc/files/eblits/src_unpack.eblit
[delete] https://crrev.com/2191836fcdf0e732daa203f3e84e418740e5227f/sys-libs/glibc/files/local/glibc-2.23-empty-token.patch
[delete] https://crrev.com/2191836fcdf0e732daa203f3e84e418740e5227f/sys-libs/glibc/files/2.19/glibc-2.19-ia64-gcc-4.8-reloc-hack.patch
[delete] https://crrev.com/2191836fcdf0e732daa203f3e84e418740e5227f/sys-libs/glibc/files/local/glibc-2.23-arm-fpu_control.patch
[delete] https://crrev.com/2191836fcdf0e732daa203f3e84e418740e5227f/sys-libs/glibc/files/local/glibc-2.23-getcwd.patch
[delete] https://crrev.com/2191836fcdf0e732daa203f3e84e418740e5227f/sys-libs/glibc/files/local/glibc-2.23-bits-socket-linux-4.7.patch
[delete] https://crrev.com/2191836fcdf0e732daa203f3e84e418740e5227f/sys-libs/glibc/files/eblits/pkg_postinst.eblit
[delete] https://crrev.com/2191836fcdf0e732daa203f3e84e418740e5227f/sys-libs/glibc/files/local/glibc-2.23-long_jmp.patch
[delete] https://crrev.com/2191836fcdf0e732daa203f3e84e418740e5227f/sys-libs/glibc/files/eblits/pkg_pretend.eblit
[delete] https://crrev.com/2191836fcdf0e732daa203f3e84e418740e5227f/sys-libs/glibc/files/eblits/pkg_setup.eblit
[delete] https://crrev.com/2191836fcdf0e732daa203f3e84e418740e5227f/sys-libs/glibc/files/local/glibc-2.23-i386-memmove.patch
[delete] https://crrev.com/2191836fcdf0e732daa203f3e84e418740e5227f/sys-libs/glibc/files/local/glibc-2.23-bits-socket-linux-4.6.patch
[add] https://crrev.com/9d66f4e2e1ce5f748ff99372c218e8a34770f893/sys-libs/glibc/files/local/glibc-2.27-disable-float128.patch
[delete] https://crrev.com/2191836fcdf0e732daa203f3e84e418740e5227f/sys-libs/glibc/files/eblits/src_compile.eblit
[delete] https://crrev.com/2191836fcdf0e732daa203f3e84e418740e5227f/sys-libs/glibc/files/local/glibc-2.23-ld-library-path-suid.patch
[modify] https://crrev.com/9d66f4e2e1ce5f748ff99372c218e8a34770f893/sys-libs/glibc/Manifest
[modify] https://crrev.com/9d66f4e2e1ce5f748ff99372c218e8a34770f893/sys-libs/glibc/metadata.xml
[delete] https://crrev.com/2191836fcdf0e732daa203f3e84e418740e5227f/sys-libs/glibc/glibc-2.23-r21.ebuild
[delete] https://crrev.com/2191836fcdf0e732daa203f3e84e418740e5227f/sys-libs/glibc/files/nsswitch.conf
[delete] https://crrev.com/2191836fcdf0e732daa203f3e84e418740e5227f/sys-libs/glibc/files/local/glibc-2.23-net-if_arp.patch
[delete] https://crrev.com/2191836fcdf0e732daa203f3e84e418740e5227f/sys-libs/glibc/files/eblits/src_prepare.eblit
[delete] https://crrev.com/2191836fcdf0e732daa203f3e84e418740e5227f/sys-libs/glibc/files/eblits/pkg_preinst.eblit
[delete] https://crrev.com/2191836fcdf0e732daa203f3e84e418740e5227f/sys-libs/glibc/files/eblits/src_test.eblit
[delete] https://crrev.com/2191836fcdf0e732daa203f3e84e418740e5227f/sys-libs/glibc/files/local/glibc-2.23-nsswitch_config.patch
[delete] https://crrev.com/2191836fcdf0e732daa203f3e84e418740e5227f/sys-libs/glibc/files/local/glibc-2.23-ld-hwcap-mask-suid.patch
[add] https://crrev.com/9d66f4e2e1ce5f748ff99372c218e8a34770f893/sys-libs/glibc/files/glibc-locale-gen.patch
[delete] https://crrev.com/2191836fcdf0e732daa203f3e84e418740e5227f/sys-libs/glibc/files/local/glibc-2.23-file-mangle.patch
[delete] https://crrev.com/2191836fcdf0e732daa203f3e84e418740e5227f/sys-libs/glibc/files/nscd
[add] https://crrev.com/9d66f4e2e1ce5f748ff99372c218e8a34770f893/sys-libs/glibc/glibc-2.27-r6.ebuild
[delete] https://crrev.com/2191836fcdf0e732daa203f3e84e418740e5227f/sys-libs/glibc/files/2.20/glibc-2.20-gentoo-stack_chk_fail.c
[delete] https://crrev.com/2191836fcdf0e732daa203f3e84e418740e5227f/sys-libs/glibc/files/eblits/src_install.eblit
[rename] https://crrev.com/9d66f4e2e1ce5f748ff99372c218e8a34770f893/sys-libs/glibc/files/local/glibc-2.27-clang-fortify.patch
[delete] https://crrev.com/2191836fcdf0e732daa203f3e84e418740e5227f/sys-libs/glibc/files/2.20/glibc-2.20-gentoo-chk_fail.c
[delete] https://crrev.com/2191836fcdf0e732daa203f3e84e418740e5227f/sys-libs/glibc/files/eblits/src_configure.eblit

Project Member

Comment 62 by bugdroid1@chromium.org, Nov 9

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/4189b248f7ef960d7b60c9c0837f073581c8827a

commit 4189b248f7ef960d7b60c9c0837f073581c8827a
Author: Manoj Gupta <manojgupta@google.com>
Date: Fri Nov 09 18:04:09 2018

target-chromium-os-sdk: Force glibc update in chroot.

For some reason, update_chroot is not updating the glibc
in chroot when running ./update_chroot.

BUG= chromium:834385 
TEST=glibc is upgraded.

Change-Id: I206408fd0d8885ede020a5192dcab3af1ae704bc
Reviewed-on: https://chromium-review.googlesource.com/c/1329581
Commit-Queue: Manoj Gupta <manojgupta@chromium.org>
Tested-by: Manoj Gupta <manojgupta@chromium.org>
Trybot-Ready: Manoj Gupta <manojgupta@chromium.org>
Reviewed-by: Luis Lozano <llozano@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[modify] https://crrev.com/4189b248f7ef960d7b60c9c0837f073581c8827a/virtual/target-chromium-os-sdk/target-chromium-os-sdk-1.ebuild
[rename] https://crrev.com/4189b248f7ef960d7b60c9c0837f073581c8827a/virtual/target-chromium-os-sdk/target-chromium-os-sdk-1-r121.ebuild

Labels: OS-Chrome
Project Member

Comment 64 by bugdroid1@chromium.org, Nov 12

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/chromite/+/cb830a07e835bba7493dad0ae529be5b2ccfb8a1

commit cb830a07e835bba7493dad0ae529be5b2ccfb8a1
Author: Yunlian Jiang <yunlian@google.com>
Date: Mon Nov 12 05:41:40 2018

generic_stages: temporarily ignore all target prebuilts.

Ignore the target prebuilts and rebuild packages from source.
We just updated glibc sp we want to clear all the prebuilts now.

This is a temporary CL. Revert this CL once in has participated in
a green CQ run. This process is documented at:

https://sites.google.com/a/google.com/chromeos/for-team-members/infrastructure/chromeos-admin/clear_binaries

BUG= chromium:834385 
TEST='./cbuildbot/run_tests' passed.

Change-Id: I43488a1b83a43cbc7053e0727166ffe6170e8a8f
Reviewed-on: https://chromium-review.googlesource.com/c/1330042
Reviewed-by: Drew Davenport <ddavenport@chromium.org>
Tested-by: Manoj Gupta <manojgupta@chromium.org>
Commit-Queue: Manoj Gupta <manojgupta@chromium.org>

[modify] https://crrev.com/cb830a07e835bba7493dad0ae529be5b2ccfb8a1/lib/sysroot_lib.py
[modify] https://crrev.com/cb830a07e835bba7493dad0ae529be5b2ccfb8a1/cbuildbot/stages/build_stages_unittest.py
[modify] https://crrev.com/cb830a07e835bba7493dad0ae529be5b2ccfb8a1/cbuildbot/stages/generic_stages.py
[modify] https://crrev.com/cb830a07e835bba7493dad0ae529be5b2ccfb8a1/lib/config_lib.py
[modify] https://crrev.com/cb830a07e835bba7493dad0ae529be5b2ccfb8a1/config/config_dump.json

Status: Fixed (was: Assigned)
Glibc 2.27 Roll is done!
Project Member

Comment 66 by bugdroid1@chromium.org, Nov 15

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/crosutils/+/18c3bc848e6767be302fe13b0b9381d6314bed9b

commit 18c3bc848e6767be302fe13b0b9381d6314bed9b
Author: Mike Frysinger <vapier@chromium.org>
Date: Thu Nov 15 10:16:56 2018

chroot_version_hooks: clean up old glibc headers

Newer glibc versions have dropped some header files.  Make sure we
prune the headers from the older glibc so packages don't get confused.

BUG= chromium:834385 
TEST=`run_chroot_version_hooks` pruned headers from my boards, but left installed rpc packages alone

Change-Id: I4ba89ed0530d03c613e895ff7bb52d0323cef329
Reviewed-on: https://chromium-review.googlesource.com/1335861
Commit-Ready: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>

[add] https://crrev.com/18c3bc848e6767be302fe13b0b9381d6314bed9b/chroot_version_hooks.d/159_glibc_headers

Project Member

Comment 67 by bugdroid1@chromium.org, Nov 15

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/chromite/+/d09518789d3fb6ca2f1a3a10d1e54b93ac7b6ac9

commit d09518789d3fb6ca2f1a3a10d1e54b93ac7b6ac9
Author: Manoj Gupta <manojgupta@chromium.org>
Date: Thu Nov 15 15:19:27 2018

Revert "generic_stages: temporarily ignore all target prebuilts."

Reason for revert: CQ had a green run and upoloaded new prebuilts.

Original change's description:
> generic_stages: temporarily ignore all target prebuilts.
> 
> Ignore the target prebuilts and rebuild packages from source.
> We just updated glibc sp we want to clear all the prebuilts now.
> 
> This is a temporary CL. Revert this CL once in has participated in
> a green CQ run. This process is documented at:
> 
> https://sites.google.com/a/google.com/chromeos/for-team-members/infrastructure/chromeos-admin/clear_binaries
> 
> BUG= chromium:834385 
> TEST='./cbuildbot/run_tests' passed.
> 
> Change-Id: I43488a1b83a43cbc7053e0727166ffe6170e8a8f
> Reviewed-on: https://chromium-review.googlesource.com/c/1330042
> Reviewed-by: Drew Davenport <ddavenport@chromium.org>
> Tested-by: Manoj Gupta <manojgupta@chromium.org>
> Commit-Queue: Manoj Gupta <manojgupta@chromium.org>

Bug:  chromium:834385 
Change-Id: I0f143b23cf242dbdb30b5c22c00cac248faea338
Reviewed-on: https://chromium-review.googlesource.com/c/1331767
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
Trybot-Ready: Manoj Gupta <manojgupta@chromium.org>
Tested-by: Manoj Gupta <manojgupta@chromium.org>

[modify] https://crrev.com/d09518789d3fb6ca2f1a3a10d1e54b93ac7b6ac9/lib/sysroot_lib.py
[modify] https://crrev.com/d09518789d3fb6ca2f1a3a10d1e54b93ac7b6ac9/cbuildbot/stages/build_stages_unittest.py
[modify] https://crrev.com/d09518789d3fb6ca2f1a3a10d1e54b93ac7b6ac9/cbuildbot/stages/generic_stages.py
[modify] https://crrev.com/d09518789d3fb6ca2f1a3a10d1e54b93ac7b6ac9/lib/config_lib.py
[modify] https://crrev.com/d09518789d3fb6ca2f1a3a10d1e54b93ac7b6ac9/config/config_dump.json

Project Member

Comment 68 by bugdroid1@chromium.org, Nov 19

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/c73c57c30336cdbae5903db7a9479a2d14c5e205

commit c73c57c30336cdbae5903db7a9479a2d14c5e205
Author: Yunlian Jiang <yunlian@google.com>
Date: Mon Nov 19 15:09:17 2018

toolchain-test: enable tests for glibc 2.27

This enables toolchain-test for glibc 2.27.

BUG= chromium:834385 
TEST=eve-release

Change-Id: Id2415ac47e1d1349fbbf048bb0cc371b0b4c678c
Reviewed-on: https://chromium-review.googlesource.com/1304994
Commit-Ready: Manoj Gupta <manojgupta@chromium.org>
Tested-by: Manoj Gupta <manojgupta@chromium.org>
Tested-by: Yunlian Jiang <yunlian@chromium.org>
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>

[modify] https://crrev.com/c73c57c30336cdbae5903db7a9479a2d14c5e205/chromeos-base/toolchain-tests/toolchain-tests-9999.ebuild

Sign in to add a comment