This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Building gcc3 on Mandrake 8.0


On Tue, Jun 19, 2001 at 02:08:10PM -0400, Jean-Marc Valin wrote:
> Hi,
> 
> I really don't know where to send this. I don't even know if it's a bug.
> Building gcc 3.0 (the official release) breaks on Mandrake 8.0 because
> the following header: i686-pc-linux-gnu/libstdc++-v3/include/bits/gthr.h
> is not generated properly from gthr.h-in
> 
> The correct result obtained for another system when running:
> cat gthr.h-in | sed '/^#/s/\([A-Z_][A-Z_]*\)/_GLIBCPP_\1/g'
> 
> line 29:
> #ifndef _GLIBCPP___gthr_GLIBCPP__h
> #define _GLIBCPP___gthr_GLIBCPP__h
> 
> However when I run that on Mandrake 8.0, I get:
> 
> line 29:
> #_GLIBCPP_ifndef _GLIBCPP___gthr_h
> #_GLIBCPP_define _GLIBCPP___gthr_h

This happens when the locale forces sed operations to be case
insensitive.  Do

$ printenv | egrep '^(LC_|LANG)'

If this prints anything at all, unset all the variables it prints,
then try again.

The configure script is supposed to shield itself from this stuff, but
doesn't always succeed.

I consider it to be a bug that the locale does this sort of thing, but
the C library maintainers don't agree.

-- 
zw   You have to care about the 'fair trial' part; you have to care about
     the 'due process of law' part, and you have to care about these things
     *more* than you care about putting child molestors away.
     	-- Graydon Saunders


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]