From owner-freebsd-ports@freebsd.org Sun Aug 30 22:05:15 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 4E3433CC89D for ; Sun, 30 Aug 2020 22:05:15 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BfnSq1Sq4z4dMV; Sun, 30 Aug 2020 22:05:15 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from [192.168.0.5] (unknown [181.52.72.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: pfg) by smtp.freebsd.org (Postfix) with ESMTPSA id C5FEB274B1; Sun, 30 Aug 2020 22:05:14 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Subject: Re: math/reduce: could use some help with recent current failure To: Kyle Evans Cc: FreeBSD Ports References: <9e9a7bfd-a936-9e8c-846f-cf929451910e@FreeBSD.org> From: Pedro Giffuni Organization: FreeBSD Message-ID: <3fb1ffb3-a5e8-da0f-161d-e4562dba62ee@FreeBSD.org> Date: Sun, 30 Aug 2020 17:05:12 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2020 22:05:15 -0000 On 30/08/2020 16:09, Kyle Evans wrote: > On Sun, Aug 30, 2020 at 11:15 AM Pedro Giffuni wrote: >> Hello; >> >> math/reduce appears broken on pkg-fallout due to the recent LLVM upgrade. >> >> It seems like an lld issue: >> >>> ld: error: duplicate symbol: MeToReduce >>>>>> defined at redchild.c >>>>>> rfpsl-redchild.o:(MeToReduce) >>>>>> defined at reddeb.c >>>>>> rfpsl-reddeb.o:(.bss+0x4) >>> ld: error: duplicate symbol: ReduceToMe >> Also, I have an updated port here: >> >> https://people.freebsd.org/~pfg/ports/math-reduce.diff >> >> >> I have tried both -fno-common and LLVM11 but I can't reproduce the >> failure, so if someone with -current wants to try, it would be helpful. >> > Hi, > > Unfortunately I couldn't convince the update to build (for mysterious > reasons, and I didn't have much time to diagnose), so I wrote (then > realized it was technically backported) the patch that upstream > provided in late May [0] and committed that. This works out well > because that can be MFH'd, then we can circle back on the update > soon-ish. It seems like the update triggers a bug in clang! > Patch was committed in r547124. > > Thanks, > > Kyle Evans > > [0] https://sourceforge.net/p/reduce-algebra/code/5307/ Very nice, that will do, thanks! Pedro.