math/reduce: could use some help with recent current failure

Pedro Giffuni pfg at FreeBSD.org
Sun Aug 30 22:05:15 UTC 2020


On 30/08/2020 16:09, Kyle Evans wrote:
> On Sun, Aug 30, 2020 at 11:15 AM Pedro Giffuni <pfg at freebsd.org> 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.



More information about the freebsd-ports mailing list