From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4680 invoked by alias); 20 Nov 2014 11:31:08 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 4579 invoked by uid 89); 20 Nov 2014 11:31:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ig0-f173.google.com Received: from mail-ig0-f173.google.com (HELO mail-ig0-f173.google.com) (209.85.213.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 20 Nov 2014 11:31:06 +0000 Received: by mail-ig0-f173.google.com with SMTP id r2so4588206igi.6 for ; Thu, 20 Nov 2014 03:31:04 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.50.119.3 with SMTP id kq3mr8928729igb.46.1416483064093; Thu, 20 Nov 2014 03:31:04 -0800 (PST) Received: by 10.107.137.138 with HTTP; Thu, 20 Nov 2014 03:31:04 -0800 (PST) Date: Thu, 20 Nov 2014 11:31:00 -0000 Message-ID: Subject: gdb failing to build on RHEL 6 From: Dave Kirby To: gdb@sourceware.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2014-11/txt/msg00030.txt.bz2 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=3D"\"/usr/local/sh= are/locale\"" -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./.= ./readline/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../l= ibdecnumber -I./gnulib/import -Ibuild-gnulib/import -DTUI=3D1 -I/usr/ti= deway/include/python2.7 -I/usr/tideway/include/python2.7 -Wall -Wdeclaratio= n-after-statement -Wpointer-arith -Wpointer-sign -Wno-unused -Wunused-value= -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -W= declaration-after-statement -Wempty-body -Wmissing-parameter-type -Wold-sty= le-declaration -Wold-style-definition -Wformat-nonliteral -Werror -c -o ver= sion.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