On Mon, May 10, 2021 at 5:18 PM Florian Weimer <fwei...@redhat.com> wrote:

> * Charalampos Stratakis:
>
> > On Mon, May 10, 2021 at 5:08 PM Florian Weimer <fwei...@redhat.com>
> 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@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to