[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libsigsegv on LinuxFromScratch
From: |
Bruce Dubbs |
Subject: |
Re: libsigsegv on LinuxFromScratch |
Date: |
Fri, 18 Sep 2020 18:47:31 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
On 9/18/20 6:24 PM, Bruno Haible wrote:
Bruce Dubbs wrote in
<https://lists.gnu.org/r/grep-devel/2020-09/msg00052.html>
<https://lists.gnu.org/r/grep-devel/2020-09/msg00053.html> :
checking for libsigsegv... yes
checking how to link with libsigsegv... -lsigsegv
I get:
checking for libsigsegv... yes
checking how to link with libsigsegv... /usr/lib/libsigsegv.so
/usr/lib/libc.a
Is this really a multiline string (also in the value of LIBSIGSEGV in
.sconfigtatus)? Or are these space-separated values?
It's email wrapping. It is one line in the log.
$ grep LIBSIGSEGV config.status
S["LIBSIGSEGV_PREFIX"]="/usr"
S["LTLIBSIGSEGV"]="-L/usr/lib -lsigsegv -lc"
S["LIBSIGSEGV"]="/usr/lib/libsigsegv.so -lc"
S["HAVE_LIBSIGSEGV"]="yes"
D["HAVE_LIBSIGSEGV"]=" 1"
D["HAVE_LIBSIGSEGV"]=" 1"
In the latter case, is linking with libc.a normally working?
No it is not.
Also, if there is a file /usr/lib/libsigsegv.la, can you please show
its contents?
# libsigsegv.la - a libtool library file
# Generated by libtool (GNU libtool) 2.4.6
#
# Please DO NOT delete this file!
# It is necessary for linking the library.
# The name that we can dlopen(3).
dlname='libsigsegv.so.2'
# Names of this library.
library_names='libsigsegv.so.2.0.5 libsigsegv.so.2 libsigsegv.so'
# The name of the static archive.
old_library=''
# Linker flags that cannot go in dependency_libs.
inherited_linker_flags=''
# Libraries that this one depends upon.
dependency_libs=' -lc'
# Names of additional weak libraries provided by this library
weak_library_names=''
# Version information for libsigsegv.
current=2
age=0
revision=5
# Is this an already installed library?
installed=yes
# Should we warn about portability when linking against -modules?
shouldnotlink=no
# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''
# Directory that this library needs to be installed in:
libdir='/usr/lib'
----------
But I think the problem is libc.a, not libsigsegv.
One additional note: adding --prefix=/usr to configure causes the
problem. If I only add --bindir=/bin, then the problem does not occur.
-- Bruce
- new snapshot available: grep-3.4-almost.26-5419, Jim Meyering, 2020/09/18
- Re: new snapshot available: grep-3.4-almost.26-5419, Bruce Dubbs, 2020/09/18
- Re: new snapshot available: grep-3.4-almost.26-5419, Jim Meyering, 2020/09/18
- Re: new snapshot available: grep-3.4-almost.26-5419, Bruce Dubbs, 2020/09/18
- Re: new snapshot available: grep-3.4-almost.26-5419, Bruce Dubbs, 2020/09/18
- Re: new snapshot available: grep-3.4-almost.26-5419, Paul Eggert, 2020/09/19
- Re: new snapshot available: grep-3.4-almost.26-5419, Bruce Dubbs, 2020/09/18
- Re: libsigsegv on LinuxFromScratch, Bruno Haible, 2020/09/18
- Re: libsigsegv on LinuxFromScratch,
Bruce Dubbs <=
- Re: libsigsegv on LinuxFromScratch, Bruce Dubbs, 2020/09/19
- Re: libsigsegv on LinuxFromScratch, Bruno Haible, 2020/09/19
- Re: libsigsegv on LinuxFromScratch, Bruce Dubbs, 2020/09/19
- Re: libsigsegv on LinuxFromScratch, Paul Eggert, 2020/09/20
Re: new snapshot available: grep-3.4-almost.26-5419, Paul Eggert, 2020/09/18
Re: new snapshot available: grep-3.4-almost.26-5419, Paul Eggert, 2020/09/18