Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* gdb-6.8.50.20080507 not building.
@ 2008-05-07 16:32 Anmol P. Paralkar
  2008-05-07 16:41 ` Roberts, Dennis
  0 siblings, 1 reply; 6+ messages in thread
From: Anmol P. Paralkar @ 2008-05-07 16:32 UTC (permalink / raw)
  To: gdb

Hello,

  I am trying to build gdb-6.8.50.20080507, configured as follows:

  CC=gcc \
  ../../../src/gdb-6.8.50.20080507-original/configure \
  --target=powerpc-unknown-linux-gnu \
  --program-prefix=powerpc-unknown-linux-gnu- \
  --program-suffix=-6.8.50.20080507-original \
  --prefix=/proj/ppc/sysperf/labhome/b07584/gnu/tools > configure-invocation.log 2>&1

  However, the build fails:

-------------------------------------------------------------------------------------------------------------------------------------
mv string.h-t string.h
make  all-am
make[5]: Entering directory `/proj/.ppc_07/labhome/b07584/gnu/build/gdb-6.8.50.20080507-original/powerpc-unknown-linux-gnu/gdb/gnulib'
source='../../../../../src/gdb-6.8.50.20080507-original/gdb/gnulib/dummy.c' object='dummy.o' libtool=no \
DEPDIR=.deps depmode=none /bin/sh ../../../../../src/gdb-6.8.50.20080507-original/gdb/../depcomp \
gcc -DHAVE_CONFIG_H -I. -I../../../../../src/gdb-6.8.50.20080507-original/gdb/gnulib -I..      -c ../../../../../src/gdb-6.8.50.20080507-original/gdb/gnulib/dummy.c
/bin/sh: ../../../../../src/gdb-6.8.50.20080507-original/gdb/../depcomp: No such file or directory
make[5]: *** [dummy.o] Error 127
make[5]: Leaving directory `/proj/.ppc_07/labhome/b07584/gnu/build/gdb-6.8.50.20080507-original/powerpc-unknown-linux-gnu/gdb/gnulib'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/proj/.ppc_07/labhome/b07584/gnu/build/gdb-6.8.50.20080507-original/powerpc-unknown-linux-gnu/gdb/gnulib'
make[3]: *** [subdir_do] Error 1
make[3]: Leaving directory `/proj/.ppc_07/labhome/b07584/gnu/build/gdb-6.8.50.20080507-original/powerpc-unknown-linux-gnu/gdb'
make[2]: *** [all-lib] Error 2
make[2]: Leaving directory `/proj/.ppc_07/labhome/b07584/gnu/build/gdb-6.8.50.20080507-original/powerpc-unknown-linux-gnu/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/proj/.ppc_07/labhome/b07584/gnu/build/gdb-6.8.50.20080507-original/powerpc-unknown-linux-gnu'
make: *** [all] Error 2
--------------------------------------------------------------------------------------------------------------------------------------

  Is there something I am missing here?

  Any help greatly appreciated.

Thanks,
Anmol.

PS: I have the same problem with gdb-6.8.50.20080506 - yesterday's snapshot.


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

* RE: gdb-6.8.50.20080507 not building.
  2008-05-07 16:32 gdb-6.8.50.20080507 not building Anmol P. Paralkar
@ 2008-05-07 16:41 ` Roberts, Dennis
  2008-05-07 16:56   ` Daniel Jacobowitz
  2008-05-16 15:26   ` Daniel Jacobowitz
  0 siblings, 2 replies; 6+ messages in thread
From: Roberts, Dennis @ 2008-05-07 16:41 UTC (permalink / raw)
  To: 'Anmol P. Paralkar', gdb

I got the same error the last time I tried to build gdb.  I obtained depcomp by installing GNU automake and copying depcomp to the gdb source directory.

Dennis

-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf Of Anmol P. Paralkar
Sent: Wednesday, May 07, 2008 9:32 AM
To: gdb@sourceware.org
Subject: gdb-6.8.50.20080507 not building.

Hello,

  I am trying to build gdb-6.8.50.20080507, configured as follows:

  CC=gcc \
  ../../../src/gdb-6.8.50.20080507-original/configure \
  --target=powerpc-unknown-linux-gnu \
  --program-prefix=powerpc-unknown-linux-gnu- \
  --program-suffix=-6.8.50.20080507-original \
  --prefix=/proj/ppc/sysperf/labhome/b07584/gnu/tools > configure-invocation.log 2>&1

  However, the build fails:

