NetBSD Problem Report #34985

From dauphin@enst.fr  Fri Nov  3 13:44:50 2006
Return-Path: <dauphin@enst.fr>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 0FECD63B8CA
	for <gnats-bugs@gnats.netbsd.org>; Fri,  3 Nov 2006 13:44:50 +0000 (UTC)
Message-Id: <1162561489.3904@bi.enst.fr>
Date: Fri, 3 Nov 2006 14:44:49 +0100
From: "Gilles Dauphin" <dauphin@enst.fr>
To: "gnats bugs" <gnats-bugs@NetBSD.org>
Subject: lang/ocaml gcc , as wrapper 64
X-Send-Pr-Version: gtk-send-pr 0.4.5 
X-GNATS-Notify:

>Number:         34985
>Category:       pkg
>Synopsis:       lang/ocaml gcc , as wrapper 64
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    adam
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 03 13:45:00 +0000 2006
>Closed-Date:    Mon Aug 05 23:18:12 +0000 2019
>Last-Modified:  Mon Aug 05 23:18:12 +0000 2019
>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) *)




>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->adam
Responsible-Changed-By: reed@netbsd.org
Responsible-Changed-When: Fri, 03 Nov 2006 15:58:00 +0000
Responsible-Changed-Why:
Assign to maintainer.


State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Mon, 05 Aug 2019 23:18:12 +0000
State-Changed-Why:
lang/ocaml is not failing in smartos (illumos-based) builds. assuming fixed.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.