<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-devtools/prelink, branch hardknott</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=hardknott</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=hardknott'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2020-01-19T13:24:38+00:00</updated>
<entry>
<title>prelink: Deal with mips specific gnu-hash impelementation</title>
<updated>2020-01-19T13:24:38+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-01-14T22:21:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c7a903aaa10eadae4ec7f4af3f3fa30763c144fc'/>
<id>urn:sha1:c7a903aaa10eadae4ec7f4af3f3fa30763c144fc</id>
<content type='text'>
(From OE-Core rev: eae63df5524b681897ff7831fa32f16f1b2f792e)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>prelink: upgrade to latest revision (in the cross_prelink branch)</title>
<updated>2019-12-30T08:47:13+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alex.kanavin@gmail.com</email>
</author>
<published>2019-12-20T16:23:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=de46026b3aaee413a129a6cef6134edc49a4f4fa'/>
<id>urn:sha1:de46026b3aaee413a129a6cef6134edc49a4f4fa</id>
<content type='text'>
(From OE-Core rev: 9cb9e9146506cc24916add986eac8b05db934546)

Signed-off-by: Alexander Kanavin &lt;alex.kanavin@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>world-broken.inc: Remove</title>
<updated>2019-08-28T10:31:21+00:00</updated>
<author>
<name>Adrian Bunk</name>
<email>bunk@stusta.de</email>
</author>
<published>2019-08-27T05:52:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ed929bed4cccdf9836dff149ac8beab62abbfbd3'/>
<id>urn:sha1:ed929bed4cccdf9836dff149ac8beab62abbfbd3</id>
<content type='text'>
Move still required entries as COMPATIBLE_HOST_libc-musl = 'null'
to individual recipes.

This also gives users a proper error message when trying to build
a known non-building package.

(From OE-Core rev: 8bbb17d2dcafa9b4e26941a55932f4be2782e1d1)

Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>prelink: Fix Segmentation fault error when prelink qemu</title>
<updated>2018-10-12T15:57:21+00:00</updated>
<author>
<name>Robert Yang</name>
<email>liezhi.yang@windriver.com</email>
</author>
<published>2018-10-11T04:06:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f302012bdd45ef4582ae110964324d33349025b8'/>
<id>urn:sha1:f302012bdd45ef4582ae110964324d33349025b8</id>
<content type='text'>
The info-&gt;resolvetls might be NULL according to src/prelink.c:
[snip]
 /* Dynamic linker does not depend on any other library,
    all symbols resolve to themselves with the exception
    of SHN_UNDEF symbols which resolve to 0.  */
