Commit Graph

4454 Commits

Author SHA1 Message Date
Alexey Neyman
1607630d77 Merge pull request #727 from stilor/regen-no-renames
Regenerate with --no-renames
2017-05-29 19:53:12 -07:00
Alexey Neyman
4490adb5f0 Regenerate with --no-renames
... or older patch(1) breaks over it.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-29 18:24:46 -07:00
Chris Packham
5f1acaa079 debian: update packaging
Support building in tree and from a released tarball by optionally
running ./bootstrap.

Fix some issues reported by lintian.
-E: crosstool-ng changes: bad-distribution-in-changes-file unstable
-E: crosstool-ng source: build-depends-on-essential-package-without-using-version build-depends: gzip
-E: crosstool-ng source: build-depends-on-essential-package-without-using-version build-depends: tar
-W: crosstool-ng source: syntax-error-in-dep5-copyright line 14: Cannot parse line "Unless otherwise stated in individual files, this work is licensed to you under"
-E: crosstool-ng: copyright-should-refer-to-common-license-file-for-lgpl
-E: crosstool-ng: description-starts-with-package-name
-E: crosstool-ng: section-is-dh_make-template
-E: crosstool-ng: depends-on-obsolete-package depends: texi2html

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
2017-05-29 12:36:45 +12:00
Kirill K. Smirnov
6aa6c64306 patches: Fix gcc-linaro-6 with gcc7
Duplicate the previous change for linaro version.

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2017-05-27 22:32:04 +03:00
Kirill K. Smirnov
4d360c3cc2 patches: Add patch that fixes gcc6 with gcc7
Taken from the openembedded patchset.

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2017-05-27 21:34:09 +03:00
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