From nobody Sun Jul 25 06:10:20 2021 X-Original-To: freebsd-ports@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 40C9312ADBC5 for ; Sun, 25 Jul 2021 15:53:49 +0000 (UTC) (envelope-from owner-freebsd-ports@freebsd.org) Received: from mail4.nevz.com (mail4.nevz.com [91.240.220.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail4.nevz.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GXnfN497Cz4qBD; Sun, 25 Jul 2021 15:53:48 +0000 (UTC) (envelope-from owner-freebsd-ports@freebsd.org) Received: from Pickup by Srv032.nevz.com with Microsoft SMTP Server id 14.3.498.0; Sun, 25 Jul 2021 15:53:35 +0000 x-sender: freebsd-ports+bounces-456-kozarenkoas=nevz.com@FreeBSD.org x-receiver: spam@vSrv021.nevz.com X-Virus-Scanned: amavisd-new at nevz.com X-Authentication-Warning: mailgate.nevz.com: Host [172.16.200.14] claimed to be tmh-chpt003 X-MTA-CheckPoint: {60FD0098-0-CC810AC-7E99} X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Date: Sun, 25 Jul 2021 08:10:20 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1627193420; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to; bh=gnMKohRAnDZZKOlJ/tcZ+YeFuLYeC9bjgMGgqt1MZqs=; b=M00f9Fow6LRHLq30R6lrkEvJPahA9AaffOSQYJExBLvcYELFcWBtiy8oqN55P77CwaF7aq e2SMgKMGJVAnGCIeTeh2gTRMM8ZUlBxnC2sRm6csMna8/V8fn96r9pViiH9i6SfYtb48vS BK41QbkLojY7OQBxKOp/OW6Cu4G5EnzBHn1S+427D5tLyAxWUMez+0S80cmK4v7CYRWW8L jSuHF5mCsXyjav7wgGtDBEdLNSWR1vkLo/8d9Hh2VnGxfJOINswTEwbk82OFkVjuvOJC17 TKX+OJ+Y/ffGZkE1llqX1z9t/CHnsb7WHx7ha/cLrQ+liCvMrNaVSWCnir8eZg== From: Ronald Klop To: FreeBSD Ports , Michal Meloun , Dimitry Andric Message-ID: <2089802880.12287.1627193420123@localhost> In-Reply-To: Subject: 5.1 points (solved) Re: undefined symbol: __aarch64_ldadd8_acq_rel since llvm12 (mongodb44) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_12286_996601910.1627193420121" X-Mailer: Realworks (568.39.389addd61c2) Importance: Normal X-Priority: 3 (Normal) X-ThisMailContainsUnwantedMimeParts: Y X-FEAS-DKIM: Invalid Body Hash X-Greylist: internal networks OS Linux 3.11 and newer X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.4 (mailgate.nevz.com [172.17.206.231]); Sun, 25 Jul 2021 09:11:49 +0300 (MSK) X-Spam-Flag: YES X-Spam-Status: Yes, score=5.1 required=5.0 tests=BAYES_00=-1.9,DKIM_INVALID=0.1,DKIM_SIGNED=0.1,FSL_HELO_NON_FQDN_1=0.001,HEADER_FROM_DIFFERENT_DOMAINS=5,MAILING_LIST_MULTI=-1,RAZOR2_CF_RANGE_51_100=1.886,RAZOR2_CHECK=0.922 mailgate.nevz.com; whitelist Reported 0 times. [96.47.72.84] [30 mx66.freebsd.org., 10 mx1.freebsd.org.] autolearn=no autolearn_force=no version=3.4.5 X-Spam-Orig-To: X-Spam-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 FSL_HELO_NON_FQDN_1 No description available. * 5.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level * mail domains are different * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * 1.9 RAZOR2_CF_RANGE_51_100 Razor2 gives confidence level above 50% * [cf: 100] * 0.9 RAZOR2_CHECK Listed in Razor2 (http://razor.sf.net/) * 0.1 DKIM_INVALID DKIM or DK signature exists, but is not valid * -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list * manager X-Spam-Level: ***** X-Spam-Checker-Version: SpamAssassin 3.4.5 (2021-03-20) on mailgate.nevz.com X-OriginalArrivalTime: 25 Jul 2021 06:11:53.0232 (UTC) FILETIME=[F69D4100:01D7811B] X-Rspamd-Queue-Id: 4GXnfN497Cz4qBD X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; ASN(0.00)[asn:59416, ipnet:91.240.220.0/24, country:RU] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N ------=_Part_12286_996601910.1627193420121 Content-Type: text/plain; charset="us-ascii"; format=flowed Content-Transfer-Encoding: 7bit Van: Dimitry Andric Datum: 19 juli 2021 11:01 Aan: Ronald Klop CC: FreeBSD Ports , Michal Meloun Onderwerp: Re: undefined symbol: __aarch64_ldadd8_acq_rel since llvm12 (mongodb44) > > > On 19 Jul 2021, at 09:29, Ronald Klop wrote: > > > > Does anybody have a clue why I get this error since clang 12 on aarch64/arm64? > > Do other ports have the same issue? > > > > Regards, > > Ronald. > > > > Van: Ronald Klop > > Datum: vrijdag, 16 juli 2021 09:43 > > Aan: freebsd-arm@freebsd.org > > Onderwerp: undefined symbol: __aarch64_ldadd8_acq_rel since llvm12 (mongodb44) > >> Hi, > >> I'm also maintaining databases/mongodb44 and this gives undefined symbols since llvm12 (I think). > >> See: http://www.ipv6proxy.net/go.php?u=http://ampere2.nyi.freebsd.org/data/main-arm64-default/pf44e1c1de734_s63ca9ea4f3/logs/errors/mongodb44-4.4.6.log > >> And look for: > >> ld.lld: error: undefined symbol: __aarch64_ldadd8_acq_rel > >> There are a bunch of similar symbols not found while linking. > >> This compiles fine using llvm11 or on amd64. > > It turns out clang 12 now enables -moutline-atomics by default, but we > don't yet expose the necessary functions from compiler-rt. As a > temporary workaround, compile with -mno-outline-atomics. Meanwhile, > adding these functions to the compiler-rt lib is on my TODO list. > > -Dimitry > > > > > > > Hi, Thanks for your explanation. I came up with patches for my ports.https://bugs.freebsd.org/bugzilla/buglist.cgi?quicksearch=Mongodb&list_id=432778 Regards,Ronald. ------=_Part_12286_996601910.1627193420121--