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

Issue 868033 link

Starred by 2 users

Issue metadata

Status: Unconfirmed
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Emerging gettext 0.19.8.1 fails with clang: error: redeclaration of 'getcwd' must have the 'overloadable' attribute

Project Member Reported by vmreyes@google.com, Jul 26

Issue description

Chrome Version: <69.0.3464.0>
Chrome OS Version: <10799.0.2018_06_19_1616>
Chrome OS Platform: <GOOGLE-EVE>

Please specify Cr-* of the system to which this bug/feature applies (add
the label below).
Cr-OS-Installer

Steps To Reproduce:
(1) Attempt to emerge-eve gettext.


Expected Result:
Gettext compiles and successfully emerges.

What happens instead of that?
Gettext emerge fails at the compile phase.

Build log included.
 
 
build.log
163 KB View Download
Cc: yunlian@chromium.org vapier@chromium.org manojgupta@chromium.org
Components: OS>Packages
Labels: allpublic
Summary: Emerging gettext 0.19.8.1 fails with clang: error: redeclaration of 'getcwd' must have the 'overloadable' attribute (was: Emerging gettext 0.19.8.1 fails on Eve)
../../../gettext-0.19.8.1/gettext-runtime/intl/dcigettext.c:147:7: error: redeclaration of 'getcwd' must have the 'overloadable' attribute
char *getcwd ();
      ^
../../../../../../../../usr/include/bits/unistd.h:158:8: note: previous overload of function is here
__NTH (getcwd (char *const __clang_pass_object_size __buf, size_t __size))

does look like the source is buggy

i wonder how it works currently ?  are we just not building gettext for the target ?  i guess it doesn't matter that much once https://chromium-review.googlesource.com/1151753 lands as we won't be building gettext for the board at all.
Cc: saludlemus@google.com tbroch@chromium.org bleung@chromium.org

Sign in to add a comment