Commit Graph

4439 Commits

Author SHA1 Message Date
Alexey Neyman
07a3b822f5 Merge pull request #750 from cpackham/master
Set CT_BUILD_DIR prior to using it
2017-06-15 10:22:41 -07:00
Chris Packham
a4feec224c Set CT_BUILD_DIR prior to using it
Fixes #731

CT_BUILD_DIR is used in CT_DoExecLog. We need to ensure that it is
set before the first call to CT_DoExecLog.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2017-06-15 16:29:21 +12:00
Alexey Neyman
f7c9ab33cf Merge pull request #747 from stilor/uclibc-25
Add uClibc-ng 1.0.25
2017-06-13 09:58:39 -07:00
Alexey Neyman
6417ea7a7f Merge pull request #748 from stilor/aarch-eabi
Make ARM32 option appear only if 32-bit is selected
2017-06-13 09:58:19 -07:00
Alexey Neyman
c0162ff475 Make ARM32 option appear only if 32-bit is selected
Fixes #745

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-06-13 00:19:30 -07:00
Alexey Neyman
2f1ff79386 Add uClibc-ng 1.0.25
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-06-12 21:51:02 -07:00
Alexey Neyman
a9f8a8e675 Merge pull request #744 from stilor/msp430-ice-newlib
Declare msp430 experimental
2017-06-10 00:13:33 -07:00
Alexey Neyman
dc80274261 Declare msp430 experimental
... as GCC5 and later ICEs over inocuous code.
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79242

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-06-10 00:11:51 -07:00
Alexey Neyman
a12374cdc0 Merge pull request #741 from stilor/rm-versions-dir
Remove accidentally added dir
2017-06-08 17:24:42 -07:00
Alexey Neyman
77ee42dda3 Remove accidentally added dir
(it was untracked on a dev branch)

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-06-08 17:23:17 -07:00
Alexey Neyman
70a2f4ee15 Merge pull request #740 from stilor/restore-exec-ctng
Restore exec permission on ct-ng itself
2017-06-08 15:48:34 -07:00
Alexey Neyman
708081ecfb Restore exec permission on ct-ng itself
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-06-08 15:38:24 -07:00
Alexey Neyman
f7c7c4a096 Merge pull request #738 from stilor/lintian-warnings
Fix debuild warnings/errors
2017-06-08 15:06:16 -07:00
Alexey Neyman
29ecbf84c8 Merge pull request #739 from stilor/sh4-gdb-uclibc
Force wide char support in uClibc if GDB8 is enabled
2017-06-08 00:31:34 -07:00
Alexey Neyman
16d166c2c8 Force wide char support in uClibc if GDB8 is enabled
GDB8 (or rather gnulib that is a part of it) provides a fallback mbstate_t
definition - but GCC's C++ headers (which are used via stdint.h since GDB8
uses C++) provide another mbstate_t if libc does not have wide char support.
These two definitions conflict with each other.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-06-08 00:06:17 -07:00
Alexey Neyman
1b4e784a0b Fix debuild warnings/errors
- Update .gitignore, do not place .gitignore into directories installed
in bulk
- Remove executable permissions and shebangs from the scripts that are
supposed to be invoked only via ct-ng frontent; prepend them with $(bash).
Despite what showSamples.sh said, it already has some bashisms.
- Remove --with autotools-dev and override dh_update_autotools_config
to avoid having config.{sub,guess} clobbered with older versions
- Install bash completion where Debian (now) expects it
- Update man page to use .\" as the comment delimiter, instead of
undefined macro (."); also, minor text edits.
- Install kconfig.mk without execute permission.
- Remove shell wrappers from 170-localedef-fix-trampoline.patch, we
do not use that for applying patches
- Revoke execute permissions on 210-expat.sh
- Get flags from dpkg-buildflags if available

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-06-07 22:38:53 -07:00
Alexey Neyman
10089f3c9a Merge pull request #352 from cpackham/debian-packaging-update
debian: update packaging
2017-06-06 09:44:51 -07:00
Alexey Neyman
173f02018c Merge pull request #736 from stilor/msp430-other-versions
Fix the newly added msp430 sample with other GCC versions
2017-06-05 23:39:42 -07:00
Alexey Neyman
8482b2935a Fix the newly added msp430 sample with other GCC versions
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-06-05 23:24:18 -07:00
Alexey Neyman
02f21e8bf3 Merge pull request #734 from stilor/upgrades
Upgrades (a bunch of)
2017-06-05 00:30:35 -07:00
Alexey Neyman
6aaa2a1a67 Mingw-w64 release 5.0.2
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-06-05 00:29:15 -07:00
Alexey Neyman
f22c4dcd7e Newer Linux releases
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-06-05 00:29:15 -07:00
Alexey Neyman
872341e314 New GCC releases from Linaro
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-06-05 00:29:14 -07:00
Alexey Neyman
72a5a1d6de Add GDB 8.0 ...
... which now requires C++.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-06-04 23:23:09 -07:00
Alexey Neyman
ef1ff2600d Upgrade newlib to 2.5.0.20170519
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-06-04 23:23:04 -07:00
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