public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: mattheww@chiark.greenend.org.uk
To: gcc-gnats@gcc.gnu.org
Subject: ada/4719: Error building Ada tools with srcdir and objdir on different filesystems
Date: Sun, 28 Oct 2001 08:36:00 -0000	[thread overview]
Message-ID: <20011028163302.32248.qmail@sourceware.cygnus.com> (raw)

>Number:         4719
>Category:       ada
>Synopsis:       Error building Ada tools with srcdir and objdir on different filesystems
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 28 08:36:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Matthew Woodcraft
>Release:        3.1 20011027 (experimental)
>Organization:
>Environment:
i686-pc-linux-gnu

configured with --prefix=/home/mjw/src/gcc/install --enable-languages=c,ada
using Debian's Gnat 3.13p-8 as the host Ada compiler
>Description:
After bootstrapping, I got the following error during 'make
gnatlib_and_tools':

ln /home/mjw/src/gcc/gcc-cvs/gcc/ada/5lml-tgt.adb tools/mlib-tgt.adb
ln: creating hard link `tools/mlib-tgt.adb' to `/home/mjw/src/gcc/gcc-cvs/gcc/ada/5lml-tgt.adb': Invalid cross-device link

After this, the build failed to continue. I have srcdir and
objdir on different filesystems.

Replacing '$(LN)' with 'cp' in the following fragment of
gcc/ada/Makefile was sufficient to let the build complete:

stamp-tool_src_dir:
	-$(RMDIR) tools
	-$(MKDIR) tools
	-$(LN) $(fsrcdir)/$(MLIB_TGT).adb tools/mlib-tgt.adb
	touch stamp-tool_src_dir

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2001-10-28  8:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-28  8:36 mattheww [this message]
2001-12-08  8:36 Matthew Woodcraft
2002-02-12  7:06 fw

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011028163302.32248.qmail@sourceware.cygnus.com \
    --to=mattheww@chiark.greenend.org.uk \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).