This is the mail archive of the gcc-patches@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: Make dominated_by_p and get_immediate_dominator inline


> On Wed, Jun 23, 2010 at 1:30 PM, Joseph S. Myers
> <joseph@codesourcery.com> wrote:
> > On Wed, 23 Jun 2010, Jan Hubicka wrote:
> >
> >> I am defnitly trying to push things towards making WHOPR the official way
> >> to build GCC binary. ?Hopefully we will get there for next release.
> >
> > Is the expectation that WHOPR builds of GCC will require GCC 4.6 (when
> > building a cross compiler, say)?
> 
> If we don't want to bootstrap a compiler for the host first then yes.
> 
> > The present GCC build system puts various objects in .a files. ?Does this
> > mean that WHOPR build of GCC requires LTO support for .a files, and so
> > needs the linker plugin at present and does not work with GNU ld (for
> > non-ELF hosts not supported by gold, for example) unless new features are
> > added to GNU ld to support it (I hope such features are added to GNU ld)?
> 
> ISTR somebody was working on teaching GNU ld to emit a resolution
> file.  See the patch from Dave Korn in PR41376.  I don't know if
> that was proposed to the binutils list yet.

Option would be to modify our build system to not use libbackend.a that might
be feasible solution for 4.6 if LD is not ready for plugins.  With GOLD we link
into GCC libiberty, libcpp and other stuff, but as far as I know linking
backend + fronends with -fwhole-file should just work. (i.e. libiberty and libcpp
are quite well behaved libraries)

Honza
> 
> Richard.
> 
> > --
> > Joseph S. Myers
> > joseph@codesourcery.com
> >


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