bugGNU gettext - Bugs: bug #37981, Gettext 0.18.2 build errors on...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #37981: Gettext 0.18.2 build errors on MinGW/Msys/Windows

Submitted by:  Evgeny Grin <karlson2k>
Submitted on:  Tue 25 Dec 2012 03:08:14 PM UTC  
 
Category: BuildSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Daiki Ueno <ueno>
Open/Closed: Closed

Tue 05 Mar 2013 10:10:49 AM UTC, comment #2:

0.18.2.1 with this fix will be shortly released. Closing.

Daiki Ueno <ueno>
Project AdministratorIn charge of this item.
Thu 17 Jan 2013 09:21:03 AM UTC, comment #1:

This should be fixed with:
https://lists.gnu.org/archive/html/bug-gettext/2013-01/msg00011.html

Daiki Ueno <ueno>
Project AdministratorIn charge of this item.
Tue 25 Dec 2012 03:08:14 PM UTC, original submission:

Gettext 0.18.2 have new build errors on MinGW when compiled without optimization (without -O1, -O2,-03 or with -O0)
Errors:

libtool: link: i686-w64-mingw32-gcc -shared .libs/bindtextdom.o .libs/dcgettext.o .libs/dgettext.o .libs/gettext.o .libs/finddomain.o .libs/hash-string.o .libs/loadmsgcat.o .libs/localealias.o .libs/textdomain.o .libs/l10nflist.o .libs/explodename.o .libs/dcigettext.o .libs/dcngettext.o .libs/dngettext.o .libs/ngettext.o .libs/plural.o .libs/plural-exp.o .libs/localcharset.o .libs/threadlib.o .libs/lock.o .libs/relocatable.o .libs/langprefs.o .libs/localename.o .libs/log.o .libs/printf.o .libs/setlocale.o .libs/version.o .libs/osdep.o .libs/intl-compat.o .libs/libintl.res.o -L/mingw/i686-w64-mingw32/lib /mingw/i686-w64-mingw32/lib/libiconv.dll.a -m32 -m32 -Wl,--disable-auto-import -Wl,--export-all-symbols -o .libs/libintl-8.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libintl.dll.a
.libs/printf.o:printf.c:(.text+0x491): undefined reference to `xsum'
.libs/printf.o:printf.c:(.text+0x662): undefined reference to `xsum'
.libs/printf.o:printf.c:(.text+0x713): undefined reference to `xsum'
.libs/printf.o:printf.c:(.text+0x984): undefined reference to `xsum'
.libs/printf.o:printf.c:(.text+0xa35): undefined reference to `xsum'
.libs/printf.o:printf.c:(.text+0xed9): more undefined references to `xsum' follow
.libs/printf.o:printf.c:(.text+0x1543): undefined reference to `xsum4'
.libs/printf.o:printf.c:(.text+0x1654): undefined reference to `xsum'
.libs/printf.o:printf.c:(.text+0x1791): undefined reference to `xsum'
.libs/printf.o:printf.c:(.text+0x1aa4): undefined reference to `xsum'
.libs/printf.o:printf.c:(.text+0x1b93): undefined reference to `xsum'
.libs/printf.o:printf.c:(.text+0x1e66): undefined reference to `xsum'
.libs/printf.o:printf.c:(.text+0x1ea7): more undefined references to `xsum' follow
.libs/printf.o:printf.c:(.text+0x42aa): undefined reference to `xmax'
.libs/printf.o:printf.c:(.text+0x43de): undefined reference to `xsum'
.libs/printf.o:printf.c:(.text+0x441d): undefined reference to `xsum'
.libs/printf.o:printf.c:(.text+0x4435): undefined reference to `xsum'
.libs/printf.o:printf.c:(.text+0x4b38): undefined reference to `xsum'
.libs/printf.o:printf.c:(.text+0x4d25): undefined reference to `xsum'
.libs/printf.o:printf.c:(.text+0x4dda): more undefined references to `xsum' follow
.libs/printf.o:printf.c:(.text+0x5c3c): undefined reference to `xsum4'
.libs/printf.o:printf.c:(.text+0x5d64): undefined reference to `xsum'
.libs/printf.o:printf.c:(.text+0x5eb6): undefined reference to `xsum'
.libs/printf.o:printf.c:(.text+0x61e2): undefined reference to `xsum'
.libs/printf.o:printf.c:(.text+0x62d1): undefined reference to `xsum'
.libs/printf.o:printf.c:(.text+0x6570): undefined reference to `xsum'
.libs/printf.o:printf.c:(.text+0x65b1): more undefined references to `xsum' follow
.libs/printf.o:printf.c:(.text+0x8a19): undefined reference to `xmax'
.libs/printf.o:printf.c:(.text+0x8b5d): undefined reference to `xsum'
.libs/printf.o:printf.c:(.text+0x8b9c): undefined reference to `xsum'
.libs/printf.o:printf.c:(.text+0x8bb4): undefined reference to `xsum'
t:/mingw-w64/mingw/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/ld.exe: .libs/printf.o: bad reloc address 0x8 in section `.r
data'
collect2.exe: error: ld returned 1 exit status
make[3]: *** [libintl.la] Error 1

With -O2 compiled just fine.
To reproduce error, check for -Ox flags in 'Makefile' and remove if any.
Note that configure sometimes sets '-O2' flag, but not for MinGW-w64.

Evgeny Grin <karlson2k>

 

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 (Updated the item)
  • -unavailable- added by ueno (Posted a comment)
  • -unavailable- added by karlson2k (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 27 Nov 2016 01:32:50 AM UTChaibleCategoryNone=>Build
    Tue 05 Mar 2013 10:10:49 AM UTCuenoStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Thu 17 Jan 2013 09:21:03 AM UTCuenoStatusNone=>Ready For Test
      Assigned toNone=>ueno

    Back to the top


    Powered by Savane 3.1-cleanup1