Re: mklibs patch: fix invalid library search path

2013-01-10 Thread Joe Seymour
> If mklibs is called with both --root and --sysroot specified, and> for a > library found in rpath, mklibs searches this library in > // which is an invalid path. Since > already points to an absolute directory on host, we should not > add prefix to it. Here is a mklibs patch for this issue.

[PATCH] Fix undefined reference to __dso_handle problem encountered with librt.so

2013-01-12 Thread Joe Seymour
[Please CC me on any responses] When using mklibs on a simple test application I encountered the following error when mklibs attempts to build a reduced librt.so: /usr/lib64/libpthread_nonshared.a(pthread_atfork.oS): relocation R_X86_64_PC32 against undefined hidden symbol `__dso_handle' can not

Bug#701036: mklibs: Fix incorrect interaction between --sysroot and --root

2013-02-20 Thread Joe Seymour
Package: mklibs Version: 0.12 Tags: patch The "--sysroot SYSROOT" option preappends SYSROOT to all library paths, but the "--root RPATHROOT" option preappends RPATHROOT to all rpath searches. If these flags are used together rpaths have 2 absolutes roots preappended to them: //, which doesn't make