Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 May 2020 02:39:28 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Ed Maste <emaste@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>, svn-src-head <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r361657 - head/sys/sys
Message-ID:  <20200530233928.GM48478@kib.kiev.ua>
In-Reply-To: <CAPyFy2D8%2BUXpS4pxbC26QN62dwTRL3tmpzmb8n2hQk3P1U7f0w@mail.gmail.com>
References:  <202005301957.04UJvRkb020021@repo.freebsd.org> <20200530201405.GL48478@kib.kiev.ua> <CAPyFy2A8=-%2BQ3kgDbh5sjq1P32gRCmgJQbMwqNoC=0cxwgf2RQ@mail.gmail.com> <CAPyFy2D8%2BUXpS4pxbC26QN62dwTRL3tmpzmb8n2hQk3P1U7f0w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 30, 2020 at 07:28:55PM -0400, Ed Maste wrote:
> On Sat, 30 May 2020 at 16:17, Ed Maste <emaste@freebsd.org> wrote:
> >
> > On Sat, 30 May 2020 at 16:14, Konstantin Belousov <kostikbel@gmail.com> wrote:
> > >
> > > On Sat, May 30, 2020 at 07:57:27PM +0000, Ed Maste wrote:
> > > > Author: emaste
> > > > Date: Sat May 30 19:57:26 2020
> > > > New Revision: 361657
> > > > URL: https://svnweb.freebsd.org/changeset/base/361657
> > > >
> > > > Log:
> > > >   elf_common.h: define DF_1_PIE
> > > >
> > > >   DF_1_PIE indicates that the object is a position-independent executable.
> > > Only on Solaris.
> >
> > Apparently GNU ld sets it broadly now, and there's a patch to have lld
> > start doing it: https://reviews.llvm.org/D80872
> 
> It looks like GNU ld has done it since 2015 in fact. Further, glibc
> will refuse to dlopen() an object with DF_1_PIE set, as of last June;
> this seems like it would be a reasonable thing for us to do too.
> 
> glibc bug for this: https://sourceware.org/bugzilla/show_bug.cgi?id=24323

I can do it.  What if such object is referenced by DT_NEEDED ?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200530233928.GM48478>