Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jun 2018 06:42:53 +0000 (UTC)
From:      Vasil Dimov <vd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r472291 - head/net-p2p/monero-cli
Message-ID:  <201806130642.w5D6gr3l027887@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vd
Date: Wed Jun 13 06:42:52 2018
New Revision: 472291
URL: https://svnweb.freebsd.org/changeset/ports/472291

Log:
  net-p2p/monero-cli: Fix compilation on i386
  
  /usr/src/contrib/llvm/tools/lld/ELF/Driver.cpp:126 contains
  "elf_i386" as a recognized name, but for some reason monero fails
  to link on the i386 build cluster with an error:
  
    /usr/bin/ld: unrecognised emulation mode: elf_i386
    Supported emulations: elf_i386_fbsd
  
  Thus, change "elf_i386" to "elf_i386_fbsd".

Modified:
  head/net-p2p/monero-cli/Makefile

Modified: head/net-p2p/monero-cli/Makefile
==============================================================================
--- head/net-p2p/monero-cli/Makefile	Wed Jun 13 06:23:29 2018	(r472290)
+++ head/net-p2p/monero-cli/Makefile	Wed Jun 13 06:42:52 2018	(r472291)
@@ -62,7 +62,7 @@ LD_EMULATION=	aarch64elf
 .elif ${ARCH} == amd64
 LD_EMULATION=	elf_amd64
 .elif ${ARCH} == i386
-LD_EMULATION=	elf_i386
+LD_EMULATION=	elf_i386_fbsd
 .elif ${ARCH} == powerpc
 LD_EMULATION=	elf32ppc
 .elif ${ARCH} == powerpc64



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806130642.w5D6gr3l027887>