Commit Graph

109 Commits (2acab2f06197ab34243fc415020ead54d4a9e505)

Author SHA1 Message Date
Alexey Neyman 581e8a514b Fix build with ISL 0.20
Signed-off-by: Alexey Neyman <stilor@att.net>
5 years ago
Alexey Neyman 98834458f1 Upgrades. Lots of 'em.
Signed-off-by: Alexey Neyman <stilor@att.net>
5 years ago
Alexey Neyman 8026e6a013
Merge pull request #994 from jcmvbkbc/xtensa-fix-pr65416
package/gcc: fix xtensa PR target/65416
5 years ago
Bryan Hundven 5b42c4cb05 Add musl-libc 1.1.20
Signed-off-by: Bryan Hundven <bryan.hundven@gmail.com>
5 years ago
Evgeniy Didin 4a881ea56e patches: mpfr: Fix obsolete ARC asm constraints
Adding this patch fixes errors while building mpfr for native ARC
toolcahin. Error messages are:
-----------------------------------------------------8<------------------
...
[ERROR]   .build/HOST-arc-snps-linux-uclibc/arc-snps-linux-uclibc/src/
  mpfr/src/mpfr-longlong.h:423:3: error: impossible constraint in 'asm'
...
[ERROR]  >>  Build failed in step 'Installing MPFR for host'
-----------------------------------------------------8<------------------

Signed-off-by: Evgeniy Didin <didin@synopsys.com>
5 years ago
Max Filippov c41b9641b1 package/gcc: fix xtensa PR target/65416
gcc-8.1 for xtensa miscompiles uClibc dynamic linker due to gcc PR
target/65416. The build completes successfully, but the binary is
non-functional because the following fragment in the _dl_get_ready_to_run
in ld-uClibc.so overwrites register spill area on stack causing register
corruption in the previous call frame and a subsequent crash:

    419f:       f0c1b2          addi    a11, a1, -16
    41a2:       1ba9            s32i.n  a10, a11, 4
    41a4:       0bc9            s32i.n  a12, a11, 0
    41a6:       5127f2          l32i    a15, a7, 0x144
    41a9:       1765b2          s32i    a11, a5, 92
    41ac:       4e2782          l32i    a8, a7, 0x138
    41af:       146af2          s32i    a15, a10, 80
    41b2:       001b10          movsp   a1, a11

The crash terminates the init process and causes kernel panic.
The fix prevents reordering of movsp opcode and any access to the stack
frame memory and is applicable to all existing gcc versions.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
5 years ago
Alexey Neyman b24431f477 Add upstream patch fixing XScale build
Signed-off-by: Alexey Neyman <stilor@att.net>
5 years ago
Alexey Neyman cc2fe3dbde Backport a gcc8 fix from upstream
Signed-off-by: Alexey Neyman <stilor@att.net>
5 years ago
Dima Krasner 5d335281d9 linux: removed 2.6.32.27
Signed-off-by: Dima Krasner <dima@securingsam.com>
5 years ago
Dima Krasner 718b5e4b03 packages: add uClibc-ng 1.0.30 and last Linux 2.6.32.x
Signed-off-by: Dima Krasner <dima@dimakrasner.com>
5 years ago
Alexey Brodkin ecb09ca417 ARC: Add multilib support for Linux in GCC
We never bothered to build multilibbed Linux toolchains for ARC
and so we ended-up with no support of multilib for arc*-*-linux-*
targets in GCC. That is now fixed in upstream by the following commit:
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=0eacfbcb2bf1834294f468a2bb41fe5d5e8d3883

Once the fix mentioned above is applied on top of GCC 8.1.0 we may easily build
multilibbed uClibc toolchain for ARC.

Note sice Glibc port for ARC is still in review process we cannot build any Glibc
toolchains for ARC with pure upstream components, for that we eiter need Glibc
sources from our Github repo or apply a set of patches on top of Glibc 2.27 - we'll
try to address this later though.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
5 years ago
Alexey Neyman ea53be7529
Merge pull request #971 from abrodkin/topic-elf32-multilib
ARC: Add support and sample for baremetal/elf32 multilib toolchain
5 years ago
Alexey Brodkin 62f5b90e2e ARC: Don't mention in multilib not yet supported CPUs
hs4x and hs4xd were mistakenly mentioned in MULTILIB_OPTION/DIRNAMES
before real support of those CPUs was accepted in upstream.

That breaks multilib toolchains building becase we're trying to compile
for not yet known CPU.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
5 years ago
Alexey Brodkin e714f99d89 ARC: Fix Linux kernel comilation for ARC700
Without this fix we're getting the following error on attempt to build
Linux kernel:
--------------------------------->8---------------------------------
xfrm4_mode_tunnel.s: Assembler messages:
xfrm4_mode_tunnel.s:188: Error: operand out of range (128 is not between -
128 and 127)
--------------------------------->8---------------------------------

The fix is taken from
d8d716f49c
and it is supposed to be merged in upstream GCC sources soonish.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
5 years ago
Alexey Neyman 37ac0e8474 Too many fixes need backporting for GCC8...
... so instead, disable -Werror for older versions of glibc.

Signed-off-by: Alexey Neyman <stilor@att.net>
5 years ago
Alexey Neyman 2b055ddc67 Second batch of backported fixes
getlogin/getlogin_r, zic

