Closed
Bug 1393713
Opened 7 years ago
Closed 7 years ago
NSS Android build fails with undefined reference to 'getdtablesize'
Categories
(NSS :: Build, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1370138
People
(Reporter: gautamprajapati06, Unassigned)
Details
Attachments
(1 file)
638 bytes,
patch
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 Steps to reproduce: LibreOffice moved away from deprecated GCC toolchain in Android NDK. When built with Clang toolchain, NSS build fails with the error: ./unix_rand.c:744: error: undefined reference to 'getdtablesize' Actual results: Build failed with undefined reference to a function Expected results: Build should have succeeded considering that Clang is drop-in replacement for GCC
Reporter | ||
Comment 1•7 years ago
|
||
I have attached the patch(nss.patch) which defines the "getdtablesize" and hence should solve this issue.
Reporter | ||
Comment 2•7 years ago
|
||
I see that not just Clang but using GCC with latest NDK fails because "getdtablesize" has been removed on Android 21. See: https://issuetracker.google.com/issues/37001193
Comment 3•7 years ago
|
||
Current upstream doesn't use getdtablesize now. What NSS version for this patch?
Flags: needinfo?(gautamprajapati06)
Comment 4•7 years ago
|
||
See bug 1346735 and bug 1370138.
Reporter | ||
Comment 5•7 years ago
|
||
(In reply to Makoto Kato [:m_kato] from comment #3) > Current upstream doesn't use getdtablesize now. What NSS version for this > patch? Oh, I have set the version as 3.29. I'll try to upgrade the NSS in LO. Thanks. Closing the bug as Duplicate.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Flags: needinfo?(gautamprajapati06)
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•