Issue Details (XML | Word | Printable)

Key: CORE-2845
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Paul Beach
Reporter: Mariusz Zynel
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Firebird Core

Solaris 10 no longer requires SFIO

Created: 04/Feb/10 12:30 AM   Updated: 04/Feb/11 11:44 AM
Component/s: Build Issues / Porting
Affects Version/s: 2.5 RC1
Fix Version/s: 2.5 RC3, 2.1.4

Time Tracking:
Not Specified

Environment: Solaris 10 U6

Planning Status: Unspecified


 Description  « Hide
Build process on Solaris stops with this message: "need to use SFIO" which is
no longer true starting with version 10 up . 64bit builds don't suffer the issue with
max 255 file descriptors at all, and for 32bit builds there are simple workarounds.
Please refer to:
http://developers.sun.com/solaris/articles/stdio_256.html

 All   Comments   Work Log   Change History   Version Control   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Paul Beach added a comment - 04/Feb/10 10:44 AM
Although this comment is accurate its not strictly true, the issue still affects Solaris 10 3/05 through Solaris 10 11/06 to correct the problem you will need to install some patches...
See:
http://paulbeachsblog.blogspot.com/2008/07/solaris-and-256-file-descriptor-problem.html
The easiest solution to this issue for the time being is to leave the define in the code, but comment it with the relevant information for Solaris 10. Then the define can be removed if the patches have been applied or the user is running a relevant version of Solaris 10.

Paul Beach added a comment - 04/Feb/10 12:30 PM
As per the original comment - I have added more updated information re. this issue into common.h
Anyone building 32bit Firebird will have to make an informed decision based on what version of Solaris they are using and its build/patch level before uncommenting the SFIO define.