Commit Graph

4399 Commits

Author SHA1 Message Date
Alexey Neyman
42b3dde819 Merge pull request #722 from stilor/mingw-host
Mingw host
2017-05-25 08:23:14 -07:00
Alexey Neyman
20a8525e8b Retire CT_CC_GCC_TARGET_FINAL
Make this behavior default in case the core gcc backend is used
for final compiler (i.e., for baremetal configurations). Not
setting this option breaks canadian baremetal configurations,
and not setting it makes little sense at all in any baremetal
configuration (since in baremetal we don't have any libc to begin
with).

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-24 23:03:34 -07:00
Alexey Neyman
753236ea22 Handle ming32 as a host
zlib refuses to run configure with mingw32 host and insists that
win32/Makefile.gcc is used instead.

This requires a change in this Makefile to support static-only builds.

Fixes #694.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-24 23:03:02 -07:00
Alexey Neyman
f975aea2f8 Merge pull request #721 from stilor/alpha-bad-eh_frame
Add patch from GCC #80037
2017-05-23 08:49:59 -07:00
Alexey Neyman
0d8e7cbba6 Add patch from GCC #80037
Fixes #719.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-23 00:04:09 -07:00
Alexey Neyman
1dbb06f2d3 Merge pull request #717 from stilor/merge-bionic
Merge bionic
2017-05-15 21:12:36 -07:00
Alexey Neyman
97a20eed5c Disallow duma/ltrace/strace for bionic
Allow cross-gdb and gdbserver. This requires removal of an explicit
check that disables gdbserver on android. However, the comment above
that check refers to exec_elf.h, which has been removed since API level
19. It builds fine with current selection of the sample (21). Only
build-tested, hope someone can give it a try and report back.

We can fine tune the check for GDB but I'll leave it for now.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-14 18:49:56 -07:00
Alexey Neyman
24b3fca910 Mark bionic EXPERIMENTAL and dependent on GCC6+
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-14 15:23:41 -07:00
Alexey Neyman
f296faa8c2 Add arm_neon.h as a TODO item
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-14 15:23:41 -07:00
Alexey Neyman
8e7947cb35 Print gcc version in the same way as the rest
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-14 15:23:41 -07:00
Alexey Neyman
dab327ed06 Allow rebuilding aarch64-unknown-linux-android
Otherwise, fails when checking if the destination dir is writable.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-14 15:23:41 -07:00
Alexey Neyman
131011493b Split the patch from CrystaX to separate commits
... and edit the biggest chunk as in previous 950-bionic-android.patch.

Also, drop arm_neon.h - it is a separate package, will be added
separately.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-14 15:23:34 -07:00
hyc
22e4a3f433 Fix samples defaulted to glibc
Since glibc is no longer the default C library
2017-05-14 15:23:34 -07:00
hyc
a776367937 Add sample Android config, gcc 6.3 patches 2017-05-14 15:23:34 -07:00
hyc
9062810a11 Fix type mismatch in std::swap() args 2017-05-14 15:23:34 -07:00
hyc
925d0490db Fix for ctype change in NDK 14 2017-05-14 15:23:34 -07:00
hyc
a6e11562c4 Tweaks for bionic/TLS 2017-05-14 15:23:34 -07:00
hyc
8762c7698c Preliminary bionic/Android support
Mostly from Crystax NDK
2017-05-14 15:23:34 -07:00
Alexey Neyman
ef762bfe8e Merge pull request #716 from stilor/gcc7
Add GCC 7.1.0
2017-05-14 09:51:28 -07:00
Alexey Neyman
842915db44 Separate uclibc's multilib headers on MIPS, too
The generated sysnum.h is different for o32/n32/64 ABIs.

