public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* [Again] 3.1-branch build problem
@ 2002-04-12  4:33 Christian Thalinger
  2002-04-12  9:23 ` Andreas Jaeger
  0 siblings, 1 reply; 7+ messages in thread
From: Christian Thalinger @ 2002-04-12  4:33 UTC (permalink / raw)
  To: gcc



Just got the new branch and configured with:

If already posted this in gcc-help, but no response.

./configure --prefix=/usr/gcc-3.1 --with-gnu-as --with-gnu-ld
--enable-threads=posix

Then it bails out:

make[2]: Entering directory
`/usr/src/gcc-3.1-cvs/i686-pc-linux-gnu/libf2c'
make[2]: *** No rule to make target `../gcc/version.c', needed by
`config.status'.  Stop.
make[2]: Leaving directory
`/usr/src/gcc-3.1-cvs/i686-pc-linux-gnu/libf2c'
make[1]: *** [all-unilib] Error 2
make[1]: Leaving directory
`/usr/src/gcc-3.1-cvs/i686-pc-linux-gnu/libf2c'
make: *** [all-target-libf2c] Error 2

Is this a problem with gcc_version_trigger?

Regards.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Again] 3.1-branch build problem
  2002-04-12  4:33 [Again] 3.1-branch build problem Christian Thalinger
@ 2002-04-12  9:23 ` Andreas Jaeger
  2002-04-12 10:32   ` Gerald Pfeifer
  2002-04-12 15:26   ` Loren James Rittle
  0 siblings, 2 replies; 7+ messages in thread
From: Andreas Jaeger @ 2002-04-12  9:23 UTC (permalink / raw)
  To: Christian Thalinger; +Cc: gcc

Christian Thalinger <e9625286@student.tuwien.ac.at> writes:

> Just got the new branch and configured with:
>
> If already posted this in gcc-help, but no response.
>
> ./configure --prefix=/usr/gcc-3.1 --with-gnu-as --with-gnu-ld
> --enable-threads=posix

Please do not build directly in the source directory, try a separate
build directory.  If that still fails, please tell us again.

Andreas

> Then it bails out:
>
> make[2]: Entering directory
> `/usr/src/gcc-3.1-cvs/i686-pc-linux-gnu/libf2c'
> make[2]: *** No rule to make target `../gcc/version.c', needed by
> `config.status'.  Stop.
> make[2]: Leaving directory
> `/usr/src/gcc-3.1-cvs/i686-pc-linux-gnu/libf2c'
> make[1]: *** [all-unilib] Error 2
> make[1]: Leaving directory
> `/usr/src/gcc-3.1-cvs/i686-pc-linux-gnu/libf2c'
> make: *** [all-target-libf2c] Error 2
>
> Is this a problem with gcc_version_trigger?
>
> Regards.
>

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Again] 3.1-branch build problem
  2002-04-12  9:23 ` Andreas Jaeger
@ 2002-04-12 10:32   ` Gerald Pfeifer
  2002-04-14  6:06     ` Christian Thalinger
  2002-04-12 15:26   ` Loren James Rittle
  1 sibling, 1 reply; 7+ messages in thread
From: Gerald Pfeifer @ 2002-04-12 10:32 UTC (permalink / raw)
  To: Andreas Jaeger; +Cc: Christian Thalinger, gcc

On Fri, 12 Apr 2002, Andreas Jaeger wrote:
> Please do not build directly in the source directory, try a separate
> build directory.  If that still fails, please tell us again.

Ahem, building directly in the source directory is not recommended,
but it has been working ever since I first used gcc, and if it does
not work, this still is a bug.

Unless we explicitely decide (and document) that it should not work,
that is.

Gerald
-- 
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Again] 3.1-branch build problem
  2002-04-12  9:23 ` Andreas Jaeger
  2002-04-12 10:32   ` Gerald Pfeifer
