From owner-freebsd-questions@freebsd.org Wed Jan 13 15:58:11 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BA17BA80449 for ; Wed, 13 Jan 2016 15:58:11 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8FD4D1BBE for ; Wed, 13 Jan 2016 15:58:11 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-244-25.knology.net [216.186.244.25] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id u0DFw3uu002491 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Wed, 13 Jan 2016 09:58:04 -0600 To: FreeBSD Questions !!!! From: "William A. Mahaffey III" Subject: 64 bit linux binary support Message-ID: <5696740B.5070404@hiwaay.net> Date: Wed, 13 Jan 2016 10:03:33 -0553.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jan 2016 15:58:11 -0000 The FreeBSD wiki reports that there is no support for running 64-bit linux binaries under FreeBSD. The file utility does recognize the binary format, including listing a runtime loader to use when running them: [wam@devbox, TEST, 9:57:52am] 1039 % lltr *fpbl* -rw------- 1 wam users 3162 Feb 12 2012 fpbl.f -rw------- 1 wam users 13110 May 25 2014 OUTPUT.fpbl.linux.txt -rw------- 1 wam users 11760 Sep 5 10:04 fpbl.c -rw------- 1 wam users 13142 Sep 5 10:05 OUTPUT.fpbl.FreeBSD.txt -rwx------ 1 wam users 17909 Sep 9 08:10 fpbl.linux* -rwx------ 1 wam users 18003 Oct 4 09:31 fpbl* [wam@devbox, TEST, 9:58:02am] 1040 % file fpbl fpbl.linux fpbl: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 9.3, not stripped fpbl.linux: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=882754a79d9e9583eff5f710da6a3d0eb3251fa2, not stripped [wam@devbox, TEST, 9:58:05am] 1041 % uname -a FreeBSD devbox 9.3-RELEASE-p30 FreeBSD 9.3-RELEASE-p30 #0: Mon Nov 2 10:11:50 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 [wam@devbox, TEST, 10:00:26am] 1042 % Furthermore, the docker wiki page refers to newly available (as of last summer) 64-bit linux support. How is progress for supporting execution of 64-bit linux binaries proceeding ? TIA & have a good one. P.S. I also noticed a docker pkg available for some months now for 9.3R. I installed it a while back, but haven't played around w/ it yet. The docker wiki page says docker only runs under FSSD 11.0, is the 9.3R pkg just a robo-build artifact, or possibly working OK-ish ? -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.