Issue Details (XML | Word | Printable)

Key: STDCXX-357
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Invalid
Priority: Minor Minor
Assignee: Eric Lemings
Reporter: Eric Lemings
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
C++ Standard Library

[gcc/Mac OS X] link utilities with the iconv library

Created: 14/Mar/07 04:05 PM   Updated: 03/Jun/08 08:25 PM
Return to search
Component/s: Utilities
Affects Version/s: 4.1.2, 4.1.3
Fix Version/s: 4.2.2

Time Tracking:
Original Estimate: 2h
Original Estimate - 2h
Remaining Estimate: 0h
Time Spent - 2h
Time Spent: 2h
Time Spent - 2h

Environment: Darwin host.local 8.8.1 Darwin Kernel Version 8.8.1: Mon Sep 25 19:42:00 PDT 2006; root:xnu-792.13.8.obj~1/RELEASE_I386 i386 i386

Patch Info: Patch Available
Resolved: 31/Mar/08 11:13 PM
Resolution Date: 03/Jun/08 08:25 PM


 Description  « Hide
Some executables (esp. locale-specific utilities) need to link with the iconv library. Patch listed below. (Don't think it will matter that the link flag is given for all link commands.)
Index: etc/config/gcc.config
===================================================================
--- etc/config/gcc.config       (revision 517771)
+++ etc/config/gcc.config       (working copy)
@@ -127,7 +129,7 @@
   ifeq ($(OSNAME),Darwin)
     # link with gcc_eh to resolve the _Unwind_xxx functions
     # (shouldn't we link with it on all platforms?)
-    LDLIBS += -lgcc_eh
+    LDLIBS += -liconv -lgcc_eh
   endif
 endif   # gcc > 2



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Martin Sebor made changes - 10/Oct/07 07:28 PM
Field Original Value New Value
Assignee Martin Sebor [ sebor ]
Martin Sebor made changes - 10/Oct/07 07:37 PM
Component/s Utilities [ 12310147 ]
Component/s Build [ 12310141 ]
Priority Major [ 3 ] Minor [ 4 ]
Summary [gcc/Mac OS X 10.4.8 Tiger] Some executables need to link with the iconv library. [gcc/Mac OS X] link utilities with the iconv library
Fix Version/s 4.2 [ 12311945 ]
Fix Version/s 4.2.1 [ 12312690 ]
Issue Type Bug [ 1 ] Improvement [ 4 ]
Martin Sebor made changes - 21/Jan/08 06:32 PM
Original Estimate 2h [ 7200 ]
Remaining Estimate 2h [ 7200 ]
Martin Sebor made changes - 12/Mar/08 03:41 AM
Description Some executables (esp. locale-specific utilities) need to link with the iconv library. Patch listed below. (Don't think it will matter that the link flag is given for all link commands.)

Index: etc/config/gcc.config
===================================================================
--- etc/config/gcc.config (revision 517771)
+++ etc/config/gcc.config (working copy)
@@ -127,7 +129,7 @@
   ifeq ($(OSNAME),Darwin)
     # link with gcc_eh to resolve the _Unwind_xxx functions
     # (shouldn't we link with it on all platforms?)
- LDLIBS += -lgcc_eh
+ LDLIBS += -liconv -lgcc_eh
   endif
 endif # gcc > 2

Some executables (esp. locale-specific utilities) need to link with the iconv library. Patch listed below. (Don't think it will matter that the link flag is given for all link commands.)
{noformat}
Index: etc/config/gcc.config
===================================================================
--- etc/config/gcc.config (revision 517771)
+++ etc/config/gcc.config (working copy)
@@ -127,7 +129,7 @@
   ifeq ($(OSNAME),Darwin)
     # link with gcc_eh to resolve the _Unwind_xxx functions
     # (shouldn't we link with it on all platforms?)
- LDLIBS += -lgcc_eh
+ LDLIBS += -liconv -lgcc_eh
   endif
 endif # gcc > 2

{noformat}
Patch Info [Patch Available]
Martin Sebor made changes - 12/Mar/08 03:44 AM
Assignee Martin Sebor [ sebor ] Eric Lemings [ elemings ]
Eric Lemings made changes - 31/Mar/08 11:13 PM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Cannot Reproduce [ 5 ]
Eric Lemings made changes - 31/Mar/08 11:14 PM
Time Spent 2h [ 7200 ]
Remaining Estimate 2h [ 7200 ] 0h [ 0 ]
Eric Lemings made changes - 02/Jun/08 07:26 PM
Resolution Cannot Reproduce [ 5 ]
Status Resolved [ 5 ] Reopened [ 4 ]
Eric Lemings made changes - 03/Jun/08 03:50 PM
Fix Version/s 4.2.1 [ 12312690 ]
Fix Version/s 4.2.2 [ 12313096 ]
Eric Lemings made changes - 03/Jun/08 08:25 PM
Status Reopened [ 4 ] Resolved [ 5 ]
Resolution Invalid [ 6 ]