caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* AW: [Caml-list] HPPA/HPUX
@ 2006-11-15 10:44 Christoph Bauer
  2006-11-20  7:25 ` David Kuestler
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Bauer @ 2006-11-15 10:44 UTC (permalink / raw)
  To: David Kuestler, caml-list

Hi,

yes I did. 

gcc: 4.1.1  (native cc isn't supported)

To get a working compiler, I had to fix some Makefiles
(after the run of configure):

config/Makefile:
ASPP=gcc

segfault in ocamlrun:

byterun/Makefile
CFLAGS=-DCAML_NAME_SPACE -O0 $(BYTECCCOMPOPTS)
                         ^^^^

Assembler errors when generating camp4o.opt:

Makefile
CAMLOPT=boot/ocamlrun ./ocamlopt -nostdlib -I stdlib -compact -inline 0
 
Christoph Bauer

> -----Ursprüngliche Nachricht-----
> Von: caml-list-bounces@yquem.inria.fr 
> [mailto:caml-list-bounces@yquem.inria.fr] Im Auftrag von 
> David Kuestler
> Gesendet: Mittwoch, 15. November 2006 08:12
> An: caml-list@yquem.inria.fr
> Betreff: [Caml-list] HPPA/HPUX
> 
> Has anyone built 3.09.3 on a HPPA/HPUX box recently ?
> 
> 
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: AW: [Caml-list] HPPA/HPUX
  2006-11-15 10:44 AW: [Caml-list] HPPA/HPUX Christoph Bauer
@ 2006-11-20  7:25 ` David Kuestler
  0 siblings, 0 replies; 2+ messages in thread
From: David Kuestler @ 2006-11-20  7:25 UTC (permalink / raw)
  To: Christoph Bauer; +Cc: caml-list

I now have functional binaries but not all optimised binaries.
I'm getting the following error when I tried to make opt.opt :

.
.
.
File "pa_o_fast.ml", line 9539, characters 38-52:
Warning Y: unused variable s.
File "pa_o_fast.ml", line 9547, characters 42-55:
Warning Y: unused variable s.
/tmp/camlasm246324.s: Assembler messages:
/tmp/camlasm246324.s:99061: Error: Field out of range [-262144..262143]
(-267008).
Assembler error, input left in file /tmp/camlasm246324.s
make[2]: *** [pa_o_fast.cmx] Error 2
make[1]: *** [opt.opt] Error 2
make: *** [camlp4optopt] Error 2

the camlasm246324.s file is over 2m in size which I tried to assemble
manually but still get the same error.

Any suggestions ?

On Wed, 2006-11-15 at 11:44 +0100, Christoph Bauer wrote:
> Hi,
> 
> yes I did. 
> 
> gcc: 4.1.1  (native cc isn't supported)
> 
> To get a working compiler, I had to fix some Makefiles
> (after the run of configure):
> 
> config/Makefile:
> ASPP=gcc
> 
> segfault in ocamlrun:
> 
> byterun/Makefile
> CFLAGS=-DCAML_NAME_SPACE -O0 $(BYTECCCOMPOPTS)
>                          ^^^^
> 
> Assembler errors when generating camp4o.opt:
> 
> Makefile
> CAMLOPT=boot/ocamlrun ./ocamlopt -nostdlib -I stdlib -compact -inline 0
>  
> Christoph Bauer
> 
> > -----Ursprüngliche Nachricht-----
> > Von: caml-list-bounces@yquem.inria.fr 
> > [mailto:caml-list-bounces@yquem.inria.fr] Im Auftrag von 
> > David Kuestler
> > Gesendet: Mittwoch, 15. November 2006 08:12
> > An: caml-list@yquem.inria.fr
> > Betreff: [Caml-list] HPPA/HPUX
> > 
> > Has anyone built 3.09.3 on a HPPA/HPUX box recently ?
> > 
> > 
> > _______________________________________________
> > Caml-list mailing list. Subscription management:
> > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> > Archives: http://caml.inria.fr
> > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> > Bug reports: http://caml.inria.fr/bin/caml-bugs
> > 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-11-20  7:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-15 10:44 AW: [Caml-list] HPPA/HPUX Christoph Bauer
2006-11-20  7:25 ` David Kuestler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).