[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#68179: Re: automake-1.16j on OpenBSD
From: |
Bruno Haible |
Subject: |
bug#68179: Re: automake-1.16j on OpenBSD |
Date: |
Tue, 20 Feb 2024 13:51:30 +0100 |
Bogdan wrote:
> # Ensure install-strip works when STRIP consists of more than one word.
> # This test needs GNU binutils strip. See sister test 'strip3.sh'.
>
>
> And, frankly, I don't know what to do about this. It's the whole
> point of the test to use 'strip --verbose' (well, 'strip' + any word,
> actually).
Here's the point. On a system with GNU binutils, "man strip" shows
the options
[-s|--strip-all]
[-S|-g|-d|--strip-debug]
[-v|--verbose]
[-x|--discard-all]
(among others).
Whereas on OpenBSD, "man strip" shows that it's in fact 'llvm-strip'
and that it supports the options
[-s|--strip-all]
[-S|-g|-d|--strip-debug]
[-x|--discard-all]
(among others), but not [-v|--verbose].
Then there's also AIX 'strip', which understands
-l
-x
and Solaris 'strip', which understands
-l
-x
as well.
So, in summary, I suggest to use the option '-x' instead of '--verbose'.
It makes the t/strip2.sh test succeed on OpenBSD. Then you can remove the
comment "This test needs GNU binutils strip.".
Bruno
bug#68179: Re: automake-1.16j on OpenBSD, Bruno Haible, 2024/02/18