bug-glibc
[Top][All Lists]
Advanced

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

Re: glibc 2.3.3 make error: previous declaration of 'fixup' was here


From: James Richard Tyrer
Subject: Re: glibc 2.3.3 make error: previous declaration of 'fixup' was here
Date: Wed, 08 Dec 2004 16:06:13 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.3) Gecko/20040913

James Richard Tyrer wrote:

http://kegel.com/crosstool/crosstool-0.28-rc37/patches/glibc-2.3.2/fixup.patch

This patch isn't exactly current (but 2.3.3 seems about the same in these places). I made the changes in it by hand and that problem was solved. It compiled through that section with only warnings about: "__attribute__" being redefined.

But it didn't compile. :-(  There are other problems.

After reading other stuff, I tried adding:

        -fno-unit-at-a-time

to my CXFLAGS before running:

        ./configure

This worked -- it built!! although I do not know exactly what this does since it is not in the dox. I presume that it turns off some type of optimization.

If we knew exactly what part of the code this breaks, we could apply that parameter only where needed.

But, with this new problem (not fixed by the patch), we are back to the question of whether this is a GCC problem or a GLibC problem. If this is a new optimization and it breaks code, I would be inclined to think that it was the compiler.

--
JRT




reply via email to

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