@ 2002-04-12 15:26   ` Loren James Rittle
  2002-04-12 16:48     ` DJ Delorie
  2002-04-13 12:00     ` Mark Mitchell
  1 sibling, 2 replies; 7+ messages in thread
From: Loren James Rittle @ 2002-04-12 15:26 UTC (permalink / raw)
  To: gcc; +Cc: e9625286, aj

>> Just got the new branch and configured with:

>> ./configure --prefix=/usr/gcc-3.1 --with-gnu-as --with-gnu-ld
>> --enable-threads=posix

> Please do not build directly in the source directory, try a separate
> build directory.  If that still fails, please tell us again.

If developers want to take AJ's attitude (and I'm *completely* happy
with it since it makes our lives much easier), THEN WE ABSOLUTELY MUST
APPLY THIS PATCH, OR A REASONABLE ALTERNATE, BEFORE THE 3.1 RELEASE:

http://gcc.gnu.org/ml/gcc-patches/2002-04/msg00102.html

It is NOT fair to tell users in our documentation that something works
but then yell at them when they try it and it is broken.

OTOH, here is the patch for the exact report from Christian:

http://gcc.gnu.org/ml/gcc-patches/2002-04/msg00101.html

Neither has been approved for mainline or 3.1 branch.

Regards,
Loren
-- 
Loren J. Rittle
Senior Staff Software Engineer, Distributed Object Technology Lab
Networks and Infrastructure Research Lab (IL02/2240), Motorola Labs
rittle@rsch.comm.mot.com, KeyID: 2048/ADCE34A5, FDC0292446937F2A240BC07D42763672

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Again] 3.1-branch build problem
  2002-04-12 15:26   ` Loren James Rittle
@ 2002-04-12 16:48     ` DJ Delorie
  2002-04-13 12:00     ` Mark Mitchell
  1 sibling, 0 replies; 7+ messages in thread
From: DJ Delorie @ 2002-04-12 16:48 UTC (permalink / raw)
  To: rittle; +Cc: gcc, gcc-patches


> OTOH, here is the patch for the exact report from Christian:
> 
> http://gcc.gnu.org/ml/gcc-patches/2002-04/msg00101.html
> 
> Neither has been approved for mainline or 3.1 branch.

I don't know how I missed that one, but... approved for both.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Again] 3.1-branch build problem
  2002-04-12 15:26   ` Loren James Rittle
  2002-04-12 16:48     ` DJ Delorie
@ 2002-04-13 12:00     ` Mark Mitchell
  1 sibling, 0 replies; 7+ messages in thread
From: Mark Mitchell @ 2002-04-13 12:00 UTC (permalink / raw)
  To: Loren James Rittle, gcc; +Cc: e9625286, aj



--On Friday, April 12, 2002 05:18:19 PM -0500 Loren James Rittle 
<rittle@latour.rsch.comm.mot.com> wrote:

>>> Just got the new branch and configured with:
>
>>> ./configure --prefix=/usr/gcc-3.1 --with-gnu-as --with-gnu-ld
>>> --enable-threads=posix
>
>> Please do not build directly in the source directory, try a separate
>> build directory.  If that still fails, please tell us again.
>
> If developers want to take AJ's attitude (and I'm *completely* happy
> with it since it makes our lives much easier), THEN WE ABSOLUTELY MUST
> APPLY THIS PATCH, OR A REASONABLE ALTERNATE, BEFORE THE 3.1 RELEASE:
>
> http://gcc.gnu.org/ml/gcc-patches/2002-04/msg00102.html

I'm hereby approving this patch.  Please check it in.

We have a plan (as you mention in your mail) to make "./configure; make"
turn into something like "mkdir objdir; cd objdir; ../configure; make",
but we haven't don't it.

Thanks,

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Again] 3.1-branch build problem
  2002-04-12 10:32   ` Gerald Pfeifer
@ 2002-04-14  6:06     ` Christian Thalinger
  0 siblings, 0 replies; 7+ messages in thread
From: Christian Thalinger @ 2002-04-14  6:06 UTC (permalink / raw)
  To: Gerald Pfeifer; +Cc: Andreas Jaeger, gcc

On Fri, 2002-04-12 at 19:23, Gerald Pfeifer wrote:
> On Fri, 12 Apr 2002, Andreas Jaeger wrote:
> > Please do not build directly in the source directory, try a separate
> > build directory.  If that still fails, please tell us again.

It seems to work now, at least it did for cvs head.

> 
> Ahem, building directly in the source directory is not recommended,
> but it has been working ever since I first used gcc, and if it does
> not work, this still is a bug.

Also always worked for me.

> 
> Unless we explicitely decide (and document) that it should not work,
> that is.
> 
> Gerald
> -- 
> Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/

PS @ jerry: Es ist nett mal ein bekanntes gesicht aus einer vorlesung im
netz zu treffen. Bis naechstes mal! dbvo pruefung steht bei mir eh noch
an ;-)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-04-14 13:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-12  4:33 [Again] 3.1-branch build problem Christian Thalinger
2002-04-12  9:23 ` Andreas Jaeger
2002-04-12 10:32   ` Gerald Pfeifer
2002-04-14  6:06     ` Christian Thalinger
2002-04-12 15:26   ` Loren James Rittle
2002-04-12 16:48     ` DJ Delorie
2002-04-13 12:00     ` Mark Mitchell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).