Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This follows the trend set by 1*.sh scripts that configure ISL, GMP, MPFR, CLooG, etc. Building with shared libraries presents all kinds of problems: - The shared libraries need to be installed into ${CT_PREFIX_DIR}. - The binaries linked against companion libs need to have proper RPATH, or they're looking for shared libs in .build/${CT_PREFIX}/buildtools/lib. - All libraries must agree as to whether they're built shared, static, or both. Otherwise, gettext tries to link in static libncurses.a into a shared library and fails (since libncurses was compiled without the -fPIC switch and hence contains relocations that cannot be handled in a shared library). So this fixes the current mess. If we decide to re-enable building the companion libs shared, we should probably make this dependent on a separate suboption of CT_STATIC_TOOLCHAIN. Add a config loosely based on one reported in the issue 274. Signed-off-by: Alexey Neyman <stilor@att.net>
- Loading branch information
Showing
7 changed files
with
55 additions
and
35 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
samples/x86_64-w64-mingw32,arm-cortexa9_neon-linux-gnueabihf/crosstool.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
CT_EXPERIMENTAL=y | ||
CT_LOCAL_TARBALLS_DIR="${HOME}/src" | ||
CT_SAVE_TARBALLS=y | ||
CT_LOG_EXTRA=y | ||
CT_ARCH_CPU="cortex-a9" | ||
CT_ARCH_FPU="neon" | ||
CT_ARCH_FLOAT_HW=y | ||
CT_ARCH_arm=y | ||
CT_TARGET_VENDOR="cortexa9_neon" | ||
CT_CANADIAN=y | ||
CT_HOST="x86_64-w64-mingw32" | ||
CT_TOOLCHAIN_ENABLE_NLS=y | ||
CT_KERNEL_linux=y | ||
CT_BINUTILS_LINKER_LD_GOLD=y | ||
CT_BINUTILS_GOLD_THREADS=y | ||
CT_BINUTILS_LD_WRAPPER=y | ||
CT_LIBC_ADDONS_LIST="libidn" | ||
CT_LIBC_LOCALES=y | ||
CT_LIBC_GLIBC_KERNEL_VERSION_NONE=y | ||
CT_CC_GCC_SHOW_LINARO=y | ||
# CT_CC_GCC_ENABLE_TARGET_OPTSPACE is not set | ||
CT_CC_LANG_CXX=y | ||
CT_DEBUG_gdb=y | ||
# CT_GDB_CROSS_PYTHON is not set | ||
CT_GDB_NATIVE=y | ||
CT_GDB_NATIVE_STATIC=y |
3 changes: 3 additions & 0 deletions
3
samples/x86_64-w64-mingw32,arm-cortexa9_neon-linux-gnueabihf/reported.by
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
reporter_name="modbw" | ||
reporter_url="" | ||
reporter_comment="Loosely based on config submitted in issue 274" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters