All of lore.kernel.org
 help / color / mirror / Atom feed
* New prelink version
@ 2015-11-02 15:41 Mark Hatle
  0 siblings, 0 replies; 5+ messages in thread
From: Mark Hatle @ 2015-11-02 15:41 UTC (permalink / raw)
  To: Yocto Project

I just wanted to updated people on the prelinker, and send out news of a new
release, but first some project announcements.

As some of you may be aware, the previous upstream to the Cross Prelinker has
effectively been abandoned.  This work was being done by Jakub Jelinek at Red
Hat.  However, there have not been any updates since October of 2013.  I have
tried to reach out to him a few times and have not gotten a response.

So effectively immediately, I am planning on supporting both a standalone
prelink and cross prelinker.  In order to do this, there are now two 'release'
branches in the git://git.yoctoproject.org/prelink-cross, 'master' and
'cross_prelink'.

The 'master' branch is intended to replace the former prelink that was created
and managed by Jakub.  It is a standalone project that does not provide any of
the cross compilation helper items, such as the prelink-rtld and sysroot
(--root=) processing.  It will contain all of the latest patches for
architecture functionality and bug fixes.

The 'cross_prelink' branch, as it has been, is the home for the cross
compilation version of the prelinker.  It will be functionally identical to the
'master' branch -- but contain prelink-rtld and the sysroot functions.

In addition, I intend to do regular date-based tags to indicate stable release
points.  This is similar to how Jakub did releases for the prelinker.

Two tags will be generated, both with the same date, and one ending in '_cross'.
 The _cross indicates it contains the cross compilation functionality.

...and now... the first release

20151030 and 20151030_cross

Common changes:

* Add additional debugging in certain places
* Take over full maintainership of the project
* general: Update type_class values to sync w/ glibc-2.22
* MIPS: Add SHT_MIPS_ABIFLAGS support
* ARM: Fix ARM IFUNC implementation (bad patch merge)

Cross changes:
* Rebase the prelink-rtld on glibc-2.22
* Add NIOS2 support to the prelink-rtld

Notes:

If you are using the standalone prelinker with glibc-2.22 on IA32 or ARM, due to
a bug in glibc-2.22, you -must- have the following patch applied to glibc:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=cadaf1336332ca7bcdfe4a400776e5782a20e26d

for more info see:

https://sourceware.org/bugzilla/show_bug.cgi?id=19178



^ permalink raw reply	[flat|nested] 5+ messages in thread
* New prelink version
@ 2016-08-18 15:33 Mark Hatle
  2016-08-20  1:39 ` Mark Hatle
  0 siblings, 1 reply; 5+ messages in thread
From: Mark Hatle @ 2016-08-18 15:33 UTC (permalink / raw)
  To: Yocto Project

I have issued a new prelink release today.

git://git.yoctoproject.org/prelink-cross

master branch: target based prelink
new release tag: 20160818

cross_prelink branch: prelink w/ emulated 'rtld' (ld.so)
new release tag: 20160818_cross


From the README file there are a few known issues:

* The --preload option does not always work.  The preload1 test currently fails.

* quick2 test will fail if you do not have static libc installed.

* IFUNC on glibc.  glibc appears to have a bug related to specific IFUNC
ordering.  build_local_scope in glibc is processing depth first instead of
breadth-first processing as it should be.  The prelink-rtld version works
around this issue.  (Prelink-rtld is only available in the cross compile
version.)  See: https://bugzilla.yoctoproject.org/show_bug.cgi?id=9131

* ARM & PPC: both are currently failing the reloc8 and reloc9 test
Further investigation is in progress on these items.  Until an explanation
is found, you should hold off using this for ARM and PPC.


Changelog for the cross_prelink follows:

Common changes:

* Update configure.ac, libelf.m4 and */Makefile.am to avoid various auto* warnings
* Fixed a few compile warnings
* Add testcase for YP 9131 - IFUNC problem
* Fix LD_PRELOAD issues
* Fix section ordering problem (required for binutils-2.22)

Cross prelink specific changes:

* rtld: resync to glibc-2.23
* rtld: add additional debug scope support
* rtld: Add fix for YP 9131, IFUNC problem


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-08-20  3:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-02 15:41 New prelink version Mark Hatle
  -- strict thread matches above, loose matches on Subject: below --
2016-08-18 15:33 Mark Hatle
2016-08-20  1:39 ` Mark Hatle
2016-08-20  2:56   ` Khem Raj
2016-08-20  3:33     ` Mark Hatle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.