From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id A54B080208 for ; Sat, 9 Sep 2017 09:19:41 +0200 (CEST) Authentication-Results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=ivg@ieee.org; spf=Pass smtp.mailfrom=ivg@ieee.org; spf=None smtp.helo=postmaster@mail-lf0-f44.google.com Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of ivg@ieee.org) identity=pra; client-ip=209.85.215.44; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="ivg@ieee.org"; x-sender="ivg@ieee.org"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of ivg@ieee.org designates 209.85.215.44 as permitted sender) identity=mailfrom; client-ip=209.85.215.44; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="ivg@ieee.org"; x-sender="ivg@ieee.org"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-lf0-f44.google.com) identity=helo; client-ip=209.85.215.44; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="ivg@ieee.org"; x-sender="postmaster@mail-lf0-f44.google.com"; x-conformance=sidf_compatible IronPort-PHdr: =?us-ascii?q?9a23=3ASioZ2R2dwPpNRQZ+smDT+DRfVm0co7zxezQtwd8Z?= =?us-ascii?q?segWL/ad9pjvdHbS+e9qxAeQG96Eu7QZ06L/iOPJZy8p2d65qncMcZhBBVcuqP?= =?us-ascii?q?49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL3WbmHC57CYTFxPjLkI1?= =?us-ascii?q?Y72tQs+Bx/iwgsO//ZvefwUArTa0ZPtXLRGyoB+Z4sobh41vNqY4xhLMp3pMf+?= =?us-ascii?q?lM7WxtLFOX2R3745Hj0oRk9nFxpfsnv+FHTaLkdKQ5UacQWDU4PEg06cDm8x7Z?= =?us-ascii?q?Ql3ctTMnTmwKn08QUED+5xbgU8K063Oiuw=3D=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0DEAwC7lLNZhizXVdFcRwEBBAEBCgEBh?= =?us-ascii?q?QEnB4NwgTaZDoF0iDmIMIU/gTMDXAqFPgKEBAdBFgEBAQEBAQEBAQEBEgEBAQg?= =?us-ascii?q?LCwgoL4IzBQEeAQWCPAEEASMdAQE3AQQLCwQHBzACAiEBEgEFAQ4OBhMIihEDC?= =?us-ascii?q?AUIoABAiyBrgieDCQEBBYQoDYN8AQEBAQEFAQEBAQEbCBKDGIICgVCFC4JYhTG?= =?us-ascii?q?CYYoSiCaOBTyPW4R2ghOBbo5wiXyCV4hEFAUfgRUmDoEwgQQIShoGhHgQDIFqP?= =?us-ascii?q?TYBhwWBUwEBAQ?= X-IPAS-Result: =?us-ascii?q?A0DEAwC7lLNZhizXVdFcRwEBBAEBCgEBhQEnB4NwgTaZDoF?= =?us-ascii?q?0iDmIMIU/gTMDXAqFPgKEBAdBFgEBAQEBAQEBAQEBEgEBAQgLCwgoL4IzBQEeA?= =?us-ascii?q?QWCPAEEASMdAQE3AQQLCwQHBzACAiEBEgEFAQ4OBhMIihEDCAUIoABAiyBrgie?= =?us-ascii?q?DCQEBBYQoDYN8AQEBAQEFAQEBAQEbCBKDGIICgVCFC4JYhTGCYYoSiCaOBTyPW?= =?us-ascii?q?4R2ghOBbo5wiXyCV4hEFAUfgRUmDoEwgQQIShoGhHgQDIFqPTYBhwWBUwEBAQ?= X-IronPort-AV: E=Sophos;i="5.42,365,1500933600"; d="scan'208,217";a="290258849" Received: from mail-lf0-f44.google.com ([209.85.215.44]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/AES128-GCM-SHA256; 09 Sep 2017 09:19:40 +0200 Received: by mail-lf0-f44.google.com with SMTP id 80so9480289lfy.4 for ; Sat, 09 Sep 2017 00:19:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=L40OcIdBOTEwxB8BHV7gQQZjhpNvALLg7tsYsCJpJuY=; b=CRVH/D6DmA3QYdUx0MrXw5H2ns6AO2JbyujzgS/5Q35h11uB/AlchMBKXvx38oh4IM wHneioD5Dr+ndsAcFdFMU04R0KpqZ0XXgdtVuScS46aN642MS8H93Sv6SYQXw8T8sH04 9Oi21H3K59M4jEH06phzusIcFpgG+hxQzJ2qrxrST+4pyzUWTJjO9VqvGAzWAis8ZJf1 BLaSaOY2YrUNXcuIk6Mv39GW/QQ5T5m7xCsAw7ThGYADo8DKwf1xRDzH1uhsopV6amon 6Z1zgvkhy1745Xwjoh+VEyzZbqJAvKatViQqRtVlzXuNi8OirEFaaNvLgTTi8fDnBZGp RCIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=L40OcIdBOTEwxB8BHV7gQQZjhpNvALLg7tsYsCJpJuY=; b=qOFeqY/smxEOiGOumqfQCclLoNHRI1ezr5dHL/hs3GjGMF/vO4Cglxyzo2iaMnATde 0FyqQKJOA1LuI1cTlsEKilF2iLMBE6zK8uegIc+puLC6+0ssTi+Kd6mdA431lcIBKPCR K4TzsAvhKMm8iUa83fmWGQ85lFR3UsRkli5+ON9Jj6iUsVEDMrn083hWBcLkZR/LEtHP +h+d1CI6qHNEgFtEKgKxuisptFrWbyIalLCY4NWb9vT+CXQIKRyYPDtPUY3vkbe2E/SN PR9oYeDOS2JahHEOSSjgLLnSKHDDX+vr3xRIzKFtOLGWMuVAAua0V321XyBvOVyCV087 KkYg== X-Gm-Message-State: AHPjjUguI4Z53i8r6hFDH72FjufeUoC6aEFRsZAUKN6lsw7WBrvWbFWm 4UXDwZxRJljGdbWzYt2ZCsB5Gjm4DX9y X-Google-Smtp-Source: AOwi7QCJauxmty1GTPul+n+HcWKCCednAzRudFr8Cme+zFouczQ1lwwkqytoPA1h0cvGjMpfAm7eaxmjtml9dV+E+hY= X-Received: by 10.46.68.66 with SMTP id r63mr1962895lja.145.1504941579550; Sat, 09 Sep 2017 00:19:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.46.88.73 with HTTP; Sat, 9 Sep 2017 00:19:38 -0700 (PDT) Received: by 10.46.88.73 with HTTP; Sat, 9 Sep 2017 00:19:38 -0700 (PDT) In-Reply-To: References: From: Ivan Gotovchits Date: Sat, 9 Sep 2017 10:19:38 +0300 Message-ID: To: Kenneth Adam Miller Cc: caml-list Content-Type: multipart/alternative; boundary="94eb2c1cdef041d81e0558bc84e2" Subject: Re: [Caml-list] OSX OCaml ld compile errors --94eb2c1cdef041d81e0558bc84e2 Content-Type: text/plain; charset="UTF-8" What did you update? If you've updated OS X I would suggest you to reinstall macports and to start from a new opam switch. Cheers, Ivan On Sep 8, 2017 7:26 PM, "Kenneth Adam Miller" wrote: > Hello, > > I'm on OSX, and recently I did an update. I had a working package that was > building some C/++ code underneath an oasis package successfully all the > way to where I could run the output binary. Right now I am getting the > following: > > ld: warning: ignoring file src/liblibdai_stubs.a, file was built for > archive which is not the architecture being linked (x86_64): > src/liblibdai_stubs.a > > And then, literally everything that is output next is just missing > functions from what ld is ignoring, the liblibdai_stubs.a file: > > > "__wrap_BBPFindClampVardai", referenced from: > _camlDai___BBPFindClampVar_6660 in libdai.a(dai.o) > _camlDai__2620 in libdai.a(dai.o) > > And so on, for a lot of different functions. I need to get ld to shut up > and link my application, because I didn't have this problem before the > update. I've never had this problem on OSX before. The .a file being > ignored is part of the package that I'm building, and is a result of a > CSources spec I have in my oasis. > --94eb2c1cdef041d81e0558bc84e2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
What did you update? If you've updated OS X I would s= uggest you to reinstall macports and to start from a new opam switch.

Cheers,
Ivan=

On Se= p 8, 2017 7:26 PM, "Kenneth Adam Miller" <kennethadammiller@gmail.com> wrote:
Hello,
I'm on OSX, and recently I did an update. I had a wor= king package that was building some C/++ code underneath an oasis package s= uccessfully all the way to where I could run the output binary. Right now I= am getting the following:

ld: warning: ignoring file src/liblibdai_= stubs.a, file was built for archive which is not the architecture being lin= ked (x86_64): src/liblibdai_stubs.a

And then, = literally everything that is output next is just missing functions from wha= t ld is ignoring, the liblibdai_stubs.a file:


"__wrap_= BBPFindClampVardai", referenced from:
=C2=A0 =C2=A0 =C2=A0 _= camlDai___BBPFindClampVar_6660 in libdai.a(dai.o)
=C2=A0 =C2= =A0 =C2=A0 _camlDai__2620 in libdai.a(dai.o)

And s= o on, for a lot of different functions. I need to get ld to shut up and lin= k my application, because I didn't have this problem before the update.= I've never had this problem on OSX before. The .a file being ignored i= s part of the package that I'm building, and is a result of a CSources = spec I have in my oasis.
--94eb2c1cdef041d81e0558bc84e2--