buglibiconv - Bugs: bug #47953, libiconv aliases2_lookup undefined...

 
 

bug #47953: libiconv aliases2_lookup undefined reference link fail

Submitter:  Chung-Lin Tang <cltang>
Submitted:  Wed 18 May 2016 07:25:10 AM UTC
   
 
Category:  Build Severity:  3 - Normal
Item Group:  None Status:  Fix Released
Privacy:  Public Assigned to:  haible
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 19 Nov 2016 04:15:48 PM UTC, comment #1: 
Bruno Haible <haible>
Group administrator
Wed 18 May 2016 07:25:10 AM UTC, original submission:  

All recent libiconv versions exhibit this situation, which seems to be due to the newer inline semantics in GCC.  Using a x86_64-w64-mingw32 build as an example:

libtool: link: x86_64-w64-mingw32-gcc -shared  .libs/iconv.o .libs/localcharset.o .libs/relocatable.o .libs/iconv-exports.o .libs/libiconv.res.o    -Wl,--export-all-symbols -O0   -o .libs/libiconv-2.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libiconv.dll.a
.libs/iconv.o: In function `libiconv_open':
/scratch/cltang/tmp/b/lib/../../libiconv-1.14/lib/iconv_open1.h:86: undefined reference to `aliases2_lookup'
/scratch/cltang/tmp/b/lib/../../libiconv-1.14/lib/iconv_open1.h:176: undefined reference to `aliases2_lookup'
.libs/iconv.o: In function `libiconv_open_into':
/scratch/cltang/tmp/b/lib/../../libiconv-1.14/lib/iconv_open1.h:86: undefined reference to `aliases2_lookup'
...

Googling "libiconv aliases2_lookup" shows reports of other systems encountering this problem.

Most current workarounds are reverting to use 'gnu89' GCC language options when compiling libiconv, or in our own case adding the -fgnu89-inline option.

Chung-Lin Tang <cltang>

 

(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

 

Carbon-Copy List
  • -email is unavailable- added by haible (Posted a comment)
  • -email is unavailable- added by cltang (Submitted the item)
  •  

    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.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-01-04 haible StatusFixed Fix Released
    2016-11-23 haible CategoryNone Build
    2016-11-19 haible StatusNone Fixed
        Assigned toNone haible
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code