From 85af58487290a46e7252504f2af808ad3c99d5d4 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Sun, 13 Mar 2016 13:21:31 -0700 Subject: Unbreak powerpc-unknown-linux-uclibc. There is invalid assembly in dmalloc for PowerPC. The issue is that 'stw' expects a memory operand, and =g constraint allows both registers and memory. Newer GCC tends to choose register even at -O0, resulting in invalid assembly. Instead, force a register constraint in 'mflr' and let GCC decide if it wants to store it into memory at all. Reported this upstream. Signed-off-by: Alexey Neyman --- samples/powerpc-unknown-linux-uclibc/broken | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 samples/powerpc-unknown-linux-uclibc/broken (limited to 'samples') diff --git a/samples/powerpc-unknown-linux-uclibc/broken b/samples/powerpc-unknown-linux-uclibc/broken deleted file mode 100644 index e69de29b..00000000 -- cgit v1.2.3 From 7ac327d6c33fa78f194e816beec0796901f5d002 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Tue, 15 Mar 2016 12:23:57 -0700 Subject: Remove --with-expat from extra GDB args. 300-gdb.sh always adds --with-expat, no need to list it in crosstool.config. Signed-off-by: Alexey Neyman --- samples/aarch64-rpi3-linux-gnueabi/crosstool.config | 1 - samples/aarch64-unknown-linux-gnueabi/crosstool.config | 1 - samples/armv7-rpi2-linux-gnueabihf/crosstool.config | 1 - samples/armv8-rpi3-linux-gnueabihf/crosstool.config | 1 - 4 files changed, 4 deletions(-) (limited to 'samples') diff --git a/samples/aarch64-rpi3-linux-gnueabi/crosstool.config b/samples/aarch64-rpi3-linux-gnueabi/crosstool.config index 7c880c47..2bbece8b 100644 --- a/samples/aarch64-rpi3-linux-gnueabi/crosstool.config +++ b/samples/aarch64-rpi3-linux-gnueabi/crosstool.config @@ -11,4 +11,3 @@ CT_BINUTILS_LD_WRAPPER=y CT_BINUTILS_PLUGINS=y CT_CC_LANG_CXX=y CT_DEBUG_gdb=y -CT_GDB_CROSS_EXTRA_CONFIG_ARRAY="--with-expat" diff --git a/samples/aarch64-unknown-linux-gnueabi/crosstool.config b/samples/aarch64-unknown-linux-gnueabi/crosstool.config index 90a2ccc8..20b8509a 100644 --- a/samples/aarch64-unknown-linux-gnueabi/crosstool.config +++ b/samples/aarch64-unknown-linux-gnueabi/crosstool.config @@ -11,4 +11,3 @@ CT_BINUTILS_LD_WRAPPER=y CT_BINUTILS_PLUGINS=y CT_CC_LANG_CXX=y CT_DEBUG_gdb=y -CT_GDB_CROSS_EXTRA_CONFIG_ARRAY="--with-expat" diff --git a/samples/armv7-rpi2-linux-gnueabihf/crosstool.config b/samples/armv7-rpi2-linux-gnueabihf/crosstool.config index 3c2e478f..d56a4f40 100644 --- a/samples/armv7-rpi2-linux-gnueabihf/crosstool.config +++ b/samples/armv7-rpi2-linux-gnueabihf/crosstool.config @@ -12,4 +12,3 @@ CT_BINUTILS_LD_WRAPPER=y CT_BINUTILS_PLUGINS=y CT_CC_LANG_CXX=y CT_DEBUG_gdb=y -CT_GDB_CROSS_EXTRA_CONFIG_ARRAY="--with-expat" diff --git a/samples/armv8-rpi3-linux-gnueabihf/crosstool.config b/samples/armv8-rpi3-linux-gnueabihf/crosstool.config index 2a0ad436..043cc6fe 100644 --- a/samples/armv8-rpi3-linux-gnueabihf/crosstool.config +++ b/samples/armv8-rpi3-linux-gnueabihf/crosstool.config @@ -12,4 +12,3 @@ CT_BINUTILS_LD_WRAPPER=y CT_BINUTILS_PLUGINS=y CT_CC_LANG_CXX=y CT_DEBUG_gdb=y -CT_GDB_CROSS_EXTRA_CONFIG_ARRAY="--with-expat" -- cgit v1.2.3 From cc7f7db7676b828ec3f75cea6463e62f44d1c519 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Tue, 15 Mar 2016 18:52:05 -0700 Subject: Mark x86_64-w64-mingw32,x86_64-pc-linux-gnu broken. I couldn't get this sample to build. I tried rolling ct-ng back to 1.22 and back to the commit that introduced it, to no avail. Not sure if it ever built on my machine. The first problem is the failure to build binutils/gold because of the missing in mingw. However, even if CT_BINUTILS_GOLD_THREADS option is unset, the build dies in configure of the pass-1 of the core CC. The config.log states that it failed to link with libmpfr.a, which has a lot of undefined references to symbols like '__imp___iob_func'. Googling shows that these symbols are some dark Cygwin/MinGW magic and I do not have the knowledge of these arcana. Let some other MinGWizard fix it another day. Signed-off-by: Alexey Neyman --- samples/x86_64-w64-mingw32,x86_64-pc-linux-gnu/broken | 0 samples/x86_64-w64-mingw32,x86_64-pc-linux-gnu/crosstool.config | 2 -- 2 files changed, 2 deletions(-) create mode 100644 samples/x86_64-w64-mingw32,x86_64-pc-linux-gnu/broken (limited to 'samples') diff --git a/samples/x86_64-w64-mingw32,x86_64-pc-linux-gnu/broken b/samples/x86_64-w64-mingw32,x86_64-pc-linux-gnu/broken new file mode 100644 index 00000000..e69de29b diff --git a/samples/x86_64-w64-mingw32,x86_64-pc-linux-gnu/crosstool.config b/samples/x86_64-w64-mingw32,x86_64-pc-linux-gnu/crosstool.config index 10ed2990..304ad602 100644 --- a/samples/x86_64-w64-mingw32,x86_64-pc-linux-gnu/crosstool.config +++ b/samples/x86_64-w64-mingw32,x86_64-pc-linux-gnu/crosstool.config @@ -1,6 +1,4 @@ CT_EXPERIMENTAL=y -CT_DEBUG_CT=y -CT_DEBUG_CT_SAVE_STEPS=y CT_LOCAL_TARBALLS_DIR="${HOME}/src" CT_SAVE_TARBALLS=y # CT_STRIP_HOST_TOOLCHAIN_EXECUTABLES is not set -- cgit v1.2.3