[bug-notifications] [libiconv 0004726]: build is not thread-safe - errno issues

Mantis Bug Tracker noreply at opencsw.org
Mon Mar 21 14:15:07 CET 2011


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4726 
====================================================================== 
Reported By:                huginn
Assigned To:                dam
====================================================================== 
Project:                    libiconv
Issue ID:                   4726
Category:                   regular use
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2011-03-16 17:44 CET
Last Modified:              2011-03-21 14:15 CET
====================================================================== 
Summary:                    build is not thread-safe - errno issues
Description: 
errno in libiconv latest build is a simple global variable

[amok at border](1)~/$ nm /opt/csw/lib/amd64/libiconv.so | grep errno
[954]   |             0|           0|OBJT |GLOB |0    |UNDEF  |errno

Programs build with thread-safe errno fail on errno check
when iconv() returns with non zero value and should set errno.

Package from blastwave.org is build with thread-safe errno BTW.

[amok at border](1)~/$ nm /opt/csw/lib/amd64/libiconv.so | grep errno
[1314]  |             0|           0|FUNC |GLOB |0    |UNDEF  |___errno

====================================================================== 

---------------------------------------------------------------------- 
 (0008939) huginn (reporter) - 2011-03-21 14:15
 https://www.opencsw.org/mantis/view.php?id=4726#c8939 
---------------------------------------------------------------------- 
Sorry for the noise, the first time I misused pkgutil -t (First time I used
this option).
After both updating libiconv and installing libiconv_dev every thing work
beautifully on my side.

Many great thanks for you!



More information about the bug-notifications mailing list