Repository navigation
Fix O_LARGEFILE support on 32bit builds - #438
Closed
jrmithdobbs wants to merge 1 commit into
Closed
jrmithdobbs wants to merge 1 commit into
jrmithdobbs wants to merge 1 commit into
Conversation
… support these options) to allow debug.log to grow past 2GB on 32bit builds.
Contributor
Author
|
The win32 and osx makefiles probably need similar changes before the block chain gets that big. |
Contributor
Author
|
sipa informed me that block chain is split into 1GB files so not as big a deal there. This mostly just affects debug.log on long-running bitcoind instances. |
Contributor
Author
|
This breaks GetFilesize which breaks ShrinkDebugFile. Closing until I can get that sorted out. |
rajarshimaitra
pushed a commit
to rajarshimaitra/bitcoin
that referenced
this pull request
Aug 5, 2021
Introduction - Block Size Paragraph
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add makefile.unix definitions (tested on glibc, not sure if *bsd libc support these options) to allow debug.log to grow past 2GB on 32bit builds.
I ran into this problem when I noticed that debug.log stops updating at 2GB on my 32bit host.
This will also make it so that the block chain can grow past 2GB on 32bit builds.
We may need some further options for *bsd's libc but I don't have available test installs at the moment.