From owner-freebsd-ports@freebsd.org Thu Apr 2 23:32:42 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9221A26A7AA for ; Thu, 2 Apr 2020 23:32:42 +0000 (UTC) (envelope-from gelson@borsoi.com.br) Received: from server.borsoi.com.br (server.borsoi.com.br [177.99.176.76]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48tfVh3Vxrz3Dv3 for ; Thu, 2 Apr 2020 23:32:27 +0000 (UTC) (envelope-from gelson@borsoi.com.br) Received: from server.borsoi.com.br (localhost.borsoi.com.br [127.0.0.1]) by server.borsoi.com.br (Postfix) with ESMTP id 260FB9EFCAE; Thu, 2 Apr 2020 20:25:03 -0300 (BRT) X-Virus-Scanned: amavisd-new at borsoi.com.br Received: from server.borsoi.com.br ([127.0.0.1]) by server.borsoi.com.br (server.borsoi.com.br [127.0.0.1]) (amavisd-new, port 10024) with LMTP id C8w_FwH4QuKy; Thu, 2 Apr 2020 20:25:00 -0300 (BRT) Received: from borsoi.com.br (localhost.borsoi.com.br [127.0.0.1]) by server.borsoi.com.br (Postfix) with ESMTPA id 81ED19EFCAA; Thu, 2 Apr 2020 20:25:00 -0300 (BRT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=borsoi.com.br; s=default; t=1585869900; bh=MJSAIoSpQ0/taLBWJM79LaSo8jmXff9gQ8rzVLPLZS8=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=g/jSUq6RdnTtp1qfk2ruSuzrUuZIAN4mqb1zDWPk4odottcmAYwTCvl00N6QPIMhF Y+/EKntXNhhlcNC6G8qudCXY90uQnZPbSlBhm2a4Ko5in2XQ1thOtlQmXfYCj4THdJ UlQEemK18K5TopMTr4qxzaO3og6s1fUGUtaP4dB0= From: "Gelson Borsoi" To: "Kevin P. Neal" Cc: freebsd-ports@freebsd.org Subject: Re: Firebird25-server compiling and working on i386 but not in AMD64 Date: Thu, 2 Apr 2020 20:25:00 -0300 Message-Id: <20200402230313.M79428@borsoi.com.br> In-Reply-To: <20200402174349.GA46432@neutralgood.org> References: <20200402174349.GA46432@neutralgood.org> X-Mailer: OpenWebMail 2.53 X-OriginatingIP: 192.168.50.16 (gelson) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Rspamd-Queue-Id: 48tfVh3Vxrz3Dv3 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=borsoi.com.br header.s=default header.b=g/jSUq6R; dmarc=pass (policy=none) header.from=borsoi.com.br; spf=temperror (mx1.freebsd.org: error in processing during lookup of gelson@borsoi.com.br: DNS error) smtp.mailfrom=gelson@borsoi.com.br X-Spamd-Result: default: False [-1.47 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_DNSFAIL(0.00)[]; DWL_DNSWL_FAIL(0.00)[76.176.99.177.dwl.dnswl.org:query timed out]; TO_DN_SOME(0.00)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RBL_SARBL_BAD_FAIL(0.00)[query timed out]; RCVD_COUNT_THREE(0.00)[4]; MAILSPIKE_FAIL(0.00)[76.176.99.177.rep.mailspike.net:query timed out]; DKIM_TRACE(0.00)[borsoi.com.br:+]; RCVD_IN_DNSWL_MED(-0.20)[76.176.99.177.list.dnswl.org : 127.0.4.2]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[borsoi.com.br,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:10429, ipnet:177.99.176.0/20, country:BR]; MID_RHS_MATCH_FROM(0.00)[]; RSPAMD_URIBL_FAIL(0.00)[query timed out]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[borsoi.com.br:s=default]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_MED(-2.00)[borsoi.com.br.dwl.dnswl.org : 127.0.4.2]; NEURAL_HAM_LONG(-1.00)[-0.997,0]; R_BAD_CTE_7BIT(3.50)[7bit]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ZRD_FAIL(0.00)[query timed out]; IP_SCORE(0.53)[asn: 10429(2.57), country: BR(0.07)] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Apr 2020 23:32:42 -0000 On Thu, 2 Apr 2020 13:43:49 -0400, Kevin P. Neal wrote > On Thu, Apr 02, 2020 at 01:48:53PM -0300, Gelson Borsoi wrote: > > My current server is running FreeBSD 9.2 64 Bits. > > I have installed many services, including Firebird 2.5.2 > > It is a good hardware with 12GB of RAM, 2 processors and 4 SAS HDs. > > As I have spare Hd’s, I decided to install FreeBSD 12.1 64 bits to test all > > services before transferring the data and putting it into production. > > All worked except for the Firebird25-server. Bus error. > > In LLDB it shows error in the libfbintl.so library: CVICU_convert_init > > (charset *) () from /usr/local/libexec/firebird/intl/fbintl.so > > As I am stubborn, I tested with FreeBSD 12.1 i386 and to my surprise the > > Firebird25-server worked 100%. > > The problem is that I don't want to install 32bits since I can't take > > advantage of the 12GB of RAM. > > In the forum I found a post indicating to compile with clang34 but this port > > is no longer available. > > Question: Does anyone have a suggestion on how to solve this problem? > > How to compile firebird25-server in FreeBSD 12.1 64bits? > > First question: Does Firebird work in your current 9.2 server? Yes, works in 9.2-STABLE Server amd64 builded in 2014. > Are you using the 9.2-built Firebird in 12.1 or did you rebuild it? Because > software for previous major FreeBSD releases may not run on newer major > releases. As I have additional disks, I removed the disks with FreeBSD 9.2 installation and put new ones in the machine and installed FreeBSD 12.1. Firebird was installed by ports. I also tried pkg. > Worst case, can you keep a i386 install tree on your 64-bit server > and use Firebird from there? Since i386 FreeBSD software can run on > 64-bit FreeBSD that might be an option of last resort. I didn't tried this but i think it's not a good idea because of icu package dependency. fbintl.so depends on icu 66 as you can see below: Dynamic section at offset 0xc8b6c contains 33 entries: Tag Type Name/Value 0x0000001d RUNPATH Library runpath: [/usr/local/lib] 0x00000001 NEEDED Shared library: [libicui18n.so.66] 0x00000001 NEEDED Shared library: [libicuuc.so.66] 0x00000001 NEEDED Shared library: [libicudata.so.66] 0x00000001 NEEDED Shared library: [libm.so.5] 0x00000001 NEEDED Shared library: [libthr.so.3] 0x00000001 NEEDED Shared library: [libc++.so.1] 0x00000001 NEEDED Shared library: [libcxxrt.so.1] 0x00000001 NEEDED Shared library: [libgcc_s.so.1] 0x00000001 NEEDED Shared library: [libc.so.7] 0x0000000e SONAME Library soname: [libfbintl.so.1] I also couldn't say if the i386 package would use the system's ICU libraries or come in the package because I never did this type of installation. I don't really know how to do it.