Signed-off-by: Alexey Neyman <stilor@att.net>
5 years ago
Alexey Neyman 387c8d8e2c First batch of fixes
- Incompatible function type for ifunc alias
- Multiple statements macro expansion in strftime
- if_nametoindex size checking

Signed-off-by: Alexey Neyman <stilor@att.net>
5 years ago
Alexey Neyman 3f16a8e269 Restore a missing GDB option
(whether GDB has --disable-build-with-cxx) and use it.

Signed-off-by: Alexey Neyman <stilor@att.net>
5 years ago
Alexey Neyman 906cfdac7c Add GCC 8.1
Signed-off-by: Alexey Neyman <stilor@att.net>
5 years ago
Alexey Neyman 3f1532713e Update packages: automake, isl, linux, mpfr, musl, newlib, strace, uClibc-ng
Also, fix manage-packages.sh after autotoolization.

Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman b2af5df5fc Backport GCC fix for partial int modes
... from trunk to GCC7/GCC6/GCC5.

Fixes #742.

Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman 0a7ce2bed4 uClibc-ng does not implement name_to_handle_at
... so don't declare it, it confuses (at least) eudev's configure.

Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman a20c29dcef Make libiconv an option in the menu config
Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman 89fdeb9af2 uClibc-ng retired RPC support as of 1.0.23
... make the corresponding option conditional.

Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman 79b100707b Bring in GDB 8.1 and glibc 2.27.
Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman 36bb675a71 More fixes after the upgrades:
- GLIBC requires a fix to work with binutils 2.30 on aarch64. This fix
  relies on binutils 2.24 or newer, which is okay for glibc 2.26 since
  it needs 2.25 or newer anyway. But older glibc versions are now pinned
  to binutils 2.29 or older on aarch64.
- xtensa needs patches in libgcc with gcc 7.3.
- comment in newlib's patch to indicate it is a reversal of a commit.

Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman 1c329c33bf Ncurses fixes for 6.1
- Update to 20180129
- Throw in --disable-db-install if database is disabled; otherwise
  'make install' tries to run tic which is not built.
- Select appropriate strip utility for the host; otherwise non-x86
  architectures fail to install (unless --disable-stripping is also
  added)

Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman 30d741c1e5 Newlib 3.0.0 seems to be a very broken release
Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman c3591a5ca4 Newlib developers should at least try to compile it
... before publishing a release.
6 years ago
Alexey Neyman 66ad1ff514 Upgrade to new releases
android-ndk, binutils, gcc, linux, mpfr, ncurses, newlib, uclibc-ng

MPC vs MPFR dependencies required modifications in auto-generated templates
to also provide non-inclusive older-than/newer-than specifications.

Also correct MPC URLs, the website seems to have adjusted its directory
layout.

Currently, newlib 3.0.0 doesn't build for arm-nano-eabi.

Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman 6509c67082 More uClibc fixes from upstream
Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman a40d63cb04 Pick up linking fix from upstream
Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman 9d5da1886a Bunch of upgrades: android-ndk, expat, gcc-linaro, ...
... mingw-w64, musl, strace, uClibc-ng, linux.

Also, regenerate chksum's after @bhundven's upgrade of binutils.

Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman 98bc4decde Run all patches through renumbering and update
Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Sergey Korolev 080db19355 gcc 7.2.0: fix 977-crystax.patch offsets 6 years ago
Sergey Korolev 67b25c7094 gcc 7.2.0: fix 975-crystax.patch offsets 6 years ago
Sergey Korolev 4e1c932f7c gcc 7.2.0: fix 973-crystax.patch offsets 6 years ago
Sergey Korolev 64b273db83 gcc 7.2.0: fix 972-crystax.patch offsets 6 years ago
Sergey Korolev fd64d3775c gcc 7.2.0: fix 970-crystax.patch offsets 6 years ago
Sergey Korolev fbbbaac5fe gcc 7.2.0: fix 952-bionic-errno.patch offsets 6 years ago
Sergey Korolev c990e6814d gcc 7.2.0: fix 891-fix-m68k-uclinux.patch offsets 6 years ago
Sergey Korolev 11c0d6871e gcc 7.2.0: fix 860-cilk-wchar.patch offsets 6 years ago
Sergey Korolev aee990e030 gcc 7.2.0: fix 810-arm-softfloat-libgcc.patch offsets 6 years ago
Sergey Korolev b5ebf71935 gcc 7.2.0: fix 370-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch offsets 6 years ago
Alexey Neyman c5afabe6c8 Include Makefile.in in gettext 0.19.8.1 patch
Otherwise, make tries to rebuild it and fails.

Fixes #770.

Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman 8e5de7fcbf Upgrades: gcc 5.5, gdb 8.0.1, musl 1.1.17, Linux
Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Bryan Hundven 3cafb8d7b5 [binutils] remove 2.29
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
6 years ago
Bryan Hundven caf8e72233 [binutils] Add 2.29.1
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
6 years ago
Alexey Neyman 4c321260b2 Strace 4.19 needs a patch for uClibc
Taken from upstream.

Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman b3038a0a41 Add digests for all packages
Also fix test-packages: it was saving the output from CT_DoLog into
the checksum file. Also use one file per version.

Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago