Re: Gnat available for hppa
I tried to build Ada with your binaries. The bootstrap fails with:
../../xgcc -B../../ -c -g -O2 -fPIC -DELF=1 -DLINUX=1 -mdisable-indexing -W -Wall -gnatpg -I. -I/home/doko/gcc/3.1/gcc-3.1-3.1ds0/src/gcc/ada g-expect.adb
g-expect.adb: In function `gnat__expect__expect':
g-expect.adb:296: insn does not satisfy its constraints:
(insn 653 651 335 (set (reg:DI 22 %r22)
(plus:DI (reg:DI 22 %r22)
(const_int 2560 [0xa00]))) 161 {*pa.md:3668} (nil)
(nil))
+===========================GNAT BUG DETECTED==============================+
| 5.00w (20010924) (hppa-unknown-linux-gnu) GCC error: |
| Internal compiler error in reload_cse_simplify_operands, at |
| reload1.c:8358 |
| Error detected at g-expect.adb:360:7 |
| Please submit bug report by email to report@gnat.com. |
| Use a subject line meaningful to you and us to track the bug. |
| (include your customer number #nnn in the subject line). |
| Include the entire contents of this bug box in the report. |
| Include the exact gcc or gnatmake command that you entered. |
| Also include sources listed below in gnatchop format |
| (concatenated together with no headers between files). |
| (use plain ASCII or MIME attachment, or FTP to your customer directory). |
| See README.GNATPRO for full info on procedure for submitting bugs. |
+==========================================================================+
Please include these source files with error report
compilation abandoned
make[6]: *** [g-expect.o] Error 1
make[6]: Leaving directory `/home/doko/gcc/3.1/gcc-3.1-3.1ds0/build/gcc/ada/rts'
make[5]: *** [gnatlib] Error 2
Did you try building the gnat compiler with native built compiler?
Matthew Wilcox writes:
>
> Hi, I just bootstrapped gnat on hppa using the gcc-3.1-20020423 release
> candidate available from gcc.gnu.org. No Debian-specific patches applied.
> What I don't know is how to Make Things Happen from here so that gnat
> will be built in a future gcc-3.1 package.
see the source package at http://ftp-master.debian.org/~doko/gcc. you
have to comment out the fastjar patch in debian/rules.patch and add
ada in debian/rules.defs
Matthias
--
To UNSUBSCRIBE, email to debian-gcc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: