bug-gnulib
[Top][All Lists]
Advanced

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

Re: btwowc(EOF) hang with gcc 4.4.2


From: Eric Blake
Subject: Re: btwowc(EOF) hang with gcc 4.4.2
Date: Tue, 15 Dec 2009 20:38:53 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[adding bug-gnulib]

According to Karl Berry on 12/15/2009 3:49 PM:
> Hi Jim and all,
> 
> On a CentOS 5.4 system, compiling with gcc 4.4.2, configure goes into an
> infinite loop here:
> checking whether btowc(EOF) is correct... 
> 
> Running gdb on conftest gets a backtrace like this:
> #0  0x080491d1 in btowc (__c=-1) at /usr/include/wchar.h:331
> #1  0x08049431 in btowc () at /usr/include/wchar.h:332
> #2  main () at conftest.c:276
> 
> Where that line 331 is:
> 331   { return (__builtin_constant_p (__c) && __c >= '\0' && __c <= '\x7f'

Can you show more context?  Seeing just a partial statement doesn't
explain why we might be in an inf-loop.

> 
> This does not happen with other versions of gcc.  I can't tell if it's a
> gcc bug or a system include file bug or something actually in coreutils,
> but here's the report anyway.  It was pretty unsettling to have
> configure hang.

Indeed.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksoVk0ACgkQ84KuGfSFAYBhbwCfc68QhyLvsKB6rU27GZIFH1dT
Qj0AoI6FHjyrUiBDSiRaQAQW9oOmWNxu
=YMd7
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]