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

Increase pread() offset range to fix symbolization on 32-bit systems #4826

Open
wants to merge 1 commit into
base: 25.lts.1+
Choose a base branch
from

Conversation

astolcenburg
Copy link

This allows reading symbols from libraries loaded above the 0x7fffffff address.

b/299486087

This allows reading symbols from libraries loaded above the 0x7fffffff address.

b/299486087
@@ -52,6 +52,9 @@
#include GLOG_BUILD_CONFIG_INCLUDE
#endif // GLOG_BUILD_CONFIG_INCLUDE

// Allow pread() to use higher offsets on 32-bit systems.
#define _FILE_OFFSET_BITS 64
Copy link
Member

Choose a reason for hiding this comment

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

Thank you for sending this fix.

If this helps fixing the issue - great.

However, i would assume that this is a define missing from a Starboard central configuration headers somewhere ? If it impacts the code in this file, i'd expect it would impact code elsewhere too.

@hlwarriner wdyt ?

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

Successfully merging this pull request may close these issues.

2 participants