Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: build with -D_FILE_OFFSET_BITS=64 again #1779

Merged
merged 1 commit into from Mar 21, 2018

Conversation

bnoordhuis
Copy link
Member

@bnoordhuis bnoordhuis commented Mar 20, 2018

Faulty logic in commit fdf7c2a ("build: split off tests into separate
gyp file") accidentally disabled -D_FILE_OFFSET_BITS=64 on Unices,
breaking file operations on files > 2 GB on 32 bits platforms.

Fixes: nodejs/node#19455
CI: https://ci.nodejs.org/job/libuv-test-commit/760/

Copy link
Member

@santigimeno santigimeno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we could add a test it would be great

@bnoordhuis
Copy link
Member Author

I thought about it but creating big files, even temporary ones, arguably isn't nice. I'm also not 100% sure if it would work on all CI machines; some are pretty space-constrained at times.

@bnoordhuis
Copy link
Member Author

https://ci.nodejs.org/job/libuv-test-commit/762/ - it's like I feared, some of the buildbots don't handle big files well.

@santigimeno
Copy link
Member

Yeah, I'm having similar issues with #1553. I have had to increase the timeout to 120 secs to make the tests pass regularly, though I don't know if it's worthy.

Faulty logic in commit fdf7c2a ("build: split off tests into separate
gyp file") accidentally disabled `-D_FILE_OFFSET_BITS=64` on Unices,
breaking file operations on files > 2 GB on 32 bits platforms.

Fixes: nodejs/node#19455
PR-URL: libuv#1779
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
@bnoordhuis
Copy link
Member Author

Sorry @addaleax, hadn't seen your review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants