Skip to content

Error building envoy on ppc64le #12097

@rashmi-ibm

Description

@rashmi-ibm

Installed Dependencies with version:-

[root@d7f1b4d1bfca /]# gcc --version
gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[root@d7f1b4d1bfca /]# g++ --version
g++ (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[root@d7f1b4d1bfca /]#
[root@d7f1b4d1bfca /]# go version
go version go1.13.5 linux/ppc64le
[root@d7f1b4d1bfca /]# bazel --version
bazel 3.4.0- (@Non-Git)
[root@d7f1b4d1bfca /]# ninja --version
1.8.2
[root@d7f1b4d1bfca /]# python --version
Python 3.6.8

Build command:-
bazel build -c opt //source/exe:envoy-static --verbose_failures --copt "-DENVOY_IGNORE_GLIBCXX_USE_CXX11_ABI_ERROR=1" --cxxopt=-std=gnu++0x

Build failure error:-

external/com_lightstep_tracer_cpp/src/common/utility.cpp: In function 'void lightstep::WriteEscapedString(std::ostringstream&, opentracing::v2::string_view)':
external/com_lightstep_tracer_cpp/src/common/utility.cpp:75:20: error: comparison is always true due to limited range of data type [-Werror=type-limits]
75 | if ('\x00' <= c && c <= '\x1f') {
| ~~~~~~~^~~~
cc1plus: all warnings being treated as errors
Target //source/exe:envoy-static failed to build
INFO: Elapsed time: 104.218s, Critical Path: 89.10s
INFO: 179 processes: 179 processwrapper-sandbox.
FAILED: Build did NOT complete successfully
[root@d7f1b4d1bfca envoy]#

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/buildstalestalebot believes this issue/PR has not been touched recently

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions