Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 635006

Summary: net-p2p/bitcoind-0.13.1 does not build for uclibc-ng and on GCC 4.9
Product: Gentoo Linux Reporter: René Rhéaume <rene.rheaume>
Component: Current packagesAssignee: Luke-Jr <luke-jr+gentoobugs>
Status: RESOLVED OBSOLETE    
Severity: normal CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 570544    
Attachments: bitcoind-0.13.1-cxx11-on-gcc4.patch
bitcoind-0.13.1-uclibc.patch

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