From owner-freebsd-ports@freebsd.org Fri Apr 3 18:18:35 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 127C226346C for ; Fri, 3 Apr 2020 18:18:35 +0000 (UTC) (envelope-from anatoly@kazanfieldhockey.ru) Received: from kazanfieldhockey.ru (kazanfieldhockey.ru [78.138.152.250]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "kazanfieldhockey.ru", Issuer "System Administrator" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48v7Tq4vRBz3PhB for ; Fri, 3 Apr 2020 18:18:22 +0000 (UTC) (envelope-from anatoly@kazanfieldhockey.ru) Received: from asd2 (host-175-22.static.telecet.ru [87.117.175.22]) (authenticated bits=0) by kazanfieldhockey.ru (8.15.2/8.15.2) with ESMTPSA id 033I5GUc001185 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 3 Apr 2020 21:05:24 +0300 (MSK) (envelope-from anatoly@kazanfieldhockey.ru) Date: Fri, 3 Apr 2020 21:18:02 +0300 From: Anatoly To: freebsd-ports@freebsd.org Subject: Re: Firebird25-server compiling and working on i386 but not in AMD64 Message-ID: <20200403211802.3485998a@asd2> In-Reply-To: References: X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.29; amd64-portbld-freebsd10.2) MIME-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (kazanfieldhockey.ru [192.168.13.2]); Fri, 03 Apr 2020 21:05:24 +0300 (MSK) X-Rspamd-Queue-Id: 48v7Tq4vRBz3PhB X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of anatoly@kazanfieldhockey.ru has no SPF policy when checking 78.138.152.250) smtp.mailfrom=anatoly@kazanfieldhockey.ru X-Spamd-Result: default: False [3.87 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(0.69)[asn: 28840(3.43), country: RU(0.01)]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.83)[0.831,0]; DMARC_NA(0.00)[kazanfieldhockey.ru]; NEURAL_SPAM_LONG(0.94)[0.945,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:28840, ipnet:78.138.144.0/20, country:RU]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Fri, 03 Apr 2020 18:18:35 -0000 On Thu, 2 Apr 2020 13:48:53 -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? I know very little about firebird, but when I moved to FreeBSD 10.x, I hit a problem with libiconv in base. PHP 5.x crashes on one web app, And iconv binary crashes too while converting some russian texts. I rebuild PHP against libiconv from ports and that fixed my problem. I don't know if libiconv fixed in 11.x-12.x or not, now I just avoid using it and linking against it as possible, still having no time to experiment to find that out. Also, why not to try to build firebird with gcc, not clang.