Re: [PATCH] Add --enable-host-shared configuration option

2013-10-15 Thread David Malcolm
On Tue, 2013-10-15 at 10:29 -0600, Jeff Law wrote: > On 10/09/13 18:25, David Malcolm wrote: [...] > Presumably other host libraries we depend on such as gmp, mpc, etc are > available in shared (or at least PIC) form as well? Obviously these are > out of our source tree and largely out of our c

Re: [PATCH] Add --enable-host-shared configuration option

2013-10-15 Thread Jeff Law
On 10/09/13 18:25, David Malcolm wrote: My JIT branch requires embedding GCC's code as a shared library on the host. To do requires building the host code as position-independent, which unfortunately incurs a small speed hit. Obviously this is an opt-in right now, so I'm not terribly concerned.

Re: [PATCH] Add --enable-host-shared configuration option

2013-10-15 Thread Jeff Law
On 10/11/13 14:49, David Malcolm wrote: On Fri, 2013-10-11 at 20:45 +, Joseph S. Myers wrote: On Fri, 11 Oct 2013, David Malcolm wrote: On Thu, 2013-10-10 at 01:05 +, Joseph S. Myers wrote: On Wed, 9 Oct 2013, David Malcolm wrote: This patch adds an "--enable-host-shared" option thr

Re: [PATCH] Add --enable-host-shared configuration option

2013-10-11 Thread Joseph S. Myers
On Fri, 11 Oct 2013, David Malcolm wrote: > Thanks. Presumably the initially posted configure/make patch still > needs review, right? Yes (by a build system maintainer, probably). -- Joseph S. Myers jos...@codesourcery.com

Re: [PATCH] Add --enable-host-shared configuration option

2013-10-11 Thread David Malcolm
On Fri, 2013-10-11 at 20:45 +, Joseph S. Myers wrote: > On Fri, 11 Oct 2013, David Malcolm wrote: > > > On Thu, 2013-10-10 at 01:05 +, Joseph S. Myers wrote: > > > On Wed, 9 Oct 2013, David Malcolm wrote: > > > > > > > This patch adds an "--enable-host-shared" option throughout the variou

Re: [PATCH] Add --enable-host-shared configuration option

2013-10-11 Thread Joseph S. Myers
On Fri, 11 Oct 2013, David Malcolm wrote: > On Thu, 2013-10-10 at 01:05 +, Joseph S. Myers wrote: > > On Wed, 9 Oct 2013, David Malcolm wrote: > > > > > This patch adds an "--enable-host-shared" option throughout the various > > > configure/Make machinery for host code, adding "-fPIC" where a

Re: [PATCH] Add --enable-host-shared configuration option

2013-10-11 Thread David Malcolm
On Thu, 2013-10-10 at 01:05 +, Joseph S. Myers wrote: > On Wed, 9 Oct 2013, David Malcolm wrote: > > > This patch adds an "--enable-host-shared" option throughout the various > > configure/Make machinery for host code, adding "-fPIC" where appropriate > > when enabled. > > Please document thi

Re: [PATCH] Add --enable-host-shared configuration option

2013-10-09 Thread Joseph S. Myers
On Wed, 9 Oct 2013, David Malcolm wrote: > This patch adds an "--enable-host-shared" option throughout the various > configure/Make machinery for host code, adding "-fPIC" where appropriate > when enabled. Please document this in install.texi (even if it isn't particularly useful at the stage wh