-------------------------------------------------------------------------------------------------------------------------------------
mv string.h-t string.h
make  all-am
make[5]: Entering directory `/proj/.ppc_07/labhome/b07584/gnu/build/gdb-6.8.50.20080507-original/powerpc-unknown-linux-gnu/gdb/gnulib'
source='../../../../../src/gdb-6.8.50.20080507-original/gdb/gnulib/dummy.c' object='dummy.o' libtool=no \ DEPDIR=.deps depmode=none /bin/sh ../../../../../src/gdb-6.8.50.20080507-original/gdb/../depcomp \
gcc -DHAVE_CONFIG_H -I. -I../../../../../src/gdb-6.8.50.20080507-original/gdb/gnulib -I..      -c ../../../../../src/gdb-6.8.50.20080507-original/gdb/gnulib/dummy.c
/bin/sh: ../../../../../src/gdb-6.8.50.20080507-original/gdb/../depcomp: No such file or directory
make[5]: *** [dummy.o] Error 127
make[5]: Leaving directory `/proj/.ppc_07/labhome/b07584/gnu/build/gdb-6.8.50.20080507-original/powerpc-unknown-linux-gnu/gdb/gnulib'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/proj/.ppc_07/labhome/b07584/gnu/build/gdb-6.8.50.20080507-original/powerpc-unknown-linux-gnu/gdb/gnulib'
make[3]: *** [subdir_do] Error 1
make[3]: Leaving directory `/proj/.ppc_07/labhome/b07584/gnu/build/gdb-6.8.50.20080507-original/powerpc-unknown-linux-gnu/gdb'
make[2]: *** [all-lib] Error 2
make[2]: Leaving directory `/proj/.ppc_07/labhome/b07584/gnu/build/gdb-6.8.50.20080507-original/powerpc-unknown-linux-gnu/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/proj/.ppc_07/labhome/b07584/gnu/build/gdb-6.8.50.20080507-original/powerpc-unknown-linux-gnu'
make: *** [all] Error 2
--------------------------------------------------------------------------------------------------------------------------------------

  Is there something I am missing here?

  Any help greatly appreciated.

Thanks,
Anmol.

PS: I have the same problem with gdb-6.8.50.20080506 - yesterday's snapshot.


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

* Re: gdb-6.8.50.20080507 not building.
  2008-05-07 16:41 ` Roberts, Dennis
@ 2008-05-07 16:56   ` Daniel Jacobowitz
  2008-05-07 17:06     ` Roberts, Dennis
  2008-05-07 17:49     ` Andreas Schwab
  2008-05-16 15:26   ` Daniel Jacobowitz
  1 sibling, 2 replies; 6+ messages in thread
From: Daniel Jacobowitz @ 2008-05-07 16:56 UTC (permalink / raw)
  To: Roberts, Dennis; +Cc: 'Anmol P. Paralkar', gdb

On Wed, May 07, 2008 at 09:41:08AM -0700, Roberts, Dennis wrote:
> I got the same error the last time I tried to build gdb.  I obtained
> depcomp by installing GNU automake and copying depcomp to the gdb
> source directory.

Interesting.  Here are the files from our repository which are not
included in all src-based releases:

./.cvsignore
./COPYING.NEWLIB
./COPYING.LIBGLOSS
./ChangeLog
./MAINTAINERS
./README-maintainer-mode
./ltgcc.m4
./depcomp
./makefile.vms
./mkdep
./setup.com
./djunpack.bat
./compile
./lt~obsolete.m4

I'm not sure which of those are necessary.  Anyone know?  I'm guessing
depcomp, mkdep, and compile.  Not sure about ltgcc.m4 or
lt~obsolete.m4.

-- 
Daniel Jacobowitz
CodeSourcery


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

* RE: gdb-6.8.50.20080507 not building.
  2008-05-07 16:56   ` Daniel Jacobowitz
@ 2008-05-07 17:06     ` Roberts, Dennis
  2008-05-07 17:49     ` Andreas Schwab
  1 sibling, 0 replies; 6+ messages in thread
From: Roberts, Dennis @ 2008-05-07 17:06 UTC (permalink / raw)
  To: 'Daniel Jacobowitz'; +Cc: 'Anmol P. Paralkar', gdb

> I'm not sure which of those are necessary.  Anyone know?  I'm
> guessing depcomp, mkdep, and compile.  Not sure about
> ltgcc.m4 or lt~obsolete.m4.

The only file that I had to get was depcomp, but that was a while ago and I don't remember whether or not the other files were present (the source directory that I used has been deleted since then).

Dennis


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

* Re: gdb-6.8.50.20080507 not building.
  2008-05-07 16:56   ` Daniel Jacobowitz
  2008-05-07 17:06     ` Roberts, Dennis