This needs to be revisited; either do this for all architecutres or
perhaps, compare the headers for various multilibs and combine them
if the are identical.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-14 00:04:05 -07:00
Alexey Neyman
487c598b27 Fix sh4-*-linux with GCC7
GCC7 also checks -fsanitize=divide-by-zero, which generates a trap
and in sh4, traps in rtld result in link failure. Pull the fix from
upstream, although it is not a complete fix, I think: this still
generates a trap (SIGILL) rather than the intended SIGFPE.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-13 23:23:23 -07:00
Alexey Neyman
5d792b4179 Patches for glibc to compile with GCC7
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-13 20:14:24 -07:00
Alexey Neyman
e943889480 Add patch to uClibc-ng that allows building with GCC7
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-12 11:20:50 -07:00
Alexey Neyman
2d658b851e Add GCC 7.1.0
Removed patches either picked up upstream, or no longer applicable
(boehm-gc no longer part of GCC).

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-11 23:16:40 -07:00
Alexey Neyman
968b6918a2 Merge pull request #713 from U-007D/check-for-cc-and-cxx
Added CT_TestAndAbort trivial sanity checks for CC and CXX to avoid l…
2017-05-10 21:28:24 -07:00
bRad
8543414be6 Simplified error message for CC 2017-05-10 13:00:23 -07:00
bRad
f4ef083099 Fixed up representation of PATH env. var in error message 2017-05-10 07:23:53 -07:00
bRad
079bdf1c91 Added CT_TestAndAbort trivial sanity checks for CC and CXX to avoid libiconnv build failures https://github.com/crosstool-ng/crosstool-ng/issues/711 2017-05-10 04:48:59 -07:00
Alexey Neyman
129e6d3fd1 Merge pull request #709 from stilor/uclibc-ng-24
Add uClibc-ng 1.0.23 and 1.0.24 releases
2017-04-30 13:03:12 -07:00
Alexey Neyman
0683e0af9d Add uClibc-ng 1.0.23 and 1.0.24 releases
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-04-29 13:03:19 -07:00
Alexey Neyman
347a1938a8 Merge pull request #705 from stilor/fix-destdir
Fix destdir
2017-04-29 11:16:37 -07:00
Alexey Neyman
f52aecf43b Fix make clean/mrproper
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-04-28 21:26:28 -07:00
Alexey Neyman
c2ce5a21a1 Fix for missing DESTDIR
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-04-28 21:14:24 -07:00
Alexey Neyman
88fdbac425 Merge pull request #697 from stilor/makefile-enhancements-orig
Makefile enhancements
2017-04-23 20:08:26 -07:00
Alexey Neyman
f98e04388c Update TODO
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-04-23 00:36:57 -07:00
Alexey Neyman
2f286ce5ab Retire BACKEND stuff
... it is possible to just not set it in the configuration, why force
it? It just increases the complexity in Kconfig.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-04-23 00:24:41 -07:00
Alexey Neyman
f4c94242d4 Avoid installing configure.in.in
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-04-22 23:35:05 -07:00
Alexey Neyman
c9dad33728 Use config from the install location
... no need to create a local symlink.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-04-22 23:33:36 -07:00
Alexey Neyman
105e4b59b7 Get rid of config.gen
Instead, prepare the files as a part of bootstrap and install them.
This avoids rebuilding these files in each working directory; they
don't change anyway as they are generated from the same installed
source.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-04-22 18:41:50 -07:00
Alexey Neyman
2c0fb22641 Generate config/configure.in directly
from configure rather than substitute it from Makefile. Eventually we
might want to get rid of configure.in completely, doing on-the-fly
checks at the time of `ct-ng build`, but that is left for another day.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-04-22 12:28:50 -07:00
Alexey Neyman
6f5afbdf82 Allow 'make V=1' to see the commands.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-04-22 11:55:19 -07:00
Alexey Neyman
368a0169a2 Merge pull request #690 from stilor/fix-empty-symlinks
Avoid creating symlinks with empty prefix
2017-04-13 08:43:42 -07:00
Alexey Neyman
cde8fb08c5 Merge pull request #689 from stilor/add-mds
Doc renames & issue template
2017-04-13 01:13:08 -07:00
Alexey Neyman
8f5dfe97c2 Avoid creating symlinks with empty prefix
(regression after Cygwin fix)

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-04-13 00:08:36 -07:00
Alexey Neyman
9976611216 Doc renames & issue template
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-04-13 00:07:29 -07:00
Alexey Neyman
8d9babee4f Merge pull request #685 from stilor/newlib-fix
Sort out newlib patches
2017-04-11 16:04:57 -07:00
Alexey Neyman
a1c3039811 Sort out newlib patches
- Existing 110-fix-eabihf.patch did not apply to 1.20.0 and earlier
- This patch is also applicable to 2.x versions
- The patch needs to be applied to both configure.in/configure
- Existing 200-optimising-for-space.patch also applies to all versions
  before 2.4.0
- Similar issues exist in other config/mt-* files
- m68k patch is applicable to 2.* versions

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-04-11 01:18:19 -07:00
Alexey Neyman
60c5006848 Merge pull request #683 from stilor/readme-fix-2
Minor fixes in README.md
2017-04-10 14:05:51 -07:00
Alexey Neyman
2692b468c0 Minor fixes in README.md
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-04-10 14:04:50 -07:00
Alexey Neyman
0d60126579 Merge pull request #682 from stilor/readme-fix
Make guidelines for bug reporting more explicit
2017-04-10 14:02:21 -07:00