Add libsigsegv

This commit is contained in:
Thomas Trepl
2025-08-20 05:52:59 +02:00
parent 7920d646ba
commit a1705d0337
4 changed files with 148 additions and 0 deletions

View File

@@ -448,6 +448,15 @@
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term>Libsigsegv (&libsigsegv-version;) - <token>&libsigsegv-size;</token>:</term>
<listitem>
<para>Home page: <ulink url="&libsigsegv-home;"/></para>
<para>Download: <ulink url="&libsigsegv-url;"/></para>
<para>MD5 sum: <literal>&libsigsegv-md5;</literal></para>
</listitem>
</varlistentry>
<varlistentry> <varlistentry>
<term>Libtool (&libtool-version;) - <token>&libtool-size;</token>:</term> <term>Libtool (&libtool-version;) - <token>&libtool-size;</token>:</term>
<listitem> <listitem>

View File

@@ -23,6 +23,7 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="zstd.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="zstd.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="file.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="file.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="readline.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="readline.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libsigsegv.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="m4.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="m4.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bc.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="flex.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="flex.xml"/>

130
chapter08/libsigsegv.xml Normal file
View File

@@ -0,0 +1,130 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
%general-entities;
]>
<sect1 id="ch-system-libsigsegv" role="wrap">
<?dbhtml filename="libsigsegv.html"?>
<sect1info condition="script">
<productname>libsigsegv</productname>
<productnumber>&libsigsegv-version;</productnumber>
<address>&libsigsegv-url;</address>
</sect1info>
<title>libsigsegv-&libsigsegv-version;</title>
<indexterm zone="ch-system-libsigsegv">
<primary sortas="a-libsigsegv">libsigsegv</primary>
</indexterm>
<sect2 role="package">
<title/>
<para>
libsigsegv is a library for handling page faults in user mode. A page fault
occurs when a program tries to access to a region of memory that is
currently not available. Catching and handling a page fault is a useful
technique for implementing pageable virtual memory, memory-mapped access
to persistent databases, generational garbage collectors, stack overflow
handlers, and distributed shared memory.
</para>
<segmentedlist>
<segtitle>&buildtime;</segtitle>
<segtitle>&diskspace;</segtitle>
<seglistitem>
<seg>&libsigsegv-fin-sbu;</seg>
<seg>&libsigsegv-fin-du;</seg>
</seglistitem>
</segmentedlist>
</sect2>
<sect2 role="installation">
<title>Installation of libsigsegv</title>
<para>
Prepare <application>libsigsegv</application> for compilation:
</para>
<screen><userinput remap="configure">./configure --prefix=/usr \
--enable-shared \
--disable-static</userinput></screen>
<variablelist>
<title>The meaning of the configure parameters:</title>
<varlistentry>
<term><parameter>--enable-shared</parameter></term>
<listitem>
<para>This switch ensures that shared
libraries are compiled.</para>
</listitem>
</varlistentry>
</variablelist>
<para>Compile the package:</para>
<screen><userinput remap="make">make</userinput></screen>
<para>
To test the results, issue:
</para>
<screen><userinput remap="test">make check</userinput></screen>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen><userinput remap="install">make install</userinput></screen>
</sect2>
<sect2 role="contents-libigsegv">
<title>Contents of libsigsegv</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>
None
</seg>
<seg>
libsigsegv.so
</seg>
<seg>
None
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libsigsegv-lib">
<term><filename class="libraryfile">libsigsegv.so</filename></term>
<listitem>
<para>
is a library for handling page faults in user mode
</para>
<indexterm zone="ch-system-libsigsegv libsigsegv-lib">
<primary sortas="c-libsigsegv">libsigsegv.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>

View File

@@ -415,6 +415,14 @@
<!ENTITY libpipeline-fin-du "10 MB"> <!ENTITY libpipeline-fin-du "10 MB">
<!ENTITY libpipeline-fin-sbu "0.1 SBU"> <!ENTITY libpipeline-fin-sbu "0.1 SBU">
<!ENTITY libsigsegv-version "2.15">
<!ENTITY libsigsegv-size "484 KB">
<!ENTITY libsigsegv-url "&gnu;libsigsegv/libsigsegv-&libsigsegv-version;.tar.gz">
<!ENTITY libsigsegv-md5 "c2885785b3e5d1c94b1adb22b3002ccc">
<!ENTITY libsigsegv-home "&gnu-software;liblibsigsegv/">
<!ENTITY libsigsegv-fin-du "3 MB">
<!ENTITY libsigsegv-fin-sbu "0.1 SBU">
<!ENTITY libtool-version "2.5.4"> <!ENTITY libtool-version "2.5.4">
<!ENTITY libtool-size "1,033 KB"> <!ENTITY libtool-size "1,033 KB">
<!ENTITY libtool-url "&gnu;libtool/libtool-&libtool-version;.tar.xz"> <!ENTITY libtool-url "&gnu;libtool/libtool-&libtool-version;.tar.xz">