Re: A trouble with libssp in one-tree builds

2005-07-08 Thread Dan Kegel
Daniel Jacobowitz wrote: I think we need to finally come up with a way to build the compiler and libraries at different times. Don't tease me. -- Trying to get a job as a c++ developer? See http://kegel.com/academy/getting-hired.html

Re: A trouble with libssp in one-tree builds

2005-07-05 Thread DJ Delorie
> We are just testing if the c compiler can compile. Nothing more at this > point. I should point out other target libraries have the same problem. > I pointed Kazu to those bugs last night (I cannot find them right now). GCC_NO_EXECUTABLES ?

Re: A trouble with libssp in one-tree builds

2005-07-05 Thread Andrew Pinski
On Jul 5, 2005, at 2:31 PM, DJ Delorie wrote: DJ, can this be solved by toplevel Makefile.in's dependencies or lang_env_dependencies? The usual solution is to test $with_newlib and hard-code known results if it's set. You CANNOT rely on being able to link target programs in all cases. It's

Re: A trouble with libssp in one-tree builds

2005-07-05 Thread DJ Delorie
> DJ, can this be solved by toplevel Makefile.in's dependencies or > lang_env_dependencies? The usual solution is to test $with_newlib and hard-code known results if it's set. You CANNOT rely on being able to link target programs in all cases. It's better if you can figure out a non-linking test

Re: A trouble with libssp in one-tree builds

2005-07-05 Thread David Edelsohn
> At the very least, we need a > --disable-libssp option, if that doesn't already exist. This also is needed for targets that do not support libssp. I have had to disable building libssp on AIX using noconfigdirs because it crashes the linker when building other libraries, I think becaus

Re: A trouble with libssp in one-tree builds

2005-07-05 Thread Mark Mitchell
Daniel Jacobowitz wrote: On Tue, Jul 05, 2005 at 03:27:23AM -0400, Jakub Jelinek wrote: The problem is that libssp/configure contains a link test, but we may not have crt0.o built yet (assuming targets like h8300-elf, arm-none-eabi, etc). DJ, can this be solved by toplevel Makefile.in's depen

Re: A trouble with libssp in one-tree builds

2005-07-05 Thread Daniel Jacobowitz
On Tue, Jul 05, 2005 at 03:27:23AM -0400, Jakub Jelinek wrote: > > The problem is that libssp/configure contains a link test, but we may > > not have crt0.o built yet (assuming targets like h8300-elf, > > arm-none-eabi, etc). > > DJ, can this be solved by toplevel Makefile.in's dependencies or > l

Re: A trouble with libssp in one-tree builds

2005-07-05 Thread Jakub Jelinek
On Mon, Jul 04, 2005 at 09:50:08PM -0700, Kazu Hirata wrote: > I am having a trouble with libssp in one-tree builds. That is, if I > try to build binutils and gcc at the same time, libssp/configure > complains while compiling (and linking) the following program and the > build process stops. > >

Re: A trouble with libssp in one-tree builds

2005-07-04 Thread Andrew Pinski
On Jul 5, 2005, at 12:50 AM, Kazu Hirata wrote: Hi Jakub, I am having a trouble with libssp in one-tree builds. That is, if I try to build binutils and gcc at the same time, libssp/configure complains while compiling (and linking) the following program and the build process stops. I don't s