<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/yousong/scripts/bundle-libraries.sh, branch master</title>
<subtitle>Yousong Zhou staging tree</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/yousong/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/yousong/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/yousong/'/>
<updated>2017-01-10T11:27:28Z</updated>
<entry>
<title>build: rework library bundling</title>
<updated>2017-01-10T11:27:28Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2017-01-10T10:37:47Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/yousong/commit/?id=72d751cba9cda9ce3ae46d5e6ab962d2f675e970'/>
<id>urn:sha1:72d751cba9cda9ce3ae46d5e6ab962d2f675e970</id>
<content type='text'>
Rework the bundle-libraries.sh implementation to use a more robust approach
for executing host binaries through the shipped ELF loader and libraries.

The previous approach relied on symlinks pointing to a wrapper script which
caused various issues, especially with multicall binaries as the original
argv[0] name was not preserved through the ld.so invocation. Another down-
side was the fact that the actual binaries got moved into another directory
which caused executables to fail looking up resources with paths relative
to the executable location.

The new library wrapper implements the following improvements:

 - Instead of symlinks pointing to a common wrapper, each ELF executable
   is now replaced by a unqiue shell script which retains the original
   program name getting called

 - Instead of letting ld.so invoke the ELF executable directly, launch
   the final ELF binary through a helper program which fixes up the argv[0]
   argument for the target program

 - Support sharing a common location for the bundled libraries instead of
   having one copy in each directory containing wrapped binaries

Finally modify the SDK build to wrap the staging_dir and toolchain binaries
which allows to use the SDK on systems with a different glibc version.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>treewide: replace jow@openwrt.org with jo@mein.io</title>
<updated>2016-06-07T09:42:52Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2016-06-07T09:42:32Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/yousong/commit/?id=24a7ccb0562a867e363a10ebdc64e3aaa6f01cd2'/>
<id>urn:sha1:24a7ccb0562a867e363a10ebdc64e3aaa6f01cd2</id>
<content type='text'>
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>scripts/bundle-libraries: fall back to only copying binaries if ldd is unavailable (e.g. non-linux system)</title>
<updated>2014-06-02T13:27:23Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2014-06-02T13:27:23Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/yousong/commit/?id=aab9ffeacc558abb1a9cb088fc526868c3f46bb5'/>
<id>urn:sha1:aab9ffeacc558abb1a9cb088fc526868c3f46bb5</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 40967
</content>
</entry>
<entry>
<title>scripts: bundle-libraries.sh: support mixing 32bit and 64bit binaries</title>
<updated>2013-01-28T15:54:27Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2013-01-28T15:54:27Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/yousong/commit/?id=509f39a10a4295c85d2a6f63573bb0698a067241'/>
<id>urn:sha1:509f39a10a4295c85d2a6f63573bb0698a067241</id>
<content type='text'>
SVN-Revision: 35349
</content>
</entry>
<entry>
<title>fix library bundling when host libraries reside in /lib/tls/ or similar</title>
<updated>2012-09-09T22:37:32Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2012-09-09T22:37:32Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/yousong/commit/?id=c70e919ae87003be253c6fc838603c128e4d0f8f'/>
<id>urn:sha1:c70e919ae87003be253c6fc838603c128e4d0f8f</id>
<content type='text'>
SVN-Revision: 33353
</content>
</entry>
<entry>
<title>add a helper script to bundle required libraries for host utilities</title>
<updated>2012-08-15T13:28:23Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2012-08-15T13:28:23Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/yousong/commit/?id=183f625a4816df521d55b4d5972076328f413a51'/>
<id>urn:sha1:183f625a4816df521d55b4d5972076328f413a51</id>
<content type='text'>
SVN-Revision: 33195
</content>
</entry>
</feed>