if (info-&gt;symtab[r_sym].st_shndx == SHN_UNDEF)
  {
    info-&gt;resolveent = NULL;
    info-&gt;resolvetls = NULL;
[snip]

So we must check it before use its members, otherwise, there might be
Segmentation fault error.

Fixed:
MACHINE = "qemumips"
IMAGE_INSTALL_append = " qemu"
$ bitbake core-image-minimal
[snip]
| /path/to/qemumips-poky-linux/core-image-minimal/1.0-r0/temp/run.prelink_image.1000: line 111:  1010 Segmentation fault      (core dumped)
[snip]

(From OE-Core rev: 7f5d6f6b70cb1eb486d3ff5c029fc3c6202fc826)

Signed-off-by: Robert Yang &lt;liezhi.yang@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Revert "prelink: Fix SRC_URI and branch"</title>
<updated>2018-09-06T13:49:28+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2018-09-06T13:48:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c710430aa1a5a30d3087c3102485d4621e8d179e'/>
<id>urn:sha1:c710430aa1a5a30d3087c3102485d4621e8d179e</id>
<content type='text'>
This reverts commit bd8470dcaebddf37bf889d3dffd3dcb53d367f23.

It breaks prelink since its using the master branch which doesn't contain
the cross changes.

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>prelink: Fix SRC_URI and branch</title>
<updated>2018-09-06T09:36:31+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2018-09-05T22:28:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=270b5581a37a4e3e7347ff698b4d0dc409d2ed79'/>
<id>urn:sha1:270b5581a37a4e3e7347ff698b4d0dc409d2ed79</id>
<content type='text'>
(From OE-Core rev: bd8470dcaebddf37bf889d3dffd3dcb53d367f23)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>prelink: Update to the latest version of prelink</title>
<updated>2018-09-06T09:36:31+00:00</updated>
<author>
<name>Mark Hatle</name>
<email>mark.hatle@windriver.com</email>
</author>
<published>2018-09-05T16:30:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=6b00b697cf2bc0a3615219d598798bb31cabe0b8'/>
<id>urn:sha1:6b00b697cf2bc0a3615219d598798bb31cabe0b8</id>
<content type='text'>
The new version of prelink includes the fix for a segmentation fault due to
using e_shnum vs e_shstrndx.

In addition the following changes are incorporated:

    2018-08-29   Khem Raj &lt;raj.khem@gmail.com&gt;
	* src/elf.h: Add RISC-V defines
	* src/rtld/dl-tls.c: Add RISC-V support
	* src/rtld/rtld.c: Add RISC-V support

    2018-08-29  Robert Yang  &lt;liezhi.yang@windriver.com&gt;
	* src/dso.c: use ehdr.e_shstrndx as index

    2017-06-20  Andrew Stubbs  &lt;ams@codesourcery.com&gt;
	* src/arch-x86_64.c (x86_64_prelink_conflict_rela): Also convert
	R_X86_64_32 conflicts to R_X86_64_IRELATIVE for ifuncs.
	* src/arch-x86_64.c (PL_ARCH(x32)): Set mmap_end to 0x60000000.

    2017-06-20  Joseph Myers  &lt;joseph@codesourcery.com&gt;
	* src/rtld/rtld.c (load_ld_so_conf): Add argument use_x32.
	(main): Update call to load_ld_so_conf.

    2017-06-20   Kyle Russell &lt;bkylerussell@gmail.com&gt;
	* src/rtld/rtld.c: Add missing DT_NEEDED DSOs to needed_list

(From OE-Core rev: 1f0568c6b8982f814f630193fb5114db489afcaf)

Signed-off-by: Mark Hatle &lt;mark.hatle@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>prelink: use ehdr.e_shstrndx as index rather than ehdr.e_shnum</title>
<updated>2018-08-16T21:40:27+00:00</updated>
<author>
<name>Robert Yang</name>
<email>liezhi.yang@windriver.com</email>
</author>
<published>2018-08-16T02:25:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0f327c393f613dabf4535a71638e47e57b21c521'/>
<id>urn:sha1:0f327c393f613dabf4535a71638e47e57b21c521</id>
<content type='text'>
[YOCTO #12791]

According to struct elf32_hd, the e_shnum is section header number, and the
index is e_shstrndx, not e_shnum.

This can fix segmention fault when handle libqb.so.0.18.2 from libqb_1.0.3.
It fails to handle libqb.so.0.18.2 and get errors:
Symbol section index outside of section numbers

Then segmentation fault, this is because the e_shnum is 34, while e_shstrndx is
27 (it would be 33 when no errors), I've checked several elf files to confirm
that the ones after e_shstrndx is NULL, so use e_shstrndx should be correct.

Fixed:
MACHINE="qemux86-64"
IMAGE_INSTALL_append = " libqb" #libqp is from meta-openembedded
$ bitbake core-image-minimal
Segmention fault

(From OE-Core rev: b7c291ee6532cba845ee6bfbbaa21076a2b2cbe5)

Signed-off-by: Robert Yang &lt;liezhi.yang@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>prelink_git.bb: Update recipe to newest commit</title>
<updated>2017-12-18T18:03:57+00:00</updated>
<author>
<name>Nathan Rossi</name>
<email>nathan@nathanrossi.com</email>
</author>
<published>2017-12-06T09:40:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=76da3ebb9d78f7c02d19f8b9b776d6ea07e8596b'/>
<id>urn:sha1:76da3ebb9d78f7c02d19f8b9b776d6ea07e8596b</id>
<content type='text'>
Update prelink to the newest commit on the cross_prelink ref. This
includes the following changes:

  05aeafd053 Disable automatic generation of prelink.pdf
  aa2985eefa src/rtld: Add MicroBlaze support based on glibc-2.24
  62f80843f8 README: update information on reloc8/reloc9 failures

The primary purpose of this update is to enable the added MicroBlaze
rtld support so as to enable gobject-introspection for MicroBlaze.

(From OE-Core rev: 8cab8f79b73e72256a2d7940f4973ebfd36e232b)

Signed-off-by: Nathan Rossi &lt;nathan@nathanrossi.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>oe-core: take UPSTREAM_CHECK_COMMITS into use where possible</title>
<updated>2017-11-30T10:49:22+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alexander.kanavin@linux.intel.com</email>
</author>
<published>2017-11-14T14:57:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e4f7ae23d1289f9a65864eb23e26e2750858425f'/>
<id>urn:sha1:e4f7ae23d1289f9a65864eb23e26e2750858425f</id>
<content type='text'>
This greatly reduces the amount of recipes for which upstream
version check fails: from about 30 to about 8.

(From OE-Core rev: bb9066670a6096aa4134bebc84132b4eb3964b6d)

Signed-off-by: Alexander Kanavin &lt;alexander.kanavin@linux.intel.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
