Ticket #1855 (assigned bug)

Opened 3 months ago

Last modified 1 month ago

Glibc wide char functions are disabled

Reported by: jackburton Assigned to: jackburton (accepted)
Priority: high Milestone: R1/alpha1
Component: System/libroot.so Version: R1 development
Cc: andreasf Platform: All

Description

mbrtowc() and the functions in iofwide.c are stubs, IOW they don't do anything at the moment.

I tried to uncomment the #if 0'ed code in there, but the code doesn't compile (doesn't link, actually) because we have a mix of glibc versions: for example, the code in "locale" is from glibc 2.2.5, while the rest is more recent.

I think this mix was done because more recent glibcs don't compile with our gcc (at least, Jerome said so) :)

What should we do now ? Mix'n match some more until we get to a working situation ? mbrtowc.c from 2.2.5 works, at least, but then there is also iofwide.c which looks a bit more integrated with the rest (I haven't tried yet its 2.2.5 equivalent).

Change History

02/26/08 03:00:34 changed by jackburton

More info on this:
iofwide.c needs gconv_trans.c, but as soon as I include it in the build, it complains about undefined libc_dlopen, libc_dlclose, etc.
We are actually using the bsd version of these functions, which have different names.

02/26/08 03:43:12 changed by jackburton

02/26/08 04:07:03 changed by jackburton

  • milestone changed from R1 to R1/alpha1.

Schedule this for R1/alpha too, since #215 depends on this, and that one is scheduled for it.

02/28/08 03:33:04 changed by jackburton

  • owner changed from axeld to jackburton.

I'll give it a try

02/28/08 04:48:43 changed by jackburton

  • status changed from new to assigned.

(follow-up: ↓ 7 ) 03/01/08 16:24:07 changed by jackburton

depends on #1881. By the way, don't we have bug dependency tracking ?

(in reply to: ↑ 6 ) 03/22/08 13:45:55 changed by nielx

Replying to jackburton:

depends on #1881. By the way, don't we have bug dependency tracking ?

I've got a Trac plugin for that, which is unfortunately a Trac 0.11 thing. I will have to wait for Trac 0.11 to stabilize before I can use it.

Sorry!

04/13/08 12:27:41 changed by andreasf

  • cc set to andreasf.