pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/34985: lang/ocaml gcc , as wrapper 64



>Number:         34985
>Category:       pkg
>Synopsis:       lang/ocaml gcc , as wrapper 64
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 03 13:45:00 +0000 2006
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_118855-19 i86pc


>Description:


ocaml don't compile on amd64 
missing amd64-solaris in configuration


>How-To-Repeat:


bmake


>Fix:


patch-at (configure) add the x86_64-*-solaris
.....
@@ -596,7 +598,9 @@
   x86_64-*-linux*)              arch=amd64; system=linux;;
   x86_64-*-gnu*)                arch=amd64; system=gnu;;
   x86_64-*-freebsd*)            arch=amd64; system=freebsd;;
+  x86_64-*-netbsd*)             arch=amd64; system=netbsd;;
   x86_64-*-openbsd*)            arch=amd64; system=openbsd;;
+  x86_64-*-solaris*)            arch=amd64; system=solaris;;
 esac
 
 if test -z "$ccoption"; then
.....

---------------------
new patch: patch-da, i do that in a hurry.
--- asmcomp/amd64/proc.ml.orig  Sat Dec 17 17:23:09 2005
+++ asmcomp/amd64/proc.ml       Fri Nov  3 14:32:16 2006
@@ -197,5 +197,7 @@
 (* Calling the assembler *)
 
 let assemble_file infile outfile =
-  Ccomp.command ("as -o " ^ outfile ^ " " ^ infile)
+  Ccomp.command ("gcc -c -o " ^ outfile ^ " " ^ infile)
+
+(*  Ccomp.command ("as -o " ^ outfile ^ " " ^ infile) *)
 






Home | Main Index | Thread Index | Old Index