public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* gdb failing to build on RHEL 6
@ 2014-11-20 11:31 Dave Kirby
  2014-11-20 11:45 ` Joel Brobecker
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Kirby @ 2014-11-20 11:31 UTC (permalink / raw)
  To: gdb

I am trying to build the latest version of gdb on RHEL 6, but it is
failing with the following error:

> ...
> make[1]: Leaving directory `/home/tideway/tools/binutils-gdb/gdb'
> /bin/sh ./common/create-version.sh . \
>               version.c
> mv: missing destination file operand after `version.c-tmp'
> Try `mv --help' for more information.
> gcc -g -O2   -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber  -I./gnulib/import -Ibuild-gnulib/import   -DTUI=1  -I/usr/tideway/include/python2.7 -I/usr/tideway/include/python2.7 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wpointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type -Wold-style-declaration -Wold-style-definition -Wformat-nonliteral -Werror -c -o version.o -MT version.o -MMD -MP -MF .deps/version.Tpo version.c
> gcc: version.c: No such file or directory
> gcc: no input files
> make: *** [version.o] Error 1

I have tried it with both the official 7.8.1 release from the ftp site
and the current head from the git repository - commit
8908fca5772fcff9f7766158ba2aa59f5a2b1f68.

I googled the error but all I found was a post on this forum from last
June with someone reporting the same problem
(http://sourceware.org/ml/gdb/2014-06/msg00007.html).  The only
response said there had been a broken commit, but no work-around was
given.  I find it hard to believe that it is the same issue and that
gdb has been released in a state where it would not build.

So what am I missing?  Or doing wrong?  Or is the release itself
broken?  How do I fix it and get a working build?

Dave

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

* Re: gdb failing to build on RHEL 6
  2014-11-20 11:31 gdb failing to build on RHEL 6 Dave Kirby
@ 2014-11-20 11:45 ` Joel Brobecker
  0 siblings, 0 replies; 2+ messages in thread
From: Joel Brobecker @ 2014-11-20 11:45 UTC (permalink / raw)
  To: Dave Kirby; +Cc: gdb

> I have tried it with both the official 7.8.1 release from the ftp site
> and the current head from the git repository - commit
> 8908fca5772fcff9f7766158ba2aa59f5a2b1f68.
> 
> I googled the error but all I found was a post on this forum from last
> June with someone reporting the same problem
> (http://sourceware.org/ml/gdb/2014-06/msg00007.html).  The only
> response said there had been a broken commit, but no work-around was
> given.  I find it hard to believe that it is the same issue and that
> gdb has been released in a state where it would not build.
> 
> So what am I missing?  Or doing wrong?  Or is the release itself
> broken?  How do I fix it and get a working build?

version.c is create by a Makefile rule that calls
gdb/common/create-version.sh.

I would check your build logs to see if that script got called,
and if it did, then whether it printed any error or not.

-- 
Joel

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

end of thread, other threads:[~2014-11-20 11:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-20 11:31 gdb failing to build on RHEL 6 Dave Kirby
2014-11-20 11:45 ` Joel Brobecker

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