ada/6872: can't build cross including ada to powerpc-ibm-aix4.3.3.0
geoffk@redhat.com
geoffk@redhat.com
Thu May 30 13:16:00 GMT 2002
>Number: 6872
>Category: ada
>Synopsis: can't build cross including ada to powerpc-ibm-aix4.3.3.0
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu May 30 13:16:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: geoffk@redhat.com
>Release: 3.1
>Organization:
>Environment:
Red Hat Linux 7
>Description:
'make' produces:
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -mminimal-toc -W -Wall -gnatpg -gnata -I- -I. -I/home/geoffk/src/redhat/BUILD/geoffk-gcc3.1cross-3.1/combined/gcc/ada /home/geoffk/src/redhat/BUILD/geoffk-gcc3.1cross-3.1/combined/gcc/ada/ada.ads
gnat1: invalid option `minimal-toc'
make[2]: *** [ada.o] Error 1
make[2]: Leaving directory `/dremel/geoffk/BUILD/geoffk-gcc3.1cross-3.1/obj-powerpc-ibm-aix4.3.3.0/gcc/ada'
make[1]: *** [gnat1] Error 2
>How-To-Repeat:
<path>/configure --target=powerpc-ibm-aix4.3.3.0 \
--prefix=<prefix> \
--with-headers=<prefix>/powerpc-ibm-aix4.3.3.0/sys-include
make
>Fix:
The problem is this rule in ada/Makefile.in:
.ads.o:
$(ADAC) -c $(ALL_ADAFLAGS) $(ADA_INCLUDES) $<
It includes ALL_ADAFLAGS, which includes T_ADAFLAGS, but
T_ADAFLAGS is only for the target.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list