Skip to content

error building due to refinition in abseil-cpp/absl/numeric/int128.cc #373

@ellenble

Description

@ellenble

Trying to do "cmake --build build":

/fgs/ele/bloaty/third_party/abseil-cpp/absl/numeric/int128.cc:141:9: error: redefinition of 'absl::lts_20211102::uint128 absl::lts_20211102::operator/(absl::lts_20211102::uint128, absl::lts_20211102::uint128)'
141 | uint128 operator/(uint128 lhs, uint128 rhs) {
| ^~~~~~~~
In file included from /fgs/ele/bloaty/third_party/abseil-cpp/absl/numeric/int128.cc:15:
/projects/aue/cee/builds/x86_64/rhel7/ba17d7f2/anaconda3/install/linux-rhel7-x86_64/gcc-10.3.0/anaconda3-2023.09-0-bjae6p4/include/absl/numeric/int128.h:1005:16: note: 'absl::lts_20211102::uint128 absl::lts_20211102::operator/(absl::lts_20211102::uint128, absl::lts_20211102::uint128)' previously defined here
1005 | inline uint128 operator/(uint128 lhs, uint128 rhs) {
| ^~~~~~~~
/fgs/ele/bloaty/third_party/abseil-cpp/absl/numeric/int128.cc:152:9: error: redefinition of 'absl::lts_20211102::uint128 absl::lts_20211102::operator%(absl::lts_20211102::uint128, absl::lts_20211102::uint128)'
152 | uint128 operator%(uint128 lhs, uint128 rhs) {
| ^~~~~~~~
In file included from /fgs/ele/bloaty/third_party/abseil-cpp/absl/numeric/int128.cc:15:
/projects/aue/cee/builds/x86_64/rhel7/ba17d7f2/anaconda3/install/linux-rhel7-x86_64/gcc-10.3.0/anaconda3-2023.09-0-bjae6p4/include/absl/numeric/int128.h:1010:16: note: 'absl::lts_20211102::uint128 absl::lts_20211102::operator%(absl::lts_20211102::uint128, absl::lts_20211102::uint128)' previously defined here
1010 | inline uint128 operator%(uint128 lhs, uint128 rhs) {
| ^~~~~~~~

Any tips?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues with the build system.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @EricRahm@ellenble

        Issue actions

          error building due to refinition in abseil-cpp/absl/numeric/int128.cc · Issue #373 · google/bloaty