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]
Other format: [Raw text]

Re: Getting rid of -fno-unit-at-a-time [Was Re: RFC: Preserving orderof functions and top-level asms via cgraph]


Daniel Jacobowitz wrote:
On Mon, Apr 11, 2005 at 10:02:06AM -0700, Daniel Kegel wrote:

BTW, I hope -fno-unit-at-a-time doesn't go away until at least gcc-4.1.1
or so... I still lean on that crutch.

A user! Can you explain why?

Hmm. I just looked, and it seems the only thing I still use it for is glibc-2.2.x and later. For glibc-2.3.2, I use the nice patch from glibc cvs: http://kegel.com/crosstool/crosstool-0.28-rc26/patches/glibc-2.3.2/glibc-2.3.2-allow-gcc-3.4-nounit.patch For earlier glibc's, I just force in -fno-unit-at-a-time globally.

I might use it somewhere else, too, but I can't put my finger on it.
Generally I prefer to fix software to really build with newer
compilers, but sometimes when faced with a pile of legacy third-party source
turning on a magic compiler flag is more practical.
- Dan


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