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

Issue 611202 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

gdb 7.11 : failed to build with -clang-syntax

Project Member Reported by yunlian@chromium.org, May 11 2016

Issue description

emerge-falco gdb (with gdb 7.11)

/usr/bin/../lib64/clang/3.8.0/include/__stddef_max_align_t.h:40:3: note: previous definition is here
} max_align_t;
  ^
In file included from ../.././gnulib/import/stripslash.c:21:
In file included from ../.././gnulib/import/dirname.h:23:
./stddef.h:104:3: error: typedef redefinition with different types ('union max_align_t' vs 'struct max_align_t')
} max_align_t;
  ^
/usr/bin/../lib64/clang/3.8.0/include/__stddef_max_align_t.h:40:3: note: previous definition is here
} max_align_t;
  ^
1 error generated.

 
Project Member

Comment 1 by bugdroid1@chromium.org, May 12 2016

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

commit 508feb74b1de26538e11d02d5e73f15a3ae4546b
Author: Yunlian Jiang <yunlian@google.com>
Date: Wed May 11 21:19:36 2016

gdb: disable clang-syntax checking.

The build fails w/max_align_t namespace clashes.

BUG= chromium:611202 
TEST=emerge-falco gdb passes.

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

[add] https://crrev.com/508feb74b1de26538e11d02d5e73f15a3ae4546b/chromeos/config/env/sys-devel/gdb

Status: Fixed (was: Untriaged)
Status: Verified (was: Fixed)

Sign in to add a comment