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

 
 

bug #47953: libiconv aliases2_lookup undefined reference link fail

Submitted by:  Chung-Lin Tang <cltang>
Submitted on:  Wed 18 May 2016 07:25:10 AM UTC  
 
Category: BuildSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Bruno Haible <haible>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 19 Nov 2016 04:15:48 PM UTC, comment #1:

Thank you for the report.

Fixed in git through
http://git.savannah.gnu.org/gitweb/?p=libiconv.git;a=commit;h=b29089d8b43abc8fba073da7e6dccaeba56b2b70

Bruno Haible <haible>
Project AdministratorIn charge of this item.
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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 23 Nov 2016 11:52:38 PM UTChaibleCategoryNone=>Build
    Sat 19 Nov 2016 04:15:48 PM UTChaibleStatusNone=>Fixed
      Assigned toNone=>haible
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1