Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 635006 - net-p2p/bitcoind-0.13.1 does not build for uclibc-ng and on GCC 4.9
Summary: net-p2p/bitcoind-0.13.1 does not build for uclibc-ng and on GCC 4.9
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Luke-Jr
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: uclibc-porting
  Show dependency tree
 
Reported: 2017-10-21 16:43 UTC by René Rhéaume
Modified: 2020-01-19 19:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
bitcoind-0.13.1-cxx11-on-gcc4.patch (bitcoind-0.13.1-cxx11-on-gcc4.patch,922 bytes, patch)
2017-10-21 16:43 UTC, René Rhéaume
Details | Diff
bitcoind-0.13.1-uclibc.patch (bitcoind-0.13.1-uclibc.patch,1.97 KB, patch)
2017-10-21 16:45 UTC, René Rhéaume
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description René Rhéaume 2017-10-21 16:43:38 UTC
Created attachment 499558 [details, diff]
bitcoind-0.13.1-cxx11-on-gcc4.patch

I had two problems building bitcoind: std::to_string in not implemented in libstdc++ in GCC 4.9 and fe* C functions defined in <fenv.h> are not implemented in uclibc-ng. I made a patch to correct each of these problems.
Comment 1 René Rhéaume 2017-10-21 16:45:34 UTC
Created attachment 499560 [details, diff]
bitcoind-0.13.1-uclibc.patch

Patch for missing fe* function on uclibc-ng. Implementation only for x86 and amd64.

Is there any plan to include fe* functions into uclibc-ng or an helper library?
Comment 2 Luke-Jr 2017-10-28 19:19:05 UTC
Can you submit these upstream also? https://github.com/bitcoin/bitcoin/pulls