New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 856904 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Aug 17
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug
Build-Toolchain

Blocked on:
issue 868630



Sign in to add a comment

Update ChromeOS sys-libs/libcxx

Project Member Reported by tzik@chromium.org, Jun 27 2018

Issue description

ChromeOS is using libc++-4.0 [1], which is a year behind to the ToT, and that confuses Chromium build on C++17 mode [2].
Consider updating it to newer one.

1: https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/master/sys-libs/libcxx/
2: https://logs.chromium.org/v/?s=chromium%2Fbuildbucket%2Fcr-buildbucket.appspot.com%2F8942651846880127888%2F%2B%2Fsteps%2Fcompile__with_patch_%2F0%2Fstdout
# This is due to the implementation of std::optional comparison, that was not implemented as the final C++17 spec at that time.
 

Comment 1 by tzik@chromium.org, Jun 27 2018

Components: Build
Labels: OS-Chrome

Comment 2 by tzik@chromium.org, Jun 28 2018

Surprisingly, _LIBCPP_VERSION value in libc++-4.0.0-r12 package is 5000, though the code looks mostly like libc++4. That confuses a version detection-based workaround...

Comment 3 by tzik@chromium.org, Jun 28 2018

Cc: yunlian@chromium.org manojgupta@chromium.org
Components: Tools>ChromeOS-Toolchain
Components: -Build
Labels: -Pri-3 Pri-2
Owner: llozano@chromium.org
Status: Assigned (was: Untriaged)
Will plan to upgrade with next compiler roll which should happen soon after July 19th.


Cc: mbonadei@chromium.org
Project Member

Comment 7 by bugdroid1@chromium.org, Jul 6

Blockedon: 868630
Status: Fixed (was: Assigned)
Thanks! I confirmed that works perfectly.

Sign in to add a comment