public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* ada/4719: Error building Ada tools with srcdir and objdir on different filesystems
@ 2001-10-28  8:36 mattheww
  0 siblings, 0 replies; 3+ messages in thread
From: mattheww @ 2001-10-28  8:36 UTC (permalink / raw)
  To: gcc-gnats

>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:


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

* Re: ada/4719: Error building Ada tools with srcdir and objdir on different filesystems
@ 2002-02-12  7:06 fw
  0 siblings, 0 replies; 3+ messages in thread
From: fw @ 2002-02-12  7:06 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, mattheww, nobody

Synopsis: Error building Ada tools with srcdir and objdir on different filesystems

State-Changed-From-To: open->closed
State-Changed-By: fw
State-Changed-When: Tue Feb 12 07:06:14 2002
State-Changed-Why:
    Fix was committed by Andreas Jaeger on 2001-11-27 (see audit trail).

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4719


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

* Re: ada/4719: Error building Ada tools with srcdir and objdir on different filesystems
@ 2001-12-08  8:36 Matthew Woodcraft
  0 siblings, 0 replies; 3+ messages in thread
From: Matthew Woodcraft @ 2001-12-08  8:36 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR ada/4719; it has been noted by GNATS.

From: Matthew Woodcraft <mattheww@chiark.greenend.org.uk>
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: ada/4719: Error building Ada tools with srcdir and objdir on different filesystems
Date: Sat, 8 Dec 2001 16:33:39 +0000

 I see this was fixed with the following checkin:
 
 |2001-11-27  Andreas Jaeger  <aj@suse.de>
 |
 |	* Makefile.in (stamp-tool_src_dir): Use symbolic link.
 
 -M-


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

end of thread, other threads:[~2002-02-12 15:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-28  8:36 ada/4719: Error building Ada tools with srcdir and objdir on different filesystems mattheww
2001-12-08  8:36 Matthew Woodcraft
2002-02-12  7:06 fw

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