From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 841D480208 for ; Fri, 8 Sep 2017 18:26:37 +0200 (CEST) Authentication-Results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=kennethadammiller@gmail.com; spf=Pass smtp.mailfrom=kennethadammiller@gmail.com; spf=None smtp.helo=postmaster@mail-lf0-f48.google.com Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of kennethadammiller@gmail.com) identity=pra; client-ip=209.85.215.48; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="kennethadammiller@gmail.com"; x-sender="kennethadammiller@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of kennethadammiller@gmail.com designates 209.85.215.48 as permitted sender) identity=mailfrom; client-ip=209.85.215.48; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="kennethadammiller@gmail.com"; x-sender="kennethadammiller@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-lf0-f48.google.com) identity=helo; client-ip=209.85.215.48; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="kennethadammiller@gmail.com"; x-sender="postmaster@mail-lf0-f48.google.com"; x-conformance=sidf_compatible IronPort-PHdr: =?us-ascii?q?9a23=3Ae2+8LB8pG/ImAv9uRHKM819IXTAuvvDOBiVQ1KB+?= =?us-ascii?q?2+4cTK2v8tzYMVDF4r011RmSAtWdtqoMotGVmp6jcFRI2YyGvnEGfc4EfD4+ou?= =?us-ascii?q?JSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS46tL2HV93a76DpaBw7yLxE9?= =?us-ascii?q?cu/8H4qXi8Wsy8iz/YfSakNGnmzuT6l1KUCVoAPXu9UWyaJuI6N57xrNpnZSM7?= =?us-ascii?q?BVyGVuKE6Tlhr148Kx+Jpu6Qxfvvsg84hLVqCsLPdwdqBREDlzazN938bsrxSW?= =?us-ascii?q?FQY=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0BtCQBkxLJZhjDXVdFchC8BgSwnB4Nwg?= =?us-ascii?q?TaZDYsbhz+HUQqJRAdCFQEBAQEBAQEBAQEBEgEBAQgLCwgoL4IzIoJtHQEbHgM?= =?us-ascii?q?SCQEGBzACJAERAQUBDhSKKwEDFZsMg0VAjAuCBQUBHIMKBYNaChknDVeDTgIGE?= =?us-ascii?q?oMYggKOYYJhBYoNlmeUUYITgW6OcIl8ixsUBR+BFTWBLzIhJHiEfhAMggMkNoo?= =?us-ascii?q?eAQEB?= X-IPAS-Result: =?us-ascii?q?A0BtCQBkxLJZhjDXVdFchC8BgSwnB4NwgTaZDYsbhz+HUQq?= =?us-ascii?q?JRAdCFQEBAQEBAQEBAQEBEgEBAQgLCwgoL4IzIoJtHQEbHgMSCQEGBzACJAERA?= =?us-ascii?q?QUBDhSKKwEDFZsMg0VAjAuCBQUBHIMKBYNaChknDVeDTgIGEoMYggKOYYJhBYo?= =?us-ascii?q?NlmeUUYITgW6OcIl8ixsUBR+BFTWBLzIhJHiEfhAMggMkNooeAQEB?= X-IronPort-AV: E=Sophos;i="5.42,362,1500933600"; d="scan'208,217";a="236821420" Received: from mail-lf0-f48.google.com ([209.85.215.48]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/AES128-GCM-SHA256; 08 Sep 2017 18:26:07 +0200 Received: by mail-lf0-f48.google.com with SMTP id q132so6723483lfe.5 for ; Fri, 08 Sep 2017 09:26:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=DsZ29iSJd3GhkXExo+aonHwlzipEkBjRNllkdYvQ3NE=; b=tghxtvoL/vHr82mDGGF26P3eiInl23gidlXhYJpUceau5nVN9T/Lx1k4zSsp7bOEC8 NjddPgnJ82YSDLdyemAfNtWevVP7LAzoRIp8VcoxZaSGIfxj9cnwjK4P5zUujwrwJ8nA Q0/U6TPzJrI3eJU2k20ylLOnhgje4ksaYjq8v+dOANeEI+/isxzA6SMURRjzW9sevGCd GpQT5vsuJ9NXLyIKwfteFKaEtpJREcEso8ZMqlXtJ6Tell9OVi0rddXlzSO61HN5lDC5 VB/F8H2wnwDqGqIXiJSFewHlY+szEt+lDJvqAYd7T0i+ojnjQ4wu3gm35dRiETW8j/rp mUCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=DsZ29iSJd3GhkXExo+aonHwlzipEkBjRNllkdYvQ3NE=; b=nxOH1iZbUNoS7zZN0gaadmQY82NdNTrJYr8RWP+M0skJzdN8mIN/KNv1Dc+Bj3b9m/ pBWj3f03AQ3hOihlImRxri8JyRWlgnDGhDSXtKZlNEwAl2a+fN3PRsd8OeUTUYn9HBL4 8wPBFNiSppMHUAvhsxZGeM3H9GiUGspCh4Q76BDU6jhv6jLjs3AVkdzx0Lf5NjnF6e5h LgrqVpHenCwQHgObwV/uc4BwAEYU530z2Fz4VhUvL2ocKB1shpTTqlttGG+umUudOZ7Z djztmsUhxrKpUXcMimjuS00wacSRAlpW46TsygHhSZEZLlFZX45CSYA84ObAxuMuzzaW 3Z+w== X-Gm-Message-State: AHPjjUixn+wJEf6Vv0Roe2P+UOvngy4TNmjPJRDgr1MIG0S8RIrDb+UU uHU5gw6U4BxNLVXg0Y0ALUscAosX8MvRcEM= X-Google-Smtp-Source: AOwi7QDVJOuAjxx/up4mVDx02p06N9vlpNQfw4wAsqRY7BbrFJ/J7yTw/iORj/IT2vflip1WS+ROwcifngxAZxtdaTM= X-Received: by 10.46.2.198 with SMTP id y67mr1275466lje.85.1504887966793; Fri, 08 Sep 2017 09:26:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.46.81.18 with HTTP; Fri, 8 Sep 2017 09:26:05 -0700 (PDT) From: Kenneth Adam Miller Date: Fri, 8 Sep 2017 12:26:05 -0400 Message-ID: To: caml users Content-Type: multipart/alternative; boundary="94eb2c1ce154b006d70558b008cf" Subject: [Caml-list] OSX OCaml ld compile errors --94eb2c1ce154b006d70558b008cf Content-Type: text/plain; charset="UTF-8" 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. --94eb2c1ce154b006d70558b008cf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I'm on OSX, and recently I d= id an update. I had a working package that was building some C/++ code unde= rneath an oasis package successfully all the way to where I could run the o= utput binary. Right now I am getting the following:

ld: warning: ign= oring file src/liblibdai_stubs.a, file was built for archive which is not t= he architecture being linked (x86_64): src/liblibdai_stubs.a
=
And then, literally everything that is output next is just m= issing functions from what ld is ignoring, the liblibdai_stubs.a file:
<= br>
"__wrap_BBPFindClampVardai", referenced from:
=C2=A0 =C2=A0 =C2=A0 _camlDai___BBPFindClampVar_6660 in libdai.a(dai.o)<= /div>
=C2=A0 =C2=A0 =C2=A0 _camlDai__2620 in libdai.a(dai.o)
=
And so on, for a lot of different functions. I need to get l= d to shut up and link my application, because I didn't have this proble= m 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 r= esult of a CSources spec I have in my oasis.
--94eb2c1ce154b006d70558b008cf--