10 Commits

Author SHA1 Message Date
Dmitriy Kuminov
e76e0e5f37 Remove all configure scripts and other generated Autotools files.
On platforms that are not officially supported by GNU Autotools (like OS/2)
it is necessary to generate configure and other related stuff using platform-specific
Autoconf and Automake to make the build succeed. A script autoconf.sh added
by this commit does that.

Note that it's necessary to remove pre-generated upstream versions of these files
from Git completely in order to avoid seeing multiple differences resulting from
different versions of Autotools (and also to save some space - configure files
are huge).

This commit also adds a few minor bits to configure.ac/Makefile.am of a few
projects to help autoconf.sh do its job properly.

Needed for #2.
2019-12-14 18:12:52 +03:00
Paul Smedley
18c759c61f Make libiberty/stack-limit.c compile, revert libiberty/pex-unix.c to the original source
(cherry picked from commit c0a363629bae8e5eb3865250ec98701b3099fd73)
2019-11-27 02:37:39 +03:00
Paul Smedley
3c3af6b43f Don't enable PIC for libiberty on EMX
(cherry picked from commit 08f86de927d598527925508a60c5447670f3baa3)
2019-11-27 02:34:10 +03:00
Paul Smedley
55ad0e757f Fix error message on ctrl-c - patch from komh
(cherry picked from commit 9794c160f676c32d6ebb155a21f0891166189939)
2019-11-27 01:00:42 +03:00
Paul Smedley
e9ab217fcb Implement -pipe for EMX in pex-djgpp.c - patch from komh
(cherry picked from commit 33eaef1590f1f956ecc6851b04470bb4191b6ef5)

Conflicts:

	libiberty/configure.ac
2019-11-27 00:59:37 +03:00
Yuri Dario
47cb728e57 OS/2: Pass args to spawned tools in response files if larger than 32K.
This is due to the limitation of DosExecPgm (32K) on the command line
length.

In particular, this change fixes building of OOo.
(cherry picked from commit ff64e7fb19aae4e917c725030f2a2458c9b36fcf
and 0ac0b5270d0368eb24dd29b5e8884571b83800d2)
2019-11-27 00:36:07 +03:00
Yuri Dario
6527ec706d Fix "Internal compiler error..." when spawned cc1/cc1plus returns error.
This is a regression of 330b45f3b9.
(cherry picked from commit b857cb74bf9f204bb145434dd5399bf73535de39)
2019-11-27 00:20:11 +03:00
Yuri Dario
1337af400c libiberty: Use spawn instead of fork + exec on OS/2.
(cherry picked from commit 330b45f3b9783fb9ea587b9ae3aa2d3ea7edd320)

Conflicts:

	libiberty/configure
2019-11-27 00:17:17 +03:00
Dmitriy Kuminov
a561531e94 Apply OS/2-EMX specific files and patches.
Note: This is a cumulative patch containing the work of several people
which is impossible to separate now.

This patch contains a number of '#ifdef 0'-like hacks that need to be
reviewed and fixed properly as they are unlikely to be accepted upstream
in the current form. Also, some patches may be not relevant any more.
(cherry picked from commit 25ebd257ce836444e0914e35a7baf3fdff67e3b9)

Conflicts:

        Makefile.in
        gcc/Makefile.in
        gcc/config.build
        gcc/config.gcc
        gcc/config.host
        gcc/config/i386/i386-protos.h
        gcc/config/i386/i386.c
        gcc/config/i386/i386.h
        gcc/config/i386/i386.md
        gcc/cp/class.c
        gcc/cp/decl.c
        gcc/cp/error.c
        gcc/cp/g++spec.c
        gcc/cp/mangle.c
        gcc/cppdefault.c
        gcc/fix-header.c
        gcc/gcc.c
        gcc/gengtype.c
        gcc/gthr.h
        gcc/langhooks.c
        gcc/libgcc2.c
        gcc/target-def.h
        include/filenames.h
        libgcc/config.host
        libiberty/configure
        libiberty/configure.ac
        libstdc++-v3/include/bits/stringfwd.h
        libstdc++-v3/libsupc++/typeinfo
(cherry picked from commit 02bd882d6c317ed56da4a4d4d8af54e2687d3001)

Conflicts:

        fixincludes/fixlib.h
        gcc/Makefile.in
        gcc/config/i386/i386.c
        gcc/config/i386/i386.h
        gcc/cp/dump.c
        gcc/cp/error.c
        gcc/cp/g++spec.c
        gcc/ggc-zone.c
        libstdc++-v3/include/bits/stringfwd.h
        libstdc++-v3/include/parallel/compatibility.h
        libstdc++-v3/libsupc++/typeinfo
(cherry picked from commit b183829f9258cb3bb22117c32d610a18b1ba5359
and f0f959360a8b8fe0cb4276c695e60fdfff41f81f)

Conflicts:
	gcc/config.gcc
	gcc/config.host
	gcc/config/i386/i386-protos.h
	gcc/config/i386/i386.c
	gcc/config/i386/i386.h
	gcc/cp/dump.c
	gcc/cp/except.c
	gcc/dbxout.c
	gcc/gcc.c
	gcc/langhooks.c
	gcc/toplev.c
2019-11-26 23:45:45 +03:00
Dmitriy Kuminov
fbf7869a1b vendor: Import gcc-9_2_0-release.
Source URL:    git://gcc.gnu.org/git/gcc.git
Source Commit: 3e7b85061947bdc7c7465743ba90734566860821
2019-11-18 21:50:01 +03:00