- Oct 02, 2019
-
-
Simon McVittie authored
libcapsule's use with biarch containers like the Steam Runtime will frequently make it necessary to compile it for both x86_64 and i386. On recent Debian-derived OSs this is OK, because the toolchain is provided as a complete set of cross-compiler-style prefixed tools like i686-linux-gnu-gcc; but some OSs, like Arch Linux and very old versions of Debian, rely on 'gcc -m32' for their biarch support. This makes it very easy to do ./configure --build=x86_64-linux-gnu --host=i686-linux-gnu and accidentally produce x86_64 binaries, because there is no i686-linux-gnu-gcc. Give the user a hint towards the correct invocation in this case, which is: ./configure --build=x86_64-linux-gnu --host=i686-linux-gnu CC='gcc -m32' I've implemented this as a reusable macro, in case we want to add it to other projects that are likely to be cross-compiled by inexperienced cross-compiler users. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Dec 20, 2017
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This seemed easier than fixing the corner cases individually. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Nov 17, 2017
-
-
Simon McVittie authored
This can be useful as a sanity check for how we parse a library. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Nov 10, 2017
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Oct 11, 2017
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Oct 10, 2017
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Sep 28, 2017
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Sep 19, 2017
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
While there, drop unused $(shim_files) and $(shim_srcs) variables. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Sep 15, 2017
-
-
Simon McVittie authored
The policy parameter we need is newer than what's in Debian stable. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Vivek Das Mohapatra authored
-
- Sep 14, 2017
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Since it's completely generic, we should let autogen.sh create it. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Vivek Das Mohapatra authored
-
- Jul 21, 2017
-
-
Vivek Das Mohapatra authored
-
Vivek Das Mohapatra authored
-
- Jul 20, 2017
-
-
Vivek Das Mohapatra authored
-
- Jul 19, 2017
-
-
Vivek Das Mohapatra authored
-
- Jul 17, 2017
-
-
Vivek Das Mohapatra authored
-
- Jul 04, 2017
-
-
Vivek Das Mohapatra authored
-
- May 16, 2017
-
-
Vivek Das Mohapatra authored
-
Vivek Das Mohapatra authored
-
- May 15, 2017
-
-
Vivek Das Mohapatra authored
We now reserve the shim/lib<FOO>.so.c.<WHATEVER> pattern for the dependencies of the generated .so.c file. The shim/lib<FOO>.so.<WHATEVER> pattern is now used for generated intermediates. This allows two useful things: We don't occasionally get a second rebuild of the generated .so.c file due to timer resolution problems and we can depend on extra .so.c.* files if they exist and ignore them otherwise: we will need the latter as some libraries (libGL) need bespoke dlopen/dlmopen wrapper logic and others can just live with the default implementation.
-
- May 12, 2017
-
-
Vivek Das Mohapatra authored
-
- May 09, 2017
-
-
Vivek Das Mohapatra authored
The generated shim libraries (libz and libGL are included as examples) provide the same symbols as the target library but do not expose the symbols from their dependencies to other objects that link to them. They are also capable of using a filesystem tree starting somwhere other than / to get the dependencies for the target. Included are tools to help generate said proxy libraries with minimal manual intervention.
-