sparc optflags
Tomasz Mateja
tommat w pimpek.one.pl
Pon, 24 Mar 2008, 23:03:22 CET
Tomasz Mateja pisze:
> ale spoko luz wlasnie mi sie mieli gcc spatchowane --target=sparcv9
> wiec podejmuje wyzwanie. Tylko mielenie paczek bez automatyki dla 3
> arch to nie wiem ile mi snu pozostanie ;P. Ktos poprowadzi za raczke
> jak to postawic? Dam znac jak v9 bedzie mialo base do budowania. (w
> sumie nie jest tak strasznie - zawsze mozna posluzyc sie pakietami
> sparc)
Cholera nie bedzie tak łatwo:
gcc budowane --target=sparc-pld-linux ale ze zmienionymi flagami wywala
sie na adzie, zarówno -m32 -mcpu=ultrasparc jak i -m32 -mcpu=v9
-mtune=ultrasparc (co chyba jest tożsame - fixme):
/home/users/builder/rpm/BUILD/gcc-4.2.3/builddir/./gcc/xgcc
-B/home/users/builder/rpm/BUILD/gcc-4.2.3/builddir/./gcc/
-B/usr/sparc-pld-linux/bin/ -B/usr/sparc-pld-linux/lib/ -isystem
/usr/sparc-pld-linux/include -isystem /usr/sparc-pld-linux/sys-include
-c -O2 -m32 -mcpu=ultrasparc -gdwarf-2 -g2 -fPIC -W -Wall -gnatpg
s-finroo.adb -o s-finroo.o
/home/users/builder/rpm/BUILD/gcc-4.2.3/builddir/./gcc/xgcc
-B/home/users/builder/rpm/BUILD/gcc-4.2.3/builddir/./gcc/
-B/usr/sparc-pld-linux/bin/ -B/usr/sparc-pld-linux/lib/ -isystem
/usr/sparc-pld-linux/include -isystem /usr/sparc-pld-linux/sys-include
-c -O2 -m32 -mcpu=ultrasparc -gdwarf-2 -g2 -fPIC -W -Wall -gnatpg
s-fore.adb -o s-fore.o
s-fore.adb: In function 'System.Fore.Fore':
s-fore.adb:57: error: unrecognizable insn:
(insn 16 15 17 2 s-fore.adb:41 (set (reg:CCFPE 96 %fcc0)
(compare:CCFPE (reg/v:TF 108 [ t ])
(reg:TF 114))) -1 (nil)
(nil))
+===========================GNAT BUG DETECTED==============================+
| 4.2.3 20080201 (release) (PLD-Linux) (sparc-pld-linux-gnu) GCC error: |
| in extract_insn, at recog.c:2077 |
| Error detected at s-fore.adb:58:1 |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html. |
| Use a subject line meaningful to you and us to track the bug. |
| 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). |
+==========================================================================+
Please include these source files with error report
Note that list may not be accurate in some cases,
so please double check that the problem can still
be reproduced with the set of files listed.
raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:380
make[7]: *** [s-fore.o] Error 1
--
T.
Więcej informacji o liście dyskusyjnej pld-devel-pl