ada/6851: make gnatlib_and_tools fails when configured with relative pathname

geoffk@redhat.com geoffk@redhat.com
Tue May 28 18:16:00 GMT 2002


>Number:         6851
>Category:       ada
>Synopsis:       make gnatlib_and_tools fails when configured with relative pathname
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 28 18:16:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     geoffk@redhat.com
>Release:        3.1
>Organization:
>Environment:
Red Hat Linux 7
>Description:
After performing How-To-Repeat, build fails as follows:

ar rc rts/libgnat.a \
   rts/a-caldel.o rts/a-calend.o rts/a-chahan.o rts/a-charac.o
   [yada yada yada, +-50 lines worth]

ar: rts/adaint.o: No such file or directory
make[1]: *** [gnatlib] Error 1
>How-To-Repeat:
mkdir newdir
cd newdir
(unpack sources)
mkdir objs
cd objs
../configure
make
make -C gcc gnatlib_and_tools
>Fix:
Move gnatlib out to its own target directory, and stop using recursive make for the tools.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list