[dm-devel] multipath-tools: RH-patches for upstream ???

Xose Vazquez Perez xose.vazquez at gmail.com
Fri Oct 4 15:16:54 UTC 2019


On 10/4/19 9:03 AM, Martin Wilck wrote:

>>> https://src.fedoraproject.org/rpms/device-mapper-multipath/blob/master/f/0029-RH-Fix-nvme-compilation-warning.patch
>>>
>>>     Subject: [PATCH] RH: Fix nvme compilation warning
>>>
>>
>> I assume that other people aren't seeing these compilation warnings,
>> and
>> this it due to different options that redhat uses when compiling.  I
>> really should push this patch upstream, but that upstream isn't
>> multipath-tools, its nvme-cli, where we copied this file from. Once
>> it's
>> changed there, we can pull the updated files back to multipath-tools.
> 
> Ack. Which compiler option triggers this warning?

With this patch: https://src.fedoraproject.org/rpms/device-mapper-multipath/blob/master/f/0024-RH-use-rpm-optflags-if-present.patch
and /usr/lib/rpm/redhat/redhat-hardened-cc1 :
*cc1_options:
+ %{!r:%{!fpie:%{!fPIE:%{!fpic:%{!fPIC:%{!fno-pic:-fPIE}}}}}}




More information about the dm-devel mailing list