bugtexinfo - GNU documentation system - Bugs: bug #24687, implicit usage of mbsinit &...

 
 

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

bug #24687: implicit usage of mbsinit & mbrtowc

Submitted by:  Alan Hourihane <alanh>
Submitted on:  Wed 29 Oct 2008 11:50:32 AM UTC  
 
Category: infoRelease: 4.13
Priority: 5 - NormalSeverity: 3 - Normal
Item Group: bugPrivacy: Public
Open/Closed: ClosedAssigned to: None
Status: None

Mon 07 Feb 2011 11:10:53 PM UTC, comment #2:

Yes. It looks like this has been fixed in gnulib. Can probably close this now.

Alan Hourihane <alanh>
Sun 06 Feb 2011 03:40:55 PM UTC, comment #1:

Hi Alan -- thanks for the report. Well, it's been a couple of years since you reported the mbiter.h/HAVE_MBSINIT problem, but savannah faithfully kept the report open. Sorry for the ridiculous delay in replying, I must have missed it first time around.

In any case, there have been many changes in gnulib since then. I'm hoping the problem has been fixed. If you feel like trying to build out of Texinfo CVS, that would be a way to check. Else a pretest will be coming at some point.

It's possible there is some mistake in Texinfo's use of gnulib (forgotten include?). I doubt the gnulib files themselves are broken, since nearly every package using gnulib would be failing then. In any case, bug-gnulib at gnu.org would be the place to discuss that.

Best,
Karl

Karl Berry <karl>
Project Administrator
Wed 29 Oct 2008 11:50:32 AM UTC, original submission:

In texinfo 4.13 the files gnulib/lib/mbuiter.h and gnulib/lib/mbiter.h have implicit usage of the functions mbsinit() and mbrtowc() without checking the HAVE_MBSINIT & HAVE_MBRTOWC defines.

This renders compilation of 4.13 inoperable on these systems, and you get the build errors below....

display.o:display.o:(.text+0x786): undefined reference to `mbrtowc'
display.o:display.o:(.text+0x78c): undefined reference to `mbsinit'
session.o:session.o:(.text+0x6f0e): undefined reference to `mbrtowc'
session.o:session.o:(.text+0x6824): undefined reference to `mbsinit'
session.o:session.o:(.text+0x684e): undefined reference to `mbrtowc'
session.o:session.o:(.text+0x6f04): undefined reference to `mbsinit'
session.o:session.o:(.text+0x7282): undefined reference to `mbsinit'
session.o:session.o:(.text+0x72aa): undefined reference to `mbrtowc'
session.o:session.o:(.text+0x72e8): undefined reference to `mbsinit'
session.o:session.o:(.text+0x73be): undefined reference to `mbsinit'
session.o:session.o:(.text+0x73ea): undefined reference to `mbrtowc'
session.o:session.o:(.text+0x75ec): undefined reference to `mbrtowc'
session.o:session.o:(.text+0x76b0): undefined reference to `mbrtowc'
window.o:window.o:(.text+0xa56): undefined reference to `mbrtowc'
window.o:window.o:(.text+0xa92): undefined reference to `mbsinit'
window.o:window.o:(.text+0xab0): undefined reference to `mbsinit'
window.o:window.o:(.text+0x1674): undefined reference to `mbsinit'
window.o:window.o:(.text+0x169a): undefined reference to `mbrtowc'
window.o:window.o:(.text+0x16da): undefined reference to `mbsinit'
window.o:window.o:(.text+0x18a8): undefined reference to `mbsinit'
window.o:window.o:(.text+0x18d0): undefined reference to `mbrtowc'
window.o:window.o:(.text+0x1910): undefined reference to `mbsinit'
window.o:window.o:(.text+0x1bb6): undefined reference to `mbsinit'
window.o:window.o:(.text+0x1bde): undefined reference to `mbrtowc'
window.o:window.o:(.text+0x1c1e): undefined reference to `mbsinit'
window.o:window.o:(.text+0x2044): undefined reference to `mbrtowc'
window.o:window.o:(.text+0x208a): undefined reference to `mbsinit'
window.o:window.o:(.text+0x23b8): undefined reference to `mbsinit'
window.o:window.o:(.text+0x23e2): undefined reference to `mbrtowc'
window.o:window.o:(.text+0x2426): undefined reference to `mbsinit'
window.o:window.o:(.text+0x245a): undefined reference to `mbsinit'
window.o:window.o:(.text+0x2484): undefined reference to `mbrtowc'

texinfo 4.12 did not have this problem.

Alan Hourihane <alanh>

 

Attached Files
file #16886:  texinfo-4.13-mint.patch added by alanh (1KiB - text/x-patch - updated patch)
file #16756:  wc.fix added by alanh (992B - application/octet-stream - missed #endif off the last version. this replaces it.)
file #16755:  wc.fix added by alanh (843B - application/octet-stream - A possible fix for the problem)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by karl (Posted a comment)
  • -unavailable- added by alanh (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
    Sun 06 Feb 2011 03:40:55 PM UTCkarlOpen/ClosedOpen=>Closed
    Thu 20 Nov 2008 10:58:45 AM UTCalanhAttached File-=>Added texinfo-4.13-mint.patch, #16886
    Thu 30 Oct 2008 09:08:54 AM UTCalanhAttached File-=>Added wc.fix, #16756
    Thu 30 Oct 2008 09:06:43 AM UTCalanhAttached File-=>Added wc.fix, #16755

    Back to the top


    Powered by Savane 3.1-cleanup1