bugOpenEXR - Bugs: bug #39114, no posix_memalign on Solaris 10

 
 

bug #39114: no posix_memalign on Solaris 10

Submitter:  None
Submitted:  Wed 29 May 2013 01:41:48 PM UTC
   
 
Category:  build/install Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 29 May 2013 01:41:48 PM UTC, original submission:  

ImfSystemSpecific.h uses posix_memalign without much checking. On Solaris 10, compilation fails because posix_memalign is unknown:

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../config -D_REENTRANT -I/pkgsrc/source/pkgsrc/graphics/openexr/work.pkgsrc-i86/.buildlink/include/OpenEXR -I.. -I/pkgsrc/source/pkgsrc/graphics/openexr/work.pkgsrc-i86/.buildlink/include -pipe -O -MT ImfTileDescriptionAttribute.lo -MD -MP -MF .deps/ImfTileDescriptionAttribute.Tpo -c ImfTileDescriptionAttribute.cpp  -fPIC -DPIC -o .libs/ImfTileDescriptionAttribute.o
In file included from ImfOptimizedPixelReading.h:57:0,
                 from ImfScanLineInputFile.cpp:61:
ImfSystemSpecific.h: In function 'void* Imf_2_0::EXRAllocAligned(uint_t, uint_t)':
ImfSystemSpecific.h:64:41: error: 'posix_memalign' was not declared in this scope
gmake[2]: * [ImfScanLineInputFile.lo] Error 1

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.14-f13d.
Corresponding source code