This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[crosstool-ng/crosstool-ng] 2091c5: Pass FOR_BUILD flags when building the pass-1/2 co...


  Branch: refs/heads/master
  Home:   https://github.com/crosstool-ng/crosstool-ng
  Commit: 2091c5dd2dc01d7462ced6a8617d1f5227764f1b
      https://github.com/crosstool-ng/crosstool-ng/commit/2091c5dd2dc01d7462ced6a8617d1f5227764f1b
  Author: Alexey Neyman <stilor@att.net>
  Date:   2016-11-28 (Mon, 28 Nov 2016)

  Changed paths:
    M scripts/build/cc/100-gcc.sh

  Log Message:
  -----------
  Pass FOR_BUILD flags when building the pass-1/2 core GCC.

Current build passes {CFLAGS,LDFLAGS}_FOR_HOST - which breaks canadian cross
(e.g. tried building for x86_64-unknown-linux-uclibc host). This dates
back to the days of yore when CFLAGS were set directly in the do_gcc_core_backend
(and that function is used as the final gcc's backend).

do_gcc_core_backend is now passed with CFLAGS/LDFLAGS to use, so let
the pass-1/pass-2/final-for-build steps pass the appropriate flags.

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


  Commit: 5e491661402db061dc8c2f276ea7b895ef589592
      https://github.com/crosstool-ng/crosstool-ng/commit/5e491661402db061dc8c2f276ea7b895ef589592
  Author: Alexey Neyman <stilor@att.net>
  Date:   2016-11-29 (Tue, 29 Nov 2016)

  Changed paths:
    M config/debug/dmalloc.in
    M config/debug/duma.in

  Log Message:
  -----------
  Disallow dmalloc for bare metal.

In case of bare metal, newlib is built without any syscalls,
and dmalloc fails to link with undefined references to _exit,
fstat, open, sbrk and so on.

Same for DUMA: depends on <memory.h>, not available with newlib.

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


  Commit: db252df423a7df73a50d4f17ad6b2890771eff5b
      https://github.com/crosstool-ng/crosstool-ng/commit/db252df423a7df73a50d4f17ad6b2890771eff5b
  Author: Alexey Neyman <stilor@att.net>
  Date:   2016-11-29 (Tue, 29 Nov 2016)

  Changed paths:
    A samples/x86_64-multilib-linux-uclibc,powerpc-unknown-elf/crosstool.config
    A samples/x86_64-multilib-linux-uclibc,powerpc-unknown-elf/reported.by

  Log Message:
  -----------
  Add a canadian cross sample ...

... that was exhibiting the failures fixed in previous commits.

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


  Commit: e3c764cc2d6787a7363a1abab4150f1358e88736
      https://github.com/crosstool-ng/crosstool-ng/commit/e3c764cc2d6787a7363a1abab4150f1358e88736
  Author: Alexey Neyman <stilor@att.net>
  Date:   2016-11-29 (Tue, 29 Nov 2016)

  Changed paths:
    R samples/i586-mingw32msvc,i686-none-linux-gnu/broken
    R samples/i586-mingw32msvc,i686-none-linux-gnu/crosstool.config
    R samples/i586-mingw32msvc,i686-none-linux-gnu/reported.by

  Log Message:
  -----------
  Remove a broken sample.

We don't have a sample that builds the required toolchain (i586-mingw32msvc).

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


  Commit: 3285ccbd3eb07a43168b6fc56e02f56836b44efe
      https://github.com/crosstool-ng/crosstool-ng/commit/3285ccbd3eb07a43168b6fc56e02f56836b44efe
  Author: Alexey Neyman <stilor@att.net>
  Date:   2016-11-29 (Tue, 29 Nov 2016)

  Changed paths:
    A patches/gcc/6.2.0/831-ARM-PR-target-70473-Reduce-size-of-Cortex-A8-automat.patch
    R patches/gcc/6.2.0/840-microblaze-enable-dwarf-eh-support.patch
    A patches/gcc/6.2.0/890-fix-m68k-compile.patch
    A patches/gcc/6.2.0/891-fix-m68k-uclinux.patch
    A patches/gcc/6.2.0/892-libgcc-mkmap-symver-support-skip_underscore.patch
    A patches/gcc/6.2.0/893-libgcc-config-bfin-use-the-generic-linker-version-in.patch
    A patches/gcc/6.2.0/894-libgcc-fix-DWARF-compilation-with-FDPIC-targets.patch
    A patches/gcc/6.2.0/895-bfin-define-REENTRANT.patch
    A patches/gcc/6.2.0/910-nios2-bad-multilib-default.patch
    A patches/gcc/6.2.0/930-libgcc-disable-split-stack-nothreads.patch
    A patches/gcc/6.2.0/940-uclinux-enable-threads.patch

  Log Message:
  -----------
  Sync up with buildroot GCC 6.2.0 patches.

Additionally, copy from 5.4.0:
- 910-nios2-bad-multilib-default.patch (needed for nios2 sample)
- 930-libgcc-disable-split-stack-nothreads.patch (applicable to 6.2.0 as well)

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


  Commit: e082dd8991fcbdc4695de4ad513e10187e715a20
      https://github.com/crosstool-ng/crosstool-ng/commit/e082dd8991fcbdc4695de4ad513e10187e715a20
  Author: Alexey Neyman <stilor@att.net>
  Date:   2016-11-29 (Tue, 29 Nov 2016)

  Changed paths:
    R samples/x86_64-w64-mingw32,x86_64-pc-linux-gnu/broken
    M samples/x86_64-w64-mingw32/crosstool.config

  Log Message:
  -----------
  Enable posix threads in x86_64-w64-mingw32.

This enables the resulting toolchaing to be used to build a canadian
cross to x86_64-pc-linux-gnu target. Unmark that sample as broken,
it now builds successfully.

It is likely that it is affected by issue #483, too - I see the
resulting gcc executable has a DLL dependency on libiconv-2.dll,
which is only installed into .build/.../buildtools. This will be
investigated/fixed separately.

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


  Commit: f849de0de38b36d51477c633090a36a00696fdc6
      https://github.com/crosstool-ng/crosstool-ng/commit/f849de0de38b36d51477c633090a36a00696fdc6
  Author: Alexey Neyman <stilor@att.net>
  Date:   2016-11-30 (Wed, 30 Nov 2016)

  Changed paths:
    M config/debug/dmalloc.in
    M config/debug/duma.in
    A patches/gcc/6.2.0/831-ARM-PR-target-70473-Reduce-size-of-Cortex-A8-automat.patch
    R patches/gcc/6.2.0/840-microblaze-enable-dwarf-eh-support.patch
    A patches/gcc/6.2.0/890-fix-m68k-compile.patch
    A patches/gcc/6.2.0/891-fix-m68k-uclinux.patch
    A patches/gcc/6.2.0/892-libgcc-mkmap-symver-support-skip_underscore.patch
    A patches/gcc/6.2.0/893-libgcc-config-bfin-use-the-generic-linker-version-in.patch
    A patches/gcc/6.2.0/894-libgcc-fix-DWARF-compilation-with-FDPIC-targets.patch
    A patches/gcc/6.2.0/895-bfin-define-REENTRANT.patch
    A patches/gcc/6.2.0/910-nios2-bad-multilib-default.patch
    A patches/gcc/6.2.0/930-libgcc-disable-split-stack-nothreads.patch
    A patches/gcc/6.2.0/940-uclinux-enable-threads.patch
    R samples/i586-mingw32msvc,i686-none-linux-gnu/broken
    R samples/i586-mingw32msvc,i686-none-linux-gnu/crosstool.config
    R samples/i586-mingw32msvc,i686-none-linux-gnu/reported.by
    A samples/x86_64-multilib-linux-uclibc,powerpc-unknown-elf/crosstool.config
    A samples/x86_64-multilib-linux-uclibc,powerpc-unknown-elf/reported.by
    R samples/x86_64-w64-mingw32,x86_64-pc-linux-gnu/broken
    M samples/x86_64-w64-mingw32/crosstool.config
    M scripts/build/cc/100-gcc.sh

  Log Message:
  -----------
  Merge pull request #484 from stilor/fix-canadian

Fix canadian crosses


Compare: https://github.com/crosstool-ng/crosstool-ng/compare/699a54d8cede...f849de0de38b
--
For unsubscribe information see http://sourceware.org/lists.html#faq

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]