Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000125OCamlOCaml generalpublic2000-05-22 13:202000-06-05 14:36
Reporteradministrator 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000125: Re: HP-PA native code gen
DescriptionHi,

Thank you for your message to the Caml mailing list.

However your message seems to be a bug report; hence I send it to the
relevant mailing list

caml-bugs@inria.fr

Thank again for your interest in Caml.

Pierre Weis

INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://cristal.inria.fr/~weis/ [^]


> I was observing some warnings about backwards compatibilty
> from the HP linker
>
> /usr/bin/ld:
> 92453-07 linker linker ld B.10.33 990520
>
> for OCaml 3.00 sources.
>
> The following patch appears to make the HP linker stop its
> whining and complaining.
>
> I don't know if it breaks things on the older linkers though
> and don't have access to a machine still running HP-UX 9.
>
> Enjoy.
>
> --
> Eric Schweitz, Ph.D.
> Nortel Networks
> PM Tools
> Research Triangle Park
>
>
> -----------------------------
>
> --- .old/asmcomp/hppa/emit.mlp Fri Apr 21 09:33:51 2000
> +++ ./asmcomp/hppa/emit.mlp Thu May 18 14:16:46 2000
> @@ -510,10 +510,10 @@
> if alloc then begin
> call_symbol s;
> if hpux then begin
> - ` ldil LP'{emit_symbol s}, %r22\n`;
> + ` ldil LR'{emit_symbol s}, %r22\n`;
> describe_call i.arg;
> emit_call "caml_c_call" "%r2";
> - ` ldo RP'{emit_symbol s}(%r22), %r22\n` (* in delay slot *)
> + ` ldo RR'{emit_symbol s}(%r22), %r22\n` (* in delay slot *)
> end else begin
> ` ldil L\`{emit_symbol s}, %r22\n`;
> emit_call "caml_c_call" "%r2";
> --- .old/asmrun/hppa.S Fri Jan 7 08:27:52 2000
> +++ ./asmrun/hppa.S Thu May 18 14:34:57 2000
> @@ -529,8 +529,8 @@
> STARTPROC
> ; Load address of array_bound_error in %r22
> #ifdef SYS_hpux
> - ldil LP%array_bound_error, %r22
> - ldo RP%array_bound_error(%r22), %r22
> + ldil LR%array_bound_error, %r22
> + ldo RR%array_bound_error(%r22), %r22
> #else
> ldil L`_array_bound_error, %r22
> ldo R`_array_bound_error(%r22), %r22
> --- .old/configure Wed Apr 5 14:30:10 2000
> +++ ./configure Thu May 18 15:05:25 2000
> @@ -375,7 +375,7 @@
> nativecclinkopts="-n32 -Wl,-woff,84";;
> hppa,gcc*,hpux,*hpux10*)
> nativecccompopts="$gcc_warnings"
> - nativecclinkopts="-Wl,+vnocompatwarnings";;
> + nativecclinkopts="";;
> power,gcc*,aix,*aix4.3*)
> nativecccompopts="$gcc_warnings -D_XOPEN_SOURCE=500";;
> power,*,aix,*aix4.3*)


TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000395)
administrator (administrator)
2000-06-05 14:35

> > I was observing some warnings about backwards compatibilty
> > from the HP linker
> > /usr/bin/ld:
> > 92453-07 linker linker ld B.10.33 990520
> > for OCaml 3.00 sources.
> > The following patch appears to make the HP linker stop its
> > whining and complaining.

Thank you for figuring out what the problem was! I couldn't
understand what caused this warning.

> > I don't know if it breaks things on the older linkers though
> > and don't have access to a machine still running HP-UX 9.

Neither do I, but I've applied your patch to the working sources, and
we'll see.

Thanks for the patch.

- Xavier Leroy

(0000396)
administrator (administrator)
2000-06-05 14:36

Fixed by Xavier on 2000-06-05

- Issue History
Date Modified Username Field Change
2005-11-18 10:13 administrator New Issue


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker