Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/external/mpl/dhcp



On 22.06.2018 16:18, matthew green wrote:
> "Kamil Rytarowski" writes:
>> Module Name:	src
>> Committed By:	kamil
>> Date:		Thu Jun 21 11:02:48 UTC 2018
>>
>> Modified Files:
>> 	src/external/mpl/dhcp: Makefile.inc
>>
>> Log Message:
>> Make building of dhcp compatible with MKSANITIZER
>>
>> Disable LD flags (-Wl,-Bstatic and -Wl,-Bdynamic) with enabled MKSANITIZER.
>> These options are incompatible with the current design of sanitizers,
>> because they cause duplication of symbols into programs and thus symbols
>> from the interceptors from sanitizers cannot be linked.
>>
>> This change makes effectively mounting /usr required for dhcp programs like
>> dhclient(8).
> 
> why does dhclient link this way?  at the very least, adding
> a comment to the Makefile.inc would help, but i wonder if this
> is not some artifact of old times we should remove, at least
> for MKDYNAMICROOT=yes.
> 
> 
> .mrg.
> 

Well, there is an ongoing discussion to phase out dhcp (dhclient) out of
the base system.

It duplicates symbols from libraries in order to be usable without /usr
mounted. dhcpcd doesn't need it.

Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index