@ 2008-05-07 17:49     ` Andreas Schwab
  1 sibling, 0 replies; 6+ messages in thread
From: Andreas Schwab @ 2008-05-07 17:49 UTC (permalink / raw)
  To: Roberts, Dennis; +Cc: 'Anmol P. Paralkar', gdb

Daniel Jacobowitz <drow@false.org> writes:

> Not sure about ltgcc.m4 or lt~obsolete.m4.

ltgcc.m4 overrides a macro in libtool.m4 and is only needed by gcc, but
it shouldn't hurt to included it.  lt~obsolete.m4 appears to only be
needed inside libtool itself, although libtoolize will install it
anyway.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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

* Re: gdb-6.8.50.20080507 not building.
  2008-05-07 16:41 ` Roberts, Dennis
  2008-05-07 16:56   ` Daniel Jacobowitz
@ 2008-05-16 15:26   ` Daniel Jacobowitz
  1 sibling, 0 replies; 6+ messages in thread
From: Daniel Jacobowitz @ 2008-05-16 15:26 UTC (permalink / raw)
  To: Roberts, Dennis; +Cc: 'Anmol P. Paralkar', gdb, gdb-patches, binutils

On Wed, May 07, 2008 at 09:41:08AM -0700, Roberts, Dennis wrote:
> I got the same error the last time I tried to build gdb.  I obtained
> depcomp by installing GNU automake and copying depcomp to the gdb
> source directory.

I've checked in this patch.  This should fix the next snapshot.

I also added some files I've been meaning to add for years; the
comments about ChangeLog made sense when they were added - 15 years
ago when this was an internal Cygnus repository - but they don't
today.

-- 
Daniel Jacobowitz
CodeSourcery

2008-05-16  Daniel Jacobowitz  <dan@codesourcery.com>

	* src-release (DEVO_SUPPORT): Add ChangeLog, MAINTAINERS,
	README-maintainer-mode, lt~obsolete.m4, ltgcc.m4, depcomp,
	mkdep, and compile.  Update comments.
	(ETC_SUPPORT): Add ChangeLog and update comments.

Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/ChangeLog,v
retrieving revision 1.809
diff -u -p -r1.809 ChangeLog
--- ChangeLog	12 May 2008 04:12:15 -0000	1.809
+++ ChangeLog	16 May 2008 12:33:38 -0000
@@ -1,3 +1,9 @@
+2008-05-16  Daniel Jacobowitz  <dan@codesourcery.com>
+
+	* src-release (DEVO_SUPPORT): Add ChangeLog, MAINTAINERS,
+	README-maintainer-mode, lt~obsolete.m4, ltgcc.m4, depcomp,
+	mkdep, and compile.
+
 2008-05-11  Ian Lance Taylor  <iant@google.com>
 
 	* src-release (BINUTILS_SUPPORT_DIRS): Add elfcpp and gold.
Index: src-release
===================================================================
RCS file: /cvs/src/src/src-release,v
retrieving revision 1.28
diff -u -p -r1.28 src-release
--- src-release	12 May 2008 04:12:15 -0000	1.28
+++ src-release	16 May 2008 12:33:38 -0000
@@ -44,22 +44,20 @@ PWD = $${PWDCMD-pwd}
 # Support for building net releases
 
 # Files in devo used in any net release.
-# ChangeLog omitted because it may refer to files which are not in this
-# distribution (perhaps it would be better to include it anyway).
 DEVO_SUPPORT= README Makefile.in configure configure.ac \
 	config.guess config.sub config move-if-change \
 	COPYING COPYING.LIB install-sh config-ml.in symlink-tree \
 	mkinstalldirs ltmain.sh missing ylwrap \
 	libtool.m4 ltsugar.m4 ltversion.m4 ltoptions.m4 \
 	Makefile.def Makefile.tpl src-release config.rpath \
+	ChangeLog MAINTAINERS README-maintainer-mode \
+	lt~obsolete.m4 ltgcc.m4 depcomp mkdep compile \
 	COPYING3 COPYING3.LIB
 
 # Files in devo/etc used in any net release.
-# ChangeLog omitted because it may refer to files which are not in this
-# distribution (perhaps it would be better to include it anyway).
 ETC_SUPPORT= Makefile.in configure configure.in standards.texi \
 	make-stds.texi standards.info* configure.texi configure.info* \
-	configbuild.* configdev.* fdl.texi texi2pod.pl
+	ChangeLog configbuild.* configdev.* fdl.texi texi2pod.pl
 
 
 # When you use `make setup-dirs' or `make taz' you should always redefine


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

end of thread, other threads:[~2008-05-16 15:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-07 16:32 gdb-6.8.50.20080507 not building Anmol P. Paralkar
2008-05-07 16:41 ` Roberts, Dennis
2008-05-07 16:56   ` Daniel Jacobowitz
2008-05-07 17:06     ` Roberts, Dennis
2008-05-07 17:49     ` Andreas Schwab
2008-05-16 15:26   ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox