Commit Graph

4237 Commits

Author SHA1 Message Date
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
Alexey Neyman
59651566a5 Make guidelines for bug reporting more explicit
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-04-10 14:01:08 -07:00
Alexey Neyman
ee7662fa58 Merge pull request #678 from stilor/fix-secure-api
Fix MINGW_SECURE_API test
2017-04-07 16:57:17 -07:00
Alexey Neyman
9a91220aa2 Fix MINGW_SECURE_API test
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-04-07 13:57:56 -07:00
Alexey Neyman
16e703a4e5 Merge pull request #676 from tamird/mingw-secure-api
MinGW: add --enable-secure-api config option
2017-04-07 10:13:06 -07:00
Alexey Neyman
242c156d95 Merge pull request #677 from stilor/mingw
Mingw minor fixes
2017-04-07 10:12:52 -07:00
Tamir Duberstein
2e9863531f libc/mingw: quote variable in comparison
Building with CT_MINGW_TOOLS unset before this change produces:

	/usr/local/ct-ng/lib/crosstool-ng-1.23.0-rc2/scripts/build/libc/mingw.sh: line 212: [: =: unary operator expected
2017-04-06 20:14:36 -07:00
Alexey Neyman
cc3fefe538 mingw: Make list of tools depend on tools being enabled
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-04-06 20:12:40 -07:00
Tamir Duberstein
89468256ec
MinGW: add --enable-secure-api config option
Without this flag, MinGW does not expose secure variants of functions
such as strcpy_s.

See https://sourceforge.net/p/mingw-w64/mingw-w64/ci/master/tree/mingw-w64-headers/crt/sec_api/string_s.h#l11.
2017-04-06 21:23:49 -04:00
Alexey Neyman
9571a97a4d Merge pull request #672 from stilor/freebsd-fixes
Freebsd fixes
2017-04-03 10:22:38 -07:00
Alexey Neyman
0fc6f1c47e CC_FOR_BUILD in gdb.sh
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-04-02 15:55:07 -07:00
Alexey Neyman
9a9b02acef Pass HOSTCC to uclibc's make
Else it looks for 'gcc'.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-04-02 13:25:41 -07:00
Alexey Neyman
ae58824a7e Pass CC_FOR_BUILD to binutils
Otherwise, it fails if 'gcc' is not available.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-04-02 13:18:07 -07:00