[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Report of glibc-2.3.6 static link error with gnulib - advice, please
From: |
Paul Eggert |
Subject: |
Re: Report of glibc-2.3.6 static link error with gnulib - advice, please |
Date: |
Sat, 01 Apr 2006 10:58:59 -0800 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
"James Youngman" <address@hidden> writes:
> http://savannah.gnu.org/bugs/?func=detailitem&item_id=15587
>
> Am I using gnulib incorrectly? I can't reproduce this problem sice my
> development system only has glibc-2.3.2.
Hard to say, but how about if we simply make __re_error_msgid and
__re_error_msgid_idx static instead of extern with attribute_hidden?
The attribute_hidden stuff is a relic of the old regex implementation,
as far as I can see.
The idea would be to remove the declarations of these two variables
from regex_internal.h, replace "const char __re_error_msgid[]
attribute_hidden =" with "static const char __re_error_msgid[] =",
and similarly for the other variable.