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

Submitter:  Evgeny Grin <karlson2k>
Submitted:  Tue 25 Dec 2012 03:08:14 PM UTC
   
 
Category:  Build Severity:  3 - Normal
Item Group:  None Status:  Fix Released
Privacy:  Public Assigned to:  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>
Group administrator
Thu 17 Jan 2013 09:21:03 AM UTC, comment #1: 
Daiki Ueno <ueno>
Group administrator
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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-01-04 haible StatusFixed Fix Released
    2016-11-27 haible CategoryNone Build
    2013-03-05 ueno StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2013-01-17 ueno StatusNone Ready For Test
        Assigned toNone ueno

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code