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

 
 

bug #39114: no posix_memalign on Solaris 10

Submitted by:  None
Submitted on:  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

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

 

Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

 

 

No changes have been made to this item

Back to the top


Powered by Savane 3.3