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

Issue 846025 link

Starred by 2 users

Issue metadata

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

Blocking:
issue 834385



Sign in to add a comment

kbuild: failed to build with glibc 2.27

Project Member Reported by yunlian@chromium.org, May 23 2018

Issue description

With glibc 2.27
sudo emerge kbuild

r.o fts.o setmode.o strmode.o strlcpy.o osdep.o kbuild_protection.o kbuild_version.o glob/libglob.a  
chmod.o: In function `kmk_builtin_chmod':
chmod.c:(.text+0x195): warning: lchmod is not implemented and will always fail
glob/libglob.a(glob.o): In function `glob':
glob.c:(.text+0x3c7): undefined reference to `__alloca'
glob.c:(.text+0x571): undefined reference to `__alloca'
glob.c:(.text+0x5f9): undefined reference to `__alloca'
glob.c:(.text+0x7be): undefined reference to `__alloca'
glob/libglob.a(glob.o): In function `glob_in_dir':
glob.c:(.text+0x121d): undefined reference to `__alloca'
glob/libglob.a(glob.o):glob.c:(.text+0x1376): more undefined references to `__alloca' follow
 
Project Member

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

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

commit 675c3cdc9f6b87639148d09801ca3874f06c15db
Author: Yunlian Jiang <yunlian@google.com>
Date: Sun Jun 17 00:09:06 2018

automake: upgrade to 1.15.1-r2

This pulls Gentoo upstream automake-1.15.1-r2 over. We need this
because we want to upgrade kbuild so that kbuild can be built
with glibc 2.27.
Difference from upstream:
Change EAPI to 5
Add epatch "${PATCHES[@]}" to apply patches.

CL:1101652 removes all the older version of automake. That might cause
some problems. This one just adds the new version.

BUG= chromium:846025 
TEST=sudo emerge automake
     cros tryjob chromiumos-sdk-tryjob

Change-Id: I214f0bde47510e8e772b8ac8dfbcd890e9ca7bd3
Reviewed-on: https://chromium-review.googlesource.com/1101901
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/675c3cdc9f6b87639148d09801ca3874f06c15db/sys-devel/automake/Manifest
[add] https://crrev.com/675c3cdc9f6b87639148d09801ca3874f06c15db/sys-devel/automake/automake-1.15.1-r2.ebuild
[add] https://crrev.com/675c3cdc9f6b87639148d09801ca3874f06c15db/sys-devel/automake/files/automake-1.15-install-sh-avoid-low-risk-race-in-tmp.patch

Project Member

Comment 2 by bugdroid1@chromium.org, Jun 17 2018

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

commit 9092170c1c1a7f2c44aaa823f7282e39f84692a2
Author: Yunlian Jiang <yunlian@google.com>
Date: Sun Jun 17 17:28:47 2018

chromium-os-sdk: add new automake

This adds a new version of automake to target-chromium-os-sdk.

CQ-DEPEND=CL:1101901
BUG= chromium:846025 
TEST=cros tryjob chromiumos-sdk

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

[rename] https://crrev.com/9092170c1c1a7f2c44aaa823f7282e39f84692a2/virtual/target-chromium-os-sdk/target-chromium-os-sdk-1-r115.ebuild
[modify] https://crrev.com/9092170c1c1a7f2c44aaa823f7282e39f84692a2/virtual/target-chromium-os-sdk/target-chromium-os-sdk-1.ebuild

Project Member

Comment 3 by bugdroid1@chromium.org, Jun 19 2018

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

commit 21d8c2db08765065b9e28c506254ed1a3cce0c2f
Author: Yunlian Jiang <yunlian@google.com>
Date: Tue Jun 19 04:14:29 2018

kbuild: upgrade to r3149

This pulls upstream  kbuild-0.1.9998.3149 to make it builds with
new glibc.

CL-DEPEND=CL:1101901
BUG= chromium:846025 
TEST=cros tryjob chromiumos-sdk
     sudo emerge kbuild with glibc 2.27

Change-Id: I6eb6cb5db827802b7f79f32e86050685fb1186b8
Reviewed-on: https://chromium-review.googlesource.com/1102659
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/21d8c2db08765065b9e28c506254ed1a3cce0c2f/dev-util/kbuild/metadata.xml
[add] https://crrev.com/21d8c2db08765065b9e28c506254ed1a3cce0c2f/dev-util/kbuild/files/kbuild-0.1.9998_pre20171020-gold.patch
[delete] https://crrev.com/53e4cde58fa5583aec39218a674756e49a476462/dev-util/kbuild/files/kbuild-0.1.9998_pre20110817-gold.patch
[delete] https://crrev.com/53e4cde58fa5583aec39218a674756e49a476462/dev-util/kbuild/files/kbuild-glibc-2.10.patch
[delete] https://crrev.com/53e4cde58fa5583aec39218a674756e49a476462/dev-util/kbuild/files/kbuild-0.1.9998_pre20110817-gcc-4.7.patch
[delete] https://crrev.com/53e4cde58fa5583aec39218a674756e49a476462/dev-util/kbuild/kbuild-0.1.9998_pre20131130.ebuild
[modify] https://crrev.com/21d8c2db08765065b9e28c506254ed1a3cce0c2f/dev-util/kbuild/files/kbuild-unknown-configure-opt.patch
[modify] https://crrev.com/21d8c2db08765065b9e28c506254ed1a3cce0c2f/dev-util/kbuild/Manifest
[modify] https://crrev.com/21d8c2db08765065b9e28c506254ed1a3cce0c2f/dev-util/kbuild/files/kbuild-0.1.5-gentoo-docdir.patch
[add] https://crrev.com/21d8c2db08765065b9e28c506254ed1a3cce0c2f/dev-util/kbuild/kbuild-0.1.9998.3149.ebuild

Status: Verified (was: Untriaged)

Sign in to add a comment