svn commit: r557295 - in head/sysutils/slurm-wlm: . files

Jason Bacon bacon4000 at gmail.com
Tue Dec 8 16:44:47 UTC 2020


On 12/8/20 10:28 AM, Kyle Evans wrote:
> On Tue, Dec 8, 2020 at 10:21 AM Jason W. Bacon <jwb at freebsd.org> wrote:
>> Author: jwb
>> Date: Tue Dec  8 16:21:16 2020
>> New Revision: 557295
>> URL: https://svnweb.freebsd.org/changeset/ports/557295
>>
>> Log:
>>    sysutils/slurm-wlm: Back out -fno-common patches, add -fcommon flag
>>
>>    Fixes runtime regression caused by r546150
>>
>>    Reported by:    jrm
>>    MFH:            2020Q4
>>
> I guess the regression was from the patch to
> src/plugins/select/cons_tres/job_test.c and an issue somewhere without
> slurmctld? That patch almost certainly should have made them weak
> references instead of removing them entirely, based on the comment in
> the vicinity.
>
> Thanks,
>
> Kyle Evans
It's more complicated than that.  I tried converting to weak refs, but 
the files are linked into multiple executables + the use of dlopen might 
obscure things to the compiler/linker.  I'd have to review the rules to 
verify the latter.

I'll see if upstream has made -fcommon unnecessary in the next release 
when I have time to work on an upgrade a few weeks out.

Best,

     JB

-- 
Earth is a beta site.




More information about the svn-ports-head mailing list