Re: F35 Change: Broken RPATH will fail rpmbuild (System-Wide Change proposal)

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

 



On Mon, May 10, 2021 at 5:18 PM Florian Weimer <fweimer@xxxxxxxxxx> wrote:
* Charalampos Stratakis:

> On Mon, May 10, 2021 at 5:08 PM Florian Weimer <fweimer@xxxxxxxxxx> wrote:
>
>  * Charalampos Stratakis:
>
>  >  I think these rules make sense for RUNPATH, and we should outright ban
>  >  RPATH.
>  >
>  > I'd agree here as well, however this could be a future fedora change
>  > as I would deem it too disruptive to outright ban RPATH for now.
>
>  I don't agree because of this:
>
>  >  I think we also should binutils with --enable-new-tags at configure
>  >  time.
>
>  We wouldn't have RPATH after that anymore.
>
> So to understand it better, do you mean globally enabling the
> --enable-new-dtags?

Correct, we have infrastructure for that already.


That is an interesting proposition. --enable-new-dtags would in essence move the RPATH entries to DT_RUNPATH instead of DT_RPATH and then a new BRP policy script could be written applying the aforementioned rules for RUNPATH.

Could be simpler, but I'll have to approach this from a different POV. I'll ponder on it for a bit.

So to summarize, you're proposing:
Banning RPATH through using --enable-new-dtags (with hopefully no intervention required from packagers).
Apply the check-rpath rules (excluding the $ORIGIN one) for RUNPATH instead.

 
Thanks,
Florian



--
Regards,

Charalampos Stratakis
Senior Software Engineer
Python Maintenance Team, Red Hat
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux