Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

build fails on Centos 10 with: lto-wrapper failed #397

Copy link
Copy link

Description

@lejeczek
Issue body actions

Hi guys.

/builddir/build/BUILD/p2pool-4.13/external/src/grpc/third_party/boringssl-with-bazel/crypto/curve25519/internal.h:105:12: note: a field of same name but different type is defined in another translation unit
  105 |   fe_loose X;
      |            ^
/builddir/build/BUILD/p2pool-4.13/external/src/cryptonote/crypto-ops.h:59:3: note: type ‘int32_t[10]’ should match type ‘struct fe_loose’
   59 | } ge_p1p1;
      |   ^
lto1: all warnings being treated as errors
lto-wrapper: fatal error: /opt/rh/gcc-toolset-15/root/usr/bin/g++ returned 1 exit status
compilation terminated.
/opt/rh/gcc-toolset-15/root/usr/libexec/gcc/x86_64-redhat-linux/15/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/p2pool.dir/build.make:736: p2pool] Error 1
make[1]: *** [CMakeFiles/Makefile2:1243: CMakeFiles/p2pool.dir/all] Error 2
...

This should be easily reproducible - any OS of RHEL family should do I think - & if reproduces then many I imagine, will appreciate a fix &| workaround.
This issue does not occur on Centos 9 - both using gcc15 - so my guess is (as non-programmer) some dependencies? Newer/different binaries on Centos 10?

many thanks, L.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.