From nobody Mon Mar 20 04:59:45 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Pg2bl2nsSz40C1K for ; Mon, 20 Mar 2023 05:00:03 +0000 (UTC) (envelope-from freebsd@gushi.org) Received: from prime.gushi.org (prime.gushi.org [IPv6:2620:137:6000:10::142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "prime.gushi.org", Issuer "RapidSSL Global TLS RSA4096 SHA256 2022 CA1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pg2bl04PJz3R80 for ; Mon, 20 Mar 2023 05:00:02 +0000 (UTC) (envelope-from freebsd@gushi.org) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (vpn-us.f.root-servers.org [149.20.8.9]) (authenticated bits=0) by prime.gushi.org (8.16.1/8.16.1) with ESMTPSA id 32K4xvFA096153 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 19 Mar 2023 21:59:58 -0700 (PDT) (envelope-from freebsd@gushi.org) DKIM-Filter: OpenDKIM Filter v2.10.3 prime.gushi.org 32K4xvFA096153 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gushi.org; s=prime2014; t=1679288399; bh=AynaLVP9X9QpbQwXeQAU8em0B1xLw6m6u438f28yt8w=; h=From:Subject:Date:In-Reply-To:Cc:To:References; z=From:=20Dan=20Mahoney=20|Subject:=20Re:=20Does =20FB=20support=20SysV=20ABI?|Date:=20Sun,=2019=20Mar=202023=2021: 59:45=20-0700|In-Reply-To:=20|Cc:=20"freebsd-question s@freebsd.org"=20|To:=20Daniel=20Ce rvus=20|References:=20; b=AFxU49Gq1ke5faoB1Y1M2h3DDpi3aWsdVGOQR1wF8JNzAtVqh/2jUUIyWhGVvMfpH Q5KEck3VcHYkfYaH4mf3zmnj5ZCqA6Pm9azRuWAXtGLAU+caoth2onbu0NqZHv8H3w KWGQy5wWAfBSZDeYW4koJAkMW+bFk+ghJoliy4s5FcLBVbuW1V5eJKHBoFYeIcDNBl PGjxhawwStcECzlEH3m8en+LSnszMUW7YGp9eTf7mdwkCKhpMd5wxCw2STJQbN3jYA T3hR6IFa3hYm5IFk7P66kJIkzZdJaO/5BHEW/RCZQ+8pKS1R1Is+d2V9mnUB5qBkeR ztIcVtrUtW7Sg== X-Authentication-Warning: prime.gushi.org: Host vpn-us.f.root-servers.org [149.20.8.9] claimed to be smtpclient.apple From: Dan Mahoney Message-Id: Content-Type: multipart/alternative; boundary="Apple-Mail=_634A1730-33D5-49B5-A70C-678FA5DC463C" List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.400.51.1.1\)) Subject: Re: Does FB support SysV ABI? Date: Sun, 19 Mar 2023 21:59:45 -0700 In-Reply-To: Cc: "freebsd-questions@freebsd.org" To: Daniel Cervus References: X-Mailer: Apple Mail (2.3731.400.51.1.1) X-Rspamd-Queue-Id: 4Pg2bl04PJz3R80 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:393507, ipnet:2620:137:6000::/44, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_634A1730-33D5-49B5-A70C-678FA5DC463C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Mar 19, 2023, at 21:09, Daniel Cervus = wrote: >=20 > Hello, everyone. I was writing an assembly language program and I = encountered some problem. After some research, I found that FB doesn=E2=80= =99t follow the System V ABI standard and seems the system won=E2=80=99t = recognize ELFs branding as SVR4. Is there any way to run a program = written in SysV ABI? If no, where can I find documentation of FreeBSD = ABI? >=20 > Daniel A long time ago there was some support for this. Near as I can tell = it's been abandoned for 20 years, but I'd go look here: = https://people.freebsd.org/~newton/freebsd-svr4/= --Apple-Mail=_634A1730-33D5-49B5-A70C-678FA5DC463C Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

On Mar = 19, 2023, at 21:09, Daniel Cervus <DanieltheDeer@outlook.com> = wrote:

  Hello, everyone. I was writing an assembly language program and I = encountered some problem. After some research, I found that FB doesn=E2=80= =99t follow the System V ABI standard and seems the system won=E2=80=99t = recognize ELFs branding as SVR4. Is there any way to run a program written in SysV ABI? If no, where can I find documentation of = FreeBSD ABI?

Daniel

A long time ago there was some support for = this.  Near as I can tell it's been abandoned for 20 years, but I'd = go look here: https://people.f= reebsd.org/~newton/freebsd-svr4/
= --Apple-Mail=_634A1730-33D5-49B5-A70C-678FA5DC463C--