| Newsgroups |
gmane.linux.lfs.book |
| Message-ID |
<175566199341.19972.631655522397030427@rivendell.linuxfromscratch.org> |
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch prepare-ml-12.5
in repository lfs.
The following commit(s) were added to refs/heads/prepare-ml-12.5 by this push:
new a1705d033 Add libsigsegv
a1705d033 is described below
commit a1705d0337fd955cd248ab4022d464ccb09d852b
Author: Thomas Trepl <[email protected]>
AuthorDate: Wed Aug 20 05:52:59 2025 +0200
Add libsigsegv
---
chapter03/packages.xml | 9 ++++
chapter08/chapter08.xml | 1 +
chapter08/libsigsegv.xml | 130 +++++++++++++++++++++++++++++++++++++++++++++++
packages.ent | 8 +++
4 files changed, 148 insertions(+)
diff --git a/chapter03/packages.xml b/chapter03/packages.xml
index 3251d3239..42fda37fb 100644
--- a/chapter03/packages.xml
+++ b/chapter03/packages.xml
@@ -448,6 +448,15 @@
</listitem>
</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>
<term>Libtool (&libtool-version;) - <token>&libtool-size;</token>:</term>
<listitem>
diff --git a/chapter08/chapter08.xml b/chapter08/chapter08.xml
index e50ecea85..cf274d26b 100644
--- a/chapter08/chapter08.xml
+++ b/chapter08/chapter08.xml
@@ -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="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="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="bc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="flex.xml"/>
diff --git a/chapter08/libsigsegv.xml b/chapter08/libsigsegv.xml
new file mode 100644
index 000000000..102e6c270
--- /dev/null
+++ b/chapter08/libsigsegv.xml
@@ -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>
diff --git a/packages.ent b/packages.ent
index 53840b88a..c78f221a2 100644
--- a/packages.ent
+++ b/packages.ent
@@ -415,6 +415,14 @@
<!ENTITY libpipeline-fin-du "10 MB">
<!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-size "1,033 KB">
<!ENTITY libtool-url "&gnu;libtool/libtool-&libtool-version;.tar.xz">
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
--
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page