| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gcc/
* config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
siginfo_t instead of struct siginfo.
* config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
* config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
* config/ia64/linux-unwind.h (ia64_fallback_frame_state)
(ia64_handle_unwabi): Likewise.
* config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
* config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
* config/sh/linux-unwind.h (shmedia_fallback_frame_state)
(sh_fallback_frame_state): Likewise.
* config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
* config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186610 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
| |
<rearnsha@arm.com>
* config/arm/linux-eabi.h (GLIBC_DYNAMIC_LINKER_SOFT_FLOAT): Define.
(GLIBC_DYNAMIC_LINKER_HARD_FLOAT): Define.
(GLIBC_DYNAMIC_LINKER_DEFAULT): Define.
(GLIBC_DYNAMIC_LINKER): Redefine to use the hard float path.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186859 138bc75d-0d04-0410-961f-82ee72b054a4
|
|\
| |
| |
| |
| |
| | |
into baserock/build-essential
Reviewed-By: Lars Wirzenius <lars.wirzenius@codethink.co.uk>
|
| |
| |
| |
| | |
Patch from http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51969
|
|\ \
| |/
| |
| |
| |
| | |
'origin/baserock/richardmaw/S10442/cross-toolchain-v2' into baserock/build-essential
Reviewed-by: Lars Wirzenius and Sam Thursfield
|
| | |
|
|/ |
|
|\
| |
| |
| | |
Reviewed-by: Daniel Silverstone
|
|/ |
|
|\
| |
| |
| |
| |
| | |
baserock/build-essential
Reviewed-by: Lars Wirzenius
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The command to fix steps is no longer possible, or necessary, since
eglibc installs some fixed headers.
However, gcc needs to fix the previous gcc's headers now.
During our first build of gcc we did not have all the system headers
available.
This was sufficient to build the earlier chunks and some parts of gcc.
However, now we have a more difficult gcc build, so the headers need to
be able to fall back to system headers, which the headers made earlier
don't.
This is an artifact that has eglibc as a build-dependency and needs the
gcc source tree to do it, which technically means it has to be a
separate chunk built from gcc's source.
This is unfortunate, due to gcc's size, but adding the new chunk is the
only way to replace files in our current architecture for building.
To this end, building stage2's gcc involves first building the fixed
headers, then building gcc itself.
|
|/ |
|
|\ |
|
|/
|
|
|
|
|
|
| |
Enough can go wrong that we don't want to require shared objects
working. For example, with a shared object built by a bootstrap
compiler, it can include symbols it shouldn't in the shared object.
This causes problems later when it tries to use working shared objects.
|
|\ |
|
|/
|
|
|
|
|
|
|
|
| |
It's surprisingly difficult to build gfortran separately, it will
always have to rebuild C and supporting tools.
Symlinks for the different fortran dialects are provided, though
it's possible to build with just gfortran, and maybe gcc, some
makefiles use the alternative names. Providing the symlinks
reduces friction with upstream.
|
| |
|
| |
|
|\
| |
| |
| | |
baserock/build-essential
|
| | |
|
| |
| |
| |
| |
| | |
Also, use config.guess when we need to know BUILD, because Morph
no longer sets this variable.
|
| |
| |
| |
| | |
It defaults to on anyway, but for consistency we'll specify the flag.
|
| | |
|
| |
| |
| |
| |
| |
| | |
It's never good to have multiple versions of the same library in use
on a system, so we should avoid using the versions of ZLib that are
bundled in the GCC and Binutils releases.
|
| |
| |
| |
| |
| |
| |
| | |
We had to pass -BSYSROOT/PREFIX/include because it was the only way
to get GCC to look for headers inside a prefix that is inside a
sysroot. However, backporting a patch from GCC trunk to add the
--with-native-system-header-dir configure flag fixes this problem.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
commit 638454a19c1c08f01c10517bc72a114250fc4f33
Author: ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Mon Oct 17 23:31:25 2011 +0000
* configure.ac: Add --with-native-system-header-dir. Set and
substitute NATIVE_SYSTEM_HEADER_DIR. Use native_system_header
when setting target_header_dir.
* config.gcc: Always set native_system_header_dir.
(*-*-gnu*): Set native_system_header_dir. Don't use t-gnu.
(i[34567]86-pc-msdosdjgpp*): Set native_system_header_dir. Don't
use i386/t-djgpp.
(i[34567]86-*-mingw* | x86_64-*-mingw*): Set
native_system_header_dir.
(spu-*-elf*): Set native_system_header_dir.
* Makefile.in (NATIVE_SYSTEM_HEADER_DIR): Set to
@NATIVE_SYSTEM_HEADER_DIR@.
(PREPROCESSOR_DEFINES): Define NATIVE_SYSTEM_HEADER_DIR.
* cppdefault.c (STANDARD_INCLUDE_DIR): Don't define.
(NATIVE_SYSTEM_HEADER_COMPONENT): Rename from
STANDARD_INCLUDE_COMPONENT.
(cpp_include_defaults): Don't use SYSTEM_INCLUDE_DIR. Rename
STANDARD_INCLUDE_DIR to NATIVE_SYSTEM_HEADER_DIR.
* system.h: Poison SYSTEM_INCLUDE_DIR, STANDARD_INCLUDE_DIR, and
STANDARD_INCLUDE_COMPONENT.
* config/i386/t-mingw32 (NATIVE_SYSTEM_HEADER_DIR): Remove.
* config/i386/t-mingw-w32: Likewise.
* config/i386/t-mingw-w64: Likewise.
* config/spu/t-spu-elf: Likewise.
* config/i386/t-djgpp: Remove.
* config/t-gnu: Remove.
* config/i386/mingw32.h (STANDARD_INCLUDE_DIR): Don't define.
(NATIVE_SYSTEM_HEADER_COMPONENT): Rename from
STANDARD_INCLUDE_COMPONENT.
* config/i386/djgpp.h (STANDARD_INCLUDE_DIR): Don't define.
* config/spu/spu-elf.h: Likewise.
* config/vms/xm-vms.h: Likewise.
* config/gnu.h: Likewise.
* config/openbsd.h (INCLUDE_DEFAULTS): Change STANDARD_INCLUDE_DIR
and STANDARD_INCLUDE_COMPONENT to NATIVE_SYSTEM_HEADER_DIR and
NATIVE_SYSTME_HEADER_COMPONENT.
* doc/install.texi (Configuration): Document
--with-native-system-header-dir. Mention it in the documentation
for --with-sysroot and --with-build-sysroot.
* doc/tm.texi.in (Driver): Don't document SYSTEM_INCLUDE_DIR or
STANDARD_INCLUDE_DIR. Rename STANDARD_INCLUDE_COMPONENT to
NATIVE_SYSTEM_HEADER_COMPONENT. Rename uses of
STANDARD_INCLUDE_DIR to NATIVE_SYSTEM_HEADER_DIR.
* doc/fragments.texi (Target Fragment): Don't document
NATIVE_SYSTEM_HEADER_DIR.
* configure, doc/tm.texi: Rebuild.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180114 138bc75d-0d04-0410-96
|
| |
| |
| |
| |
| |
| |
| |
| | |
On some architectures we need to pass flags to GCC's configure, e.g.
--with-arch=armv7-a. Currently this must be specified manually in the
morph.conf file when building on such a system. Ideally in the future
we would bake this setting directly into the system image to reduce
potential for failure.
|
|/
|
|
|
|
|
|
|
|
| |
JSON versions are generated from .yaml versions using the edit-morph
script in the Morph source tree:
'scripts/edit-morph to-json *.morph.yaml'
The .morph files themselves should be converted to YAML after the next
Baserock release.
|
|
|
|
| |
Reviewed-by: Richard Maw <richard.maw@codethink.co.uk>
|
|
|
|
| |
Reviewed-by: Lars Wirzenius <lars.wirzenius@codethink.co.uk>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Back-ported from upstream:
commit c6e19dd6c296449f6d9e54d630f8198acf103d24
Author: wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Wed Jul 25 20:13:46 2012 +0000
Pass -be8 by default for armv7-a when configured big-endian.
config/arm/bpabi.h (BE8_LINK_SPEC): Set according to
TARGET_BIG_ENDIAN_DEFAULT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189867
138bc75d-0d04-0410-961f-82ee72b054a4
See also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350
|
|
|
|
|
|
| |
This is required for Perl's configure script to work without us
explicitly setting CC=gcc and is generally good for POSIX
compatibility.
|
|
|
|
| |
Otherwise, everything breaks. I'm not 100% sure why.
|
|
|
|
|
|
|
|
|
| |
This directory doesn't exist in the intermediate (stage1) version of
build-essential, where everything is installed into /tools instead.
The path is hardcoded into gcc and is only as far as I can see used
when running fixincludes, which it seems should only be necessary when
building a cross-compiler.
|
| |
|
| |
|
|
|
|
|
|
| |
This has most of the compile flags of a normal build, but the branch is
based on baserock/bootstrap-pass1-1 because we don't have any autotools,
flex or bison available.
|
| |
|
|
|
|
| |
according to LFS decimal-float doesn't build in cross compile
|
| |
|
|
|
|
|
|
| |
libiberty and zlib don't cross compile well.
Technically we cross compile to the same architecture so we
hit these problems
|
|
|
|
|
|
|
|
|
|
|
|
| |
We should not have called the first part of the bootstrap pass 1
We should have called it stage 1. Stage 1 builds gcc twice, they are
pass1 and pass2 in LFS terminology.
Gcc itself does a bootstrap which has 3 passes.
Add pass1-2, this does some bad hacks and json is not a very good
place to write shell scripts, but it can't be done statically as
the output depends on $PREFIX
|
|
|
|
|
|
|
|
|
|
|
| |
This is roughly the commands used in the old bootstrap
The `gcc -print-libgcc-file-name` libgcc_eh symlink commands
had to be altered as it assumed the generated gcc was in PATH.
The best solution would be to not need the symlink.
An ok solution would be to know in advance where it needs to be
but that depends on $PREFIX, $TOOLCHAIN_TARGET and gcc's version
so this horrible search is used.
|
|
|
|
|
| |
This is much easier than building the libraries first.
This approach was copied from Linux From Scratch 7.0.
|
| |
|
|
|