You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 723 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general) Related to:#7667
Bug description
hi,
i tried to compile ocaml-3.04 on AIX 4.3.3.0 with xlC (Version 5).
when calling 'make opt.opt' i got the following error:
../../boot/ocamlrun ../boot/camlp4r -nolib -I ../boot pa_extend.cmo q_MLast.cmo -o pa_r.ppo pa_r.ml
Assembler:
/tmp/camlasm1.s: line 27774: 1252-088 The branch address is out of range.
The target address cannot exceed the ability
of the instruction to represent the bit size of
the branch address value.
/tmp/camlasm1.s: line 28202: 1252-088 The branch address is out of range.
The target address cannot exceed the ability
of the instruction to represent the bit size of
the branch address value.
....
i tried to compile ocaml-3.04 on AIX 4.3.3.0 with xlC (Version 5).
when calling 'make opt.opt' i got the following error:
/tmp/camlasm1.s: line 27774: 1252-088 The branch address is out of range.
The target address cannot exceed the ability
of the instruction to represent the bit size of
the branch address value.
This is a known issue with the PowerPC code generator of OCaml: large
functions can produce overflows in conditional relative branches, and
the PowerPC assemblers don't know how to work around this by
themselves. We will try to address the issue at the level of the code
generator. In the meantime, just don't do "make opt.opt" :-)
Original bug ID: 723
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Related to: #7667
Bug description
hi,
i tried to compile ocaml-3.04 on AIX 4.3.3.0 with xlC (Version 5).
when calling 'make opt.opt' i got the following error:
../../boot/ocamlrun ../boot/camlp4r -nolib -I ../boot pa_extend.cmo q_MLast.cmo -o pa_r.ppo pa_r.ml
Assembler:
/tmp/camlasm1.s: line 27774: 1252-088 The branch address is out of range.
The target address cannot exceed the ability
of the instruction to represent the bit size of
the branch address value.
/tmp/camlasm1.s: line 28202: 1252-088 The branch address is out of range.
The target address cannot exceed the ability
of the instruction to represent the bit size of
the branch address value.
....
some lines from /tmp/camlasm1.s
+27763 L..1226:
+27764 lwz 7, L..167(2) # Pcaml
+27765 lwz 6, 100(7)
+27766 li 5, 1
+27767 stw 5, 0(6)
+27768 lwz 4, L..1227(2) # Pa_r_1044
+27769 lwz 3, L..1205(2) # Pa_r
+27770 stw 4, 0(3)
+27771 addi 31, 31, -8
+27772 cmplw 31, 30
+27773 addi 4, 31, 4
+27774 L..1229: bltl L..1228
+27775 li 27, 1024
+27776 stw 27, -4(4)
+27777 lwz 26, L..1205(2) # Pa_r
+27778 lwz 25, 0(26)
+27779 stw 25, 0(4)
+27780 lwz 5, L..1230(2) # Pa_r_1043
+27781 lwz 3, L..1231(2) # Pa_r_1042
+27782 L..1232: bl .Pcaml_add_option_271
+27783 cror 31, 31, 31
+27784 lwz 22, L..1233(2) # Plexer
+27785 lwz 21, 4(22)
The text was updated successfully, but these errors were encountered: