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

Issue 849964 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Last visit > 30 days ago
Closed: Jun 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug
Build-Toolchain

Blocking:
issue 834385



Sign in to add a comment

libgcc cannot be built with glibc 2.27

Project Member Reported by yunlian@chromium.org, Jun 6 2018

Issue description

With glibc 2.27, I got the following error when building libgcc.

mv -f .deps/asan_malloc_mac.Tpo .deps/asan_malloc_mac.Plo
/mnt/host/source/src/third_party/../aosp/toolchain/gcc/gcc-4.9/libsanitizer/asan/asan_linux.cc: In function 'bool __asan::AsanInterceptsSignal(int)':
/mnt/host/source/src/third_party/../aosp/toolchain/gcc/gcc-4.9/libsanitizer/asan/asan_linux.cc:107:20: error: 'SIGSEGV' was not declared in this scope
   return signum == SIGSEGV && flags()->handle_segv;
                    ^
/mnt/host/source/src/third_party/../aosp/toolchain/gcc/gcc-4.9/libsanitizer/asan/asan_linux.cc:108:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

 
Project Member

Comment 1 by bugdroid1@chromium.org, Jun 7 2018

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

commit aa5f4fef42ee0f083e7c294844ec086a811a9f57
Author: Yunlian Jiang <yunlian@google.com>
Date: Thu Jun 07 15:36:03 2018

libgcc: disable libsanitizer.

This disables libsanitizer for ligcc because we don't use it and
we cannot build it with glibc 2.27

BUG= chromium:849964 
TEST=emerge-kevin gcc-libs works with glibc 2.27

Change-Id: Ie224fa2c3ae1ac650c535b50d2e6e81ae6524ef6
Reviewed-on: https://chromium-review.googlesource.com/1088317
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>

[modify] https://crrev.com/aa5f4fef42ee0f083e7c294844ec086a811a9f57/sys-libs/gcc-libs/gcc-libs-9999.ebuild

Status: Verified (was: Untriaged)
Project Member

Comment 3 by bugdroid1@chromium.org, Nov 13

Sign in to add a comment