Commit Graph

4314 Commits

Author SHA1 Message Date
Alexey Neyman
ed1d2d6a0e Merge pull request #732 from awygle/msp430-support
Added MSP430 architecture support
2017-06-02 16:48:55 -07:00
Andrew Wygle
61d1fa57c9 Added a sample of the MSP430 architecture and removed config.sub
override from msp430.sh

Signed-off-by: Andrew Wygle <awygle@gmail.com>
2017-06-02 15:32:55 -07:00
Alexey Neyman
71e7a7b760 Merge pull request #733 from stilor/sparc-leon
samples: update sparc/leon sample
2017-06-02 14:30:26 -07:00
Kirill Smirnov
bba46dc1b5 samples: update sparc/leon sample
* Remove obsolete RPC options from uclibc-ng config
* Enable utmp/wtmp options (gdb needs them)
* Switch to gcc-6.3

Signed-off-by: Kirill Smirnov <kirill.k.smirnov@gmail.com>
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-06-02 13:27:56 -07:00
Andrew Wygle
68d0cfd0e0 Added MSP430 architecture support.
Signed-off-by: Andrew Wygle <awygle@gmail.com>
2017-06-02 13:06:29 -07:00
Alexey Neyman
259173bb5e Merge pull request #729 from stilor/xtensa-fix-linaro
Propagate xtensa fprintf fix to linaro versions.
2017-05-31 12:49:08 -07:00
Alexey Neyman
3b52b2c93b Propagate xtensa fprintf fix to linaro versions.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-31 12:39:04 -07:00
Alexey Neyman
db819545e3 Merge pull request #728 from jcmvbkbc/xtensa-fix-fprintf-format
gcc: xtensa: backport fix for incorrect code generation
2017-05-31 10:11:30 -07:00
Max Filippov
314aed56b3 gcc: xtensa: backport fix for incorrect code generation
xtensa GCC incorrectly uses %ld/0x%lx format specifiers to output
HOST_WIDE_INT values, which results in incorrect code generation by the
compiler built for armhf host.

The original issue:
  https://github.com/qca/open-ath9k-htc-firmware/issues/130

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2017-05-31 02:12:53 -07:00
Alexey Neyman
189423937f Merge pull request #725 from KirillSmirnov/gcc7
patches: Add patch that fixes gcc6 with gcc7
2017-05-29 23:12:42 -07:00
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