bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
* relocatable.texi: remove mention of OpenBSD?
@ 2021-01-26  8:20 Reuben Thomas
  2021-01-26  9:36 ` Bruno Haible
  0 siblings, 1 reply; 4+ messages in thread
From: Reuben Thomas @ 2021-01-26  8:20 UTC (permalink / raw
  To: bug-gnulib

[-- Attachment #1: Type: text/plain, Size: 413 bytes --]

doc/relocatable.texi contains the following text:


>  Also, installation with
> @option{--enable-relocatable} might not work on OpenBSD, when the
> package contains shared libraries and libtool versions 1.5.xx are used.
>

I checked, and the last version of OpenBSD to ship with libtool 1.5 was
5.0, support for which ended in November 2012. Perhaps this text can
therefore be removed?

-- 
https://rrt.sc3d.org

[-- Attachment #2: Type: text/html, Size: 1188 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: relocatable.texi: remove mention of OpenBSD?
  2021-01-26  8:20 relocatable.texi: remove mention of OpenBSD? Reuben Thomas
@ 2021-01-26  9:36 ` Bruno Haible
  2021-01-26 12:56   ` Reuben Thomas
  0 siblings, 1 reply; 4+ messages in thread
From: Bruno Haible @ 2021-01-26  9:36 UTC (permalink / raw
  To: bug-gnulib; +Cc: Reuben Thomas

Hi Reuben,

> doc/relocatable.texi contains the following text:
> 
> 
> >  Also, installation with
> > @option{--enable-relocatable} might not work on OpenBSD, when the
> > package contains shared libraries and libtool versions 1.5.xx are used.
> >
> 
> I checked, and the last version of OpenBSD to ship with libtool 1.5 was
> 5.0, support for which ended in November 2012. Perhaps this text can
> therefore be removed?

This text was written (see 'git annotate doc/relocatable.texi') in 2007,
that is, one year before libtool 2.2 was released. It was based on a
prediction about how libtool versions 2.x would behave [1]. Have you
verified that this prediction has come true?

Bruno

[1] https://lists.gnu.org/archive/html/bug-gnulib/2007-03/msg00011.html



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: relocatable.texi: remove mention of OpenBSD?
  2021-01-26  9:36 ` Bruno Haible
@ 2021-01-26 12:56   ` Reuben Thomas
  2021-01-26 16:26     ` Bruno Haible
  0 siblings, 1 reply; 4+ messages in thread
From: Reuben Thomas @ 2021-01-26 12:56 UTC (permalink / raw
  To: Bruno Haible; +Cc: bug-gnulib

[-- Attachment #1: Type: text/plain, Size: 1116 bytes --]

On Tue, 26 Jan 2021 at 09:36, Bruno Haible <bruno@clisp.org> wrote:

> Hi Reuben,
>
> > doc/relocatable.texi contains the following text:
> >
> >
> > >  Also, installation with
> > > @option{--enable-relocatable} might not work on OpenBSD, when the
> > > package contains shared libraries and libtool versions 1.5.xx are used.
> > >
> >
> > I checked, and the last version of OpenBSD to ship with libtool 1.5 was
> > 5.0, support for which ended in November 2012. Perhaps this text can
> > therefore be removed?
>
> This text was written (see 'git annotate doc/relocatable.texi') in 2007,
> that is, one year before libtool 2.2 was released. It was based on a
> prediction about how libtool versions 2.x would behave [1]. Have you
> verified that this prediction has come true?
>

Thanks for looking into this!

I believe the prediction has come true; from libtool's NEWS for version
2.1b:

  - On (AIX?,) HP-UX, and OpenBSD, hardcoding has been changed to prefer
    rpath over absolute dependent library names.  This fixes DESTDIR
    installs, among others, on the non-HP-UX/PA systems.

-- 
https://rrt.sc3d.org

[-- Attachment #2: Type: text/html, Size: 2184 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: relocatable.texi: remove mention of OpenBSD?
  2021-01-26 12:56   ` Reuben Thomas
@ 2021-01-26 16:26     ` Bruno Haible
  0 siblings, 0 replies; 4+ messages in thread
From: Bruno Haible @ 2021-01-26 16:26 UTC (permalink / raw
  To: Reuben Thomas; +Cc: bug-gnulib

Reuben Thomas wrote:
> I believe the prediction has come true; from libtool's NEWS for version
> 2.1b:
> 
>   - On (AIX?,) HP-UX, and OpenBSD, hardcoding has been changed to prefer
>     rpath over absolute dependent library names.  This fixes DESTDIR
>     installs, among others, on the non-HP-UX/PA systems.

Thanks; now I believe it. Done:


2021-01-26  Bruno Haible  <bruno@clisp.org>

	doc: Remove obsolete text.
	Suggested by Reuben Thomas <rrt@sc3d.org> in
	<https://lists.gnu.org/archive/html/bug-gnulib/2021-01/msg00299.html>.
	* doc/relocatable.texi (Enabling Relocatability): Stop mentioning an
	issue of libtool 1.5.x.

diff --git a/doc/relocatable.texi b/doc/relocatable.texi
index fca0ea5..d2b5033 100644
--- a/doc/relocatable.texi
+++ b/doc/relocatable.texi
@@ -52,9 +52,7 @@ make install DESTDIR=/tmp/inst$$
 
 Installation with @option{--enable-relocatable} will not work for
 setuid or setgid executables, because such executables search only
-system library paths for security reasons.  Also, installation with
-@option{--enable-relocatable} might not work on OpenBSD, when the
-package contains shared libraries and libtool versions 1.5.xx are used.
+system library paths for security reasons.
 
 The runtime penalty and size penalty are negligible on GNU/Linux (just
 one system call more when an executable is launched), and small on



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-01-26 16:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-26  8:20 relocatable.texi: remove mention of OpenBSD? Reuben Thomas
2021-01-26  9:36 ` Bruno Haible
2021-01-26 12:56   ` Reuben Thomas
2021-01-26 16:26     ` Bruno Haible

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).