source: general/prog/elfutils.xml@ 57945e0

10.0 10.1 11.0 11.1 7.10 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus nosym perl-modules qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since 57945e0 was 57945e0, checked in by Ken Moffat <ken@…>, 7 years ago

tags

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@15886 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY elfutils-download-http
8 "https://fedorahosted.org/releases/e/l/elfutils/&elfutils-version;/elfutils-&elfutils-version;.tar.bz2">
9 <!ENTITY elfutils-download-ftp " ">
10 <!ENTITY elfutils-md5sum "e1b9847c9a6a1ad340de8d47a863ec52">
11 <!ENTITY elfutils-size "5.3 MB">
12 <!ENTITY elfutils-buildsize "94 MB (additional 3 MB for the tests)">
13 <!ENTITY elfutils-time "0.8 SBU (additional 0.2 SBU for the tests)">
14]>
15
16<sect1 id="elfutils" xreflabel="elfutils-&elfutils-version;">
17 <?dbhtml filename="elfutils.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>elfutils-&elfutils-version;</title>
25
26 <indexterm zone="elfutils">
27 <primary sortas="a-elfutils">elfutils</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to elfutils</title>
32
33 <para>
34 The <application>elfutils</application> package contains set of utilities
35 and libraries for handling ELF (Executable and Linkable Format) files.
36 </para>
37
38 &lfs77_checked; &gcc5_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&elfutils-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&elfutils-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &elfutils-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &elfutils-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &elfutils-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &elfutils-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <para condition="html" role="usernotes">
75 User Notes: <ulink url="&blfs-wiki;/elfutils"/>
76 </para>
77 </sect2>
78
79 <sect2 role="installation">
80 <title>Installation of elfutils</title>
81
82 <para>
83 Install <application>elfutils</application> by running the following
84 commands:
85 </para>
86
87<!-- don't disable static libs, disable-static switch doesn't work anyways -->
88<screen><userinput>sed -e '/*runp =/,+2d' \
89 -e '/runp +=/s/r.*;/*runp++ = '\0';/' \
90 -i libelf/elf_begin.c &amp;&amp;
91
92./configure --prefix=/usr --program-prefix="eu-" &amp;&amp;
93make</userinput></screen>
94
95 <para>
96 If you wish to run the test suite, first fix it to skip two failing tests:
97 </para>
98
99<screen><userinput>sed -i '/srcdir/ iexit 77\n' \
100 tests/run-backtrace-native.sh \
101 tests/run-backtrace-native-core.sh</userinput></screen>
102
103 <para>
104 To test the results, issue: <command>make check</command>.
105 </para>
106
107 <para>
108 Now, as the <systemitem class="username">root</systemitem> user:
109 </para>
110
111<screen role="root"><userinput>make install</userinput></screen>
112
113 </sect2>
114
115 <sect2 role="commands">
116 <title>Command Explanations</title>
117
118 <para>
119 <command>sed ... libelf/elf_begin.c</command>: This command fixes a
120 potiential vulnerability identified upstream.
121 </para>
122
123 <para>
124 <parameter>--program-prefix="eu-"</parameter>: This switch renames installed
125 programs to avoid conflict with <application>Binutils</application> programs
126 installed in LFS.
127 </para>
128
129 </sect2>
130
131 <sect2 role="content">
132 <title>Contents</title>
133
134 <segmentedlist>
135 <segtitle>Installed Programs</segtitle>
136 <segtitle>Installed Libraries</segtitle>
137 <segtitle>Installed Directories</segtitle>
138
139 <seglistitem>
140 <seg>
141 eu-addr2line, eu-ar, eu-elfcmp, eu-elflint, eu-findtextrel, eu-ld,
142 eu-make-debug-archive, eu-nm, eu-objdump, eu-ranlib, eu-readelf,
143 eu-size, eu-stack, eu-strings, eu-strip, and eu-unstrip
144 </seg>
145 <seg>
146 libasm.{a,so}, libdw.{a,so}, libebl.a, libelf.{a,so}, and
147 some for different architectures under /usr/lib/elfutils
148 </seg>
149 <seg>
150 /usr/include/elfutils and
151 /usr/lib/elfutils
152 </seg>
153 </seglistitem>
154 </segmentedlist>
155
156 </sect2>
157
158</sect1>
Note: See TracBrowser for help on using the repository browser.