[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#193310: libc6: gconv breaks for statically-compiled binaries



On Wed, May 14, 2003 at 11:19:53AM -0400, Joe Drew wrote:
> Package: libc6
> Version: 2.3.1-17
> Severity: normal
> 
> When I compile a binary statically which uses iconv(), and then deploy
> that binary on a glibc 2.2.5 machine, it fails:
> 
> albatross:/# /usr/local/bin/msgfmt -o de.gmo de.po
> /usr/local/bin/msgfmt: iconv failure: Argument list too long
> 
> This, I believe, is because of some incompatible change in gconv. While
> the statically-compiled binary includes gconv() from glibc 2.3.1, the
> /usr/lib/gconv .so files are compiled against glibc 2.2.5.
> 
> This indicates to me that some backwards-incompatible change has
> happened. This may or may not be desired behaviour; feel free to close
> this bug if this operation is intentionally unsupported.

I'll leave the bug in case anyone else has comments, but this is a
known issue - static binaries really just aren't portable between glibc
2.2 and 2.3, for both this and NSS reasons.  Sucks.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



Reply to: