blob: 61049523a097876e00f6d53024dfa20c28fd91c7 [file] [log] [blame]
Andrew Geisslerf0343792020-11-18 10:42:21 -06001.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Andrew Geisslerc9f78652020-09-18 14:11:35 -05002
3***
4FAQ
5***
6
Andrew Geissler4c19ea12020-10-27 13:52:24 -05007**Q:** How does Poky differ from :oe_home:`OpenEmbedded <>`?
Andrew Geisslerc9f78652020-09-18 14:11:35 -05008
9**A:** The term ``Poky`` refers to the specific reference build
10system that the Yocto Project provides. Poky is based on
11:term:`OpenEmbedded-Core (OE-Core)` and :term:`BitBake`. Thus, the
12generic term used here for the build system is the "OpenEmbedded build
13system." Development in the Yocto Project using Poky is closely tied to
14OpenEmbedded, with changes always being merged to OE-Core or BitBake
15first before being pulled back into Poky. This practice benefits both
16projects immediately.
17
18**Q:** My development system does not meet the required Git, tar, and
Andrew Geissler3b8a17c2021-04-15 15:55:55 -050019Python versions. In particular, I do not have Python &MIN_PYTHON_VERSION; or greater.
Andrew Geisslerc9f78652020-09-18 14:11:35 -050020Can I still use the Yocto Project?
21
22**A:** You can get the required tools on your host development system a
23couple different ways (i.e. building a tarball or downloading a
Andrew Geissler4c19ea12020-10-27 13:52:24 -050024tarball). See the
Andrew Geissler615f2f12022-07-15 14:00:58 -050025":ref:`ref-manual/system-requirements:required git, tar, python, make and gcc versions`"
Andrew Geissler4c19ea12020-10-27 13:52:24 -050026section for steps on how to update your build tools.
Andrew Geisslerc9f78652020-09-18 14:11:35 -050027
28**Q:** How can you claim Poky / OpenEmbedded-Core is stable?
29
30**A:** There are three areas that help with stability;
31
32- The Yocto Project team keeps :term:`OpenEmbedded-Core (OE-Core)` small and
33 focused, containing around 830 recipes as opposed to the thousands
34 available in other OpenEmbedded community layers. Keeping it small
35 makes it easy to test and maintain.
36
37- The Yocto Project team runs manual and automated tests using a small,
38 fixed set of reference hardware as well as emulated targets.
39
40- The Yocto Project uses an autobuilder, which provides continuous
41 build and integration tests.
42
43**Q:** How do I get support for my board added to the Yocto Project?
44
45**A:** Support for an additional board is added by creating a Board
46Support Package (BSP) layer for it. For more information on how to
47create a BSP layer, see the
Andrew Geissler09209ee2020-12-13 08:44:15 -060048":ref:`dev-manual/common-tasks:understanding and creating layers`"
Andrew Geisslerc9f78652020-09-18 14:11:35 -050049section in the Yocto Project Development Tasks Manual and the
Andrew Geissler09209ee2020-12-13 08:44:15 -060050:doc:`/bsp-guide/index`.
Andrew Geisslerc9f78652020-09-18 14:11:35 -050051
52Usually, if the board is not completely exotic, adding support in the
53Yocto Project is fairly straightforward.
54
55**Q:** Are there any products built using the OpenEmbedded build system?
56
57**A:** The software running on the `Vernier
Andrew Geisslerd1e89492021-02-12 15:35:20 -060058LabQuest <https://vernier.com/labquest/>`__ is built using the
Andrew Geisslerc9f78652020-09-18 14:11:35 -050059OpenEmbedded build system. See the `Vernier
Andrew Geisslerd1e89492021-02-12 15:35:20 -060060LabQuest <https://www.vernier.com/products/interfaces/labq/>`__ website
Andrew Geisslerc9f78652020-09-18 14:11:35 -050061for more information. There are a number of pre-production devices using
62the OpenEmbedded build system and the Yocto Project team announces them
63as soon as they are released.
64
65**Q:** What does the OpenEmbedded build system produce as output?
66
67**A:** Because you can use the same set of recipes to create output of
68various formats, the output of an OpenEmbedded build depends on how you
69start it. Usually, the output is a flashable image ready for the target
70device.
71
72**Q:** How do I add my package to the Yocto Project?
73
74**A:** To add a package, you need to create a BitBake recipe. For
75information on how to create a BitBake recipe, see the
Andrew Geissler09209ee2020-12-13 08:44:15 -060076":ref:`dev-manual/common-tasks:writing a new recipe`"
Andrew Geisslerc9f78652020-09-18 14:11:35 -050077section in the Yocto Project Development Tasks Manual.
78
79**Q:** Do I have to reflash my entire board with a new Yocto Project
80image when recompiling a package?
81
82**A:** The OpenEmbedded build system can build packages in various
83formats such as IPK for OPKG, Debian package (``.deb``), or RPM. You can
84then upgrade the packages using the package tools on the device, much
85like on a desktop distribution such as Ubuntu or Fedora. However,
86package management on the target is entirely optional.
87
88**Q:** I see the error
89'``chmod: XXXXX new permissions are r-xrwxrwx, not r-xr-xr-x``'. What is
90wrong?
91
92**A:** You are probably running the build on an NTFS filesystem. Use
93``ext2``, ``ext3``, or ``ext4`` instead.
94
95**Q:** I see lots of 404 responses for files when the OpenEmbedded build
96system is trying to download sources. Is something wrong?
97
98**A:** Nothing is wrong. The OpenEmbedded build system checks any
99configured source mirrors before downloading from the upstream sources.
100The build system does this searching for both source archives and
101pre-checked out versions of SCM-managed software. These checks help in
102large installations because it can reduce load on the SCM servers
103themselves. The address above is one of the default mirrors configured
104into the build system. Consequently, if an upstream source disappears,
105the team can place sources there so builds continue to work.
106
107**Q:** I have machine-specific data in a package for one machine only
108but the package is being marked as machine-specific in all cases, how do
109I prevent this?
110
Andrew Geissler09036742021-06-25 14:25:14 -0500111**A:** Set :term:`SRC_URI_OVERRIDES_PACKAGE_ARCH` = "0" in the ``.bb`` file
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500112but make sure the package is manually marked as machine-specific for the
113case that needs it. The code that handles
Andrew Geissler09036742021-06-25 14:25:14 -0500114:term:`SRC_URI_OVERRIDES_PACKAGE_ARCH` is in the
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500115``meta/classes/base.bbclass`` file.
116
117**Q:** I'm behind a firewall and need to use a proxy server. How do I do
118that?
119
120**A:** Most source fetching by the OpenEmbedded build system is done by
121``wget`` and you therefore need to specify the proxy settings in a
122``.wgetrc`` file, which can be in your home directory if you are a
123single user or can be in ``/usr/local/etc/wgetrc`` as a global user
124file.
125
126Following is the applicable code for setting various proxy types in the
127``.wgetrc`` file. By default, these settings are disabled with comments.
Andrew Geisslerc926e172021-05-07 16:11:35 -0500128To use them, remove the comments::
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500129
130 # You can set the default proxies for Wget to use for http, https, and ftp.
131 # They will override the value in the environment.
132 #https_proxy = http://proxy.yoyodyne.com:18023/
133 #http_proxy = http://proxy.yoyodyne.com:18023/
134 #ftp_proxy = http://proxy.yoyodyne.com:18023/
135
136 # If you do not want to use proxy at all, set this to off.
137 #use_proxy = on
138
139The Yocto Project also includes a
Andrew Geissler87f5cff2022-09-30 13:13:31 -0500140``meta-poky/conf/templates/default/site.conf.sample`` file that shows
141how to configure CVS and Git proxy servers if needed. For more
142information on setting up various proxy types and configuring proxy
143servers, see the
Andrew Geissler09209ee2020-12-13 08:44:15 -0600144":yocto_wiki:`Working Behind a Network Proxy </Working_Behind_a_Network_Proxy>`"
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500145Wiki page.
146
Andrew Geisslereff27472021-10-29 15:35:00 -0500147**Q:** What's the difference between ``target`` and ``target-native``?
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500148
149**A:** The ``*-native`` targets are designed to run on the system being
150used for the build. These are usually tools that are needed to assist
151the build in some way such as ``quilt-native``, which is used to apply
152patches. The non-native version is the one that runs on the target
153device.
154
155**Q:** I'm seeing random build failures. Help?!
156
157**A:** If the same build is failing in totally different and random
158ways, the most likely explanation is:
159
160- The hardware you are running the build on has some problem.
161
162- You are running the build under virtualization, in which case the
163 virtualization probably has bugs.
164
165The OpenEmbedded build system processes a massive amount of data that
166causes lots of network, disk and CPU activity and is sensitive to even
167single-bit failures in any of these areas. True random failures have
168always been traced back to hardware or virtualization issues.
169
170**Q:** When I try to build a native recipe, the build fails with
171``iconv.h`` problems.
172
173**A:** If you get an error message that indicates GNU ``libiconv`` is
174not in use but ``iconv.h`` has been included from ``libiconv``, you need
175to check to see if you have a previously installed version of the header
176file in ``/usr/local/include``.
177::
178
179 #error GNU libiconv not in use but included iconv.h is from libiconv
180
181If you find a previously installed
182file, you should either uninstall it or temporarily rename it and try
183the build again.
184
185This issue is just a single manifestation of "system leakage" issues
186caused when the OpenEmbedded build system finds and uses previously
187installed files during a native build. This type of issue might not be
188limited to ``iconv.h``. Be sure that leakage cannot occur from
189``/usr/local/include`` and ``/opt`` locations.
190
191**Q:** What do we need to ship for license compliance?
192
193**A:** This is a difficult question and you need to consult your lawyer
194for the answer for your specific case. It is worth bearing in mind that
195for GPL compliance, there needs to be enough information shipped to
196allow someone else to rebuild and produce the same end result you are
197shipping. This means sharing the source code, any patches applied to it,
198and also any configuration information about how that package was
199configured and built.
200
201You can find more information on licensing in the
Andrew Geissler09209ee2020-12-13 08:44:15 -0600202":ref:`overview-manual/development-environment:licensing`"
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500203section in the Yocto
204Project Overview and Concepts Manual and also in the
Andrew Geissler09209ee2020-12-13 08:44:15 -0600205":ref:`dev-manual/common-tasks:maintaining open source license compliance during your product's lifecycle`"
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500206section in the Yocto Project Development Tasks Manual.
207
208**Q:** How do I disable the cursor on my touchscreen device?
209
210**A:** You need to create a form factor file as described in the
Andrew Geissler6ce62a22020-11-30 19:58:47 -0600211":ref:`bsp-guide/bsp:miscellaneous bsp-specific recipe files`" section in
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500212the Yocto Project Board Support Packages (BSP) Developer's Guide. Set
Andrew Geisslerc926e172021-05-07 16:11:35 -0500213the ``HAVE_TOUCHSCREEN`` variable equal to one as follows::
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500214
215 HAVE_TOUCHSCREEN=1
216
217**Q:** How do I make sure connected network interfaces are brought up by
218default?
219
220**A:** The default interfaces file provided by the netbase recipe does
221not automatically bring up network interfaces. Therefore, you will need
222to add a BSP-specific netbase that includes an interfaces file. See the
Andrew Geissler6ce62a22020-11-30 19:58:47 -0600223":ref:`bsp-guide/bsp:miscellaneous bsp-specific recipe files`" section in
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500224the Yocto Project Board Support Packages (BSP) Developer's Guide for
225information on creating these types of miscellaneous recipe files.
226
Andrew Geisslerc926e172021-05-07 16:11:35 -0500227For example, add the following files to your layer::
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500228
229 meta-MACHINE/recipes-bsp/netbase/netbase/MACHINE/interfaces
230 meta-MACHINE/recipes-bsp/netbase/netbase_5.0.bbappend
231
232**Q:** How do I create images with more free space?
233
234**A:** By default, the OpenEmbedded build system creates images that are
2351.3 times the size of the populated root filesystem. To affect the image
236size, you need to set various configurations:
237
238- *Image Size:* The OpenEmbedded build system uses the
239 :term:`IMAGE_ROOTFS_SIZE` variable to define
240 the size of the image in Kbytes. The build system determines the size
241 by taking into account the initial root filesystem size before any
242 modifications such as requested size for the image and any requested
243 additional free disk space to be added to the image.
244
245- *Overhead:* Use the
246 :term:`IMAGE_OVERHEAD_FACTOR` variable
247 to define the multiplier that the build system applies to the initial
248 image size, which is 1.3 by default.
249
250- *Additional Free Space:* Use the
251 :term:`IMAGE_ROOTFS_EXTRA_SPACE`
252 variable to add additional free space to the image. The build system
253 adds this space to the image after it determines its
Andrew Geissler09036742021-06-25 14:25:14 -0500254 :term:`IMAGE_ROOTFS_SIZE`.
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500255
256**Q:** Why don't you support directories with spaces in the pathnames?
257
258**A:** The Yocto Project team has tried to do this before but too many
259of the tools the OpenEmbedded build system depends on, such as
260``autoconf``, break when they find spaces in pathnames. Until that
261situation changes, the team will not support spaces in pathnames.
262
263**Q:** How do I use an external toolchain?
264
265**A:** The toolchain configuration is very flexible and customizable. It
Andrew Geissler09036742021-06-25 14:25:14 -0500266is primarily controlled with the :term:`TCMODE` variable. This variable
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500267controls which ``tcmode-*.inc`` file to include from the
268``meta/conf/distro/include`` directory within the :term:`Source Directory`.
269
Andrew Geissler09036742021-06-25 14:25:14 -0500270The default value of :term:`TCMODE` is "default", which tells the
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500271OpenEmbedded build system to use its internally built toolchain (i.e.
272``tcmode-default.inc``). However, other patterns are accepted. In
273particular, "external-\*" refers to external toolchains. One example is
274the Sourcery G++ Toolchain. The support for this toolchain resides in
275the separate ``meta-sourcery`` layer at
Andrew Geisslerd1e89492021-02-12 15:35:20 -0600276https://github.com/MentorEmbedded/meta-sourcery/.
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500277
278In addition to the toolchain configuration, you also need a
279corresponding toolchain recipe file. This recipe file needs to package
280up any pre-built objects in the toolchain such as ``libgcc``,
281``libstdcc++``, any locales, and ``libc``.
282
283**Q:** How does the OpenEmbedded build system obtain source code and
284will it work behind my firewall or proxy server?
285
286**A:** The way the build system obtains source code is highly
287configurable. You can setup the build system to get source code in most
288environments if HTTP transport is available.
289
290When the build system searches for source code, it first tries the local
291download directory. If that location fails, Poky tries
292:term:`PREMIRRORS`, the upstream source, and then
293:term:`MIRRORS` in that order.
294
295Assuming your distribution is "poky", the OpenEmbedded build system uses
Andrew Geissler5f350902021-07-23 13:09:54 -0400296the Yocto Project source :term:`PREMIRRORS` by default for SCM-based
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500297sources, upstreams for normal tarballs, and then falls back to a number
298of other mirrors including the Yocto Project source mirror if those
299fail.
300
301As an example, you could add a specific server for the build system to
302attempt before any others by adding something like the following to the
Andrew Geisslerc926e172021-05-07 16:11:35 -0500303``local.conf`` configuration file::
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500304
Patrick Williams0ca19cc2021-08-16 14:03:13 -0500305 PREMIRRORS:prepend = "\
Andrew Geissler595f6302022-01-24 19:11:47 +0000306 git://.*/.* &YOCTO_DL_URL;/mirror/sources/ \
307 ftp://.*/.* &YOCTO_DL_URL;/mirror/sources/ \
308 http://.*/.* &YOCTO_DL_URL;/mirror/sources/ \
309 https://.*/.* &YOCTO_DL_URL;/mirror/sources/"
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500310
311These changes cause the build system to intercept Git, FTP, HTTP, and
312HTTPS requests and direct them to the ``http://`` sources mirror. You
313can use ``file://`` URLs to point to local directories or network shares
314as well.
315
William A. Kennington IIIac69b482021-06-02 12:28:27 -0700316Here are other options::
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500317
318 BB_NO_NETWORK = "1"
319
320This statement tells BitBake to issue an error
321instead of trying to access the Internet. This technique is useful if
322you want to ensure code builds only from local sources.
323
Andrew Geisslerc926e172021-05-07 16:11:35 -0500324Here is another technique::
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500325
326 BB_FETCH_PREMIRRORONLY = "1"
327
328This statement
Andrew Geissler09036742021-06-25 14:25:14 -0500329limits the build system to pulling source from the :term:`PREMIRRORS` only.
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500330Again, this technique is useful for reproducing builds.
331
Andrew Geisslerc926e172021-05-07 16:11:35 -0500332Here is another technique::
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500333
334 BB_GENERATE_MIRROR_TARBALLS = "1"
335
336This
337statement tells the build system to generate mirror tarballs. This
338technique is useful if you want to create a mirror server. If not,
339however, the technique can simply waste time during the build.
340
341Finally, consider an example where you are behind an HTTP-only firewall.
342You could make the following changes to the ``local.conf`` configuration
Andrew Geissler09036742021-06-25 14:25:14 -0500343file as long as the :term:`PREMIRRORS` server is current::
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500344
Patrick Williams0ca19cc2021-08-16 14:03:13 -0500345 PREMIRRORS:prepend = "\
Andrew Geissler595f6302022-01-24 19:11:47 +0000346 git://.*/.* &YOCTO_DL_URL;/mirror/sources/ \
347 ftp://.*/.* &YOCTO_DL_URL;/mirror/sources/ \
348 http://.*/.* &YOCTO_DL_URL;/mirror/sources/ \
349 https://.*/.* &YOCTO_DL_URL;/mirror/sources/"
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500350 BB_FETCH_PREMIRRORONLY = "1"
351
352These changes would cause the build system to successfully fetch source
353over HTTP and any network accesses to anything other than the
Andrew Geissler09036742021-06-25 14:25:14 -0500354:term:`PREMIRRORS` would fail.
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500355
356The build system also honors the standard shell environment variables
357``http_proxy``, ``ftp_proxy``, ``https_proxy``, and ``all_proxy`` to
358redirect requests through proxy servers.
359
360.. note::
361
362 You can find more information on the
Andrew Geissler09209ee2020-12-13 08:44:15 -0600363 ":yocto_wiki:`Working Behind a Network Proxy </Working_Behind_a_Network_Proxy>`"
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500364 Wiki page.
365
366**Q:** Can I get rid of build output so I can start over?
367
Andrew Geissler615f2f12022-07-15 14:00:58 -0500368**A:** Yes --- you can easily do this. When you use BitBake to build an
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500369image, all the build output goes into the directory created when you run
370the build environment setup script (i.e.
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500371:ref:`structure-core-script`). By default, this :term:`Build Directory`
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500372is named ``build`` but can be named
373anything you want.
374
375Within the Build Directory, is the ``tmp`` directory. To remove all the
376build output yet preserve any source code or downloaded files from
377previous builds, simply remove the ``tmp`` directory.
378
379**Q:** Why do ``${bindir}`` and ``${libdir}`` have strange values for
380``-native`` recipes?
381
382**A:** Executables and libraries might need to be used from a directory
383other than the directory into which they were initially installed.
384Complicating this situation is the fact that sometimes these executables
385and libraries are compiled with the expectation of being run from that
386initial installation target directory. If this is the case, moving them
387causes problems.
388
389This scenario is a fundamental problem for package maintainers of
390mainstream Linux distributions as well as for the OpenEmbedded build
391system. As such, a well-established solution exists. Makefiles,
392Autotools configuration scripts, and other build systems are expected to
393respect environment variables such as ``bindir``, ``libdir``, and
394``sysconfdir`` that indicate where executables, libraries, and data
395reside when a program is actually run. They are also expected to respect
396a ``DESTDIR`` environment variable, which is prepended to all the other
397variables when the build system actually installs the files. It is
398understood that the program does not actually run from within
399``DESTDIR``.
400
401When the OpenEmbedded build system uses a recipe to build a
402target-architecture program (i.e. one that is intended for inclusion on
403the image being built), that program eventually runs from the root file
404system of that image. Thus, the build system provides a value of
405"/usr/bin" for ``bindir``, a value of "/usr/lib" for ``libdir``, and so
406forth.
407
408Meanwhile, ``DESTDIR`` is a path within the :term:`Build Directory`.
409However, when the recipe builds a
410native program (i.e. one that is intended to run on the build machine),
411that program is never installed directly to the build machine's root
412file system. Consequently, the build system uses paths within the Build
413Directory for ``DESTDIR``, ``bindir`` and related variables. To better
414understand this, consider the following two paths where the first is
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500415relatively normal and the second is not:
416
417.. note::
418
419 Due to these lengthy examples, the paths are artificially broken
420 across lines for readability.
421
422::
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500423
424 /home/maxtothemax/poky-bootchart2/build/tmp/work/i586-poky-linux/zlib/
425 1.2.8-r0/sysroot-destdir/usr/bin
426
427 /home/maxtothemax/poky-bootchart2/build/tmp/work/x86_64-linux/
428 zlib-native/1.2.8-r0/sysroot-destdir/home/maxtothemax/poky-bootchart2/
429 build/tmp/sysroots/x86_64-linux/usr/bin
430
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500431Even if the paths look unusual,
Andrew Geissler615f2f12022-07-15 14:00:58 -0500432they both are correct --- the first for a target and the second for a
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500433native recipe. These paths are a consequence of the ``DESTDIR``
434mechanism and while they appear strange, they are correct and in
435practice very effective.
436
437**Q:** The files provided by my ``*-native`` recipe do not appear to be
438available to other recipes. Files are missing from the native sysroot,
439my recipe is installing to the wrong place, or I am getting permissions
440errors during the do_install task in my recipe! What is wrong?
441
442**A:** This situation results when a build system does not recognize the
443environment variables supplied to it by :term:`BitBake`. The
444incident that prompted this FAQ entry involved a Makefile that used an
445environment variable named ``BINDIR`` instead of the more standard
446variable ``bindir``. The makefile's hardcoded default value of
447"/usr/bin" worked most of the time, but not for the recipe's ``-native``
448variant. For another example, permissions errors might be caused by a
449Makefile that ignores ``DESTDIR`` or uses a different name for that
Andrew Geissler3b8a17c2021-04-15 15:55:55 -0500450environment variable. Check the build system to see if these kinds
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500451of issues exist.
Andrew Geissler6ce62a22020-11-30 19:58:47 -0600452
453**Q:** I'm adding a binary in a recipe but it's different in the image, what is
454changing it?
455
456**A:** The first most obvious change is the system stripping debug symbols from
457it. Setting :term:`INHIBIT_PACKAGE_STRIP` to stop debug symbols being stripped and/or
458:term:`INHIBIT_PACKAGE_DEBUG_SPLIT` to stop debug symbols being split into a separate
Andrew Geissler9aee5002022-03-30 16:27:02 +0000459file will ensure the binary is unchanged.