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 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

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

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 because

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 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.

A trouble with libssp in one-tree builds

2005-07-04 Thread Kazu Hirata
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. /* confdefs.h. */ #define PACKAGE_NAME libssp #define

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