Commit Graph

557 Commits

Author SHA1 Message Date
Augustin Cavalier
b3407e33b3 Jambase: Restore old ar flags to fix GCC2. 2018-11-25 11:08:39 -05:00
Augustin Cavalier
6ce894a916 jam: Bump Jambase version, fix typo, and regenerate jambase.c. 2018-11-21 19:07:39 -05:00
Augustin Cavalier
2671c4b959 Jambase: Change default ARFLAGS and enable NOARSCAN by default.
On most systems, "D" (deterministic) is now the default archiving mode,
and so specifying "u" will throw a warning that "D" is being used anyway.
Jam previously assumed, as it was passing "u", that the timestamps inside
.a's were valid when they were actually 0, which was leading to spurious
rebuilds of .as.

After this change, we assume archives cannot be scanned for timestamps,
which should stop the spurious rebuilds of targets on most systems.
2018-11-21 18:46:31 -05:00
Augustin Cavalier
1d198a6bf6 Jambase: Update some rules from Haiku's overridden set.
These are the simple ones that were just overridden to handle spaces
in file names properly.
2018-11-21 18:44:04 -05:00
Augustin Cavalier
35013601f4 Jambase: Remove crelib.
Not needed anymore as I've just removed the platforms that used it.
2018-11-21 18:35:02 -05:00
Augustin Cavalier
8f66ea4bf2 Jambase: Remove old UNIXes. 2018-11-21 18:27:25 -05:00
Augustin Cavalier
b47cc04d00 Jambase: Add a blanket disclaimer about modifications.
Hopefully this is enough to satisfy the license requirements.
Remove some of the "LOCAL CHANGE" comments as a result (ones about
the HeaderCache remain.)
2018-11-21 15:00:12 -05:00
Augustin Cavalier
4d114c95a7 Jambase: Remove Mac OS 9 support.
macOS support is provided via the "MACOSX" case under "UNIX"
and is unaffected by this.

Also remove the Win98 (!) cruft while we're at it.
2018-11-21 14:57:36 -05:00
Augustin Cavalier
531869677c Jambase: Remove RELOCATE.
We don't need to support these ancient compliers anymore, so this
hack can go away.
2018-11-21 14:53:20 -05:00
Augustin Cavalier
161fe1206c Jambase: Remove OS/2, VMS, and Borland support. 2018-11-21 14:51:27 -05:00
Augustin Cavalier
7d73e6afae Jambase: Cleanup formatting and inline LICENSE.
No functional change intended.

We have been putting off refactoring this for too long. It's time to
change that.
2018-11-21 14:48:04 -05:00
waddlesplash
0c77ecec1f isl: Rerun autoconf. 2018-08-26 21:58:14 -04:00
waddlesplash
b5743e0bba m4: Add AX_PTHREAD m4 file, fixes the build with older autoconf. 2018-08-26 21:24:49 -04:00
waddlesplash
6c18e94008 configure: Update/touch so the build system won't try to update it. 2018-08-26 21:01:36 -04:00
Fredrik Holmqvist
974e12c1f0 Upgrade mpfr to 4.0.1
Old version was 3.1.2 and is quite old: 2013-03-13
A lot has happened since then 4.0.1 is from 2018-02-07
2018-07-04 20:21:01 +02:00
Fredrik Holmqvist
87b935d29c Upgrade mpc from 1.0.1 to 1.1.0
Mostly bug fixes, see mpc/NEWS
2018-07-04 20:21:00 +02:00
Fredrik Holmqvist
f133d007f9 Upgrade GMP from 5.0.5 to 6.1.2 (2016-12-16)
Old version was from 2012-05-06, 6.1.2 is from 2016-12-16
A lot of support for newer processors and speedups since then
See gmp/NEWS for details
2018-07-04 20:20:59 +02:00
Fredrik Holmqvist
8e863d49e6 gcc no longer requires cloog for graphite
gcc uses isl directly nowadays
2018-07-04 20:20:57 +02:00
Fredrik Holmqvist
e7f96e19a4 Upgrade isl to version 0.19
gcc currently requires 0.15 or later for graphite
2018-07-04 20:20:56 +02:00
Fredrik Holmqvist
0b514caa50 Move isl inside gcc dir
Moving it inside gcc dir allows gcc to detect and build isl while
building gcc. It has dependencies on other libraries that would
need to be prebuilt if we build it ourselves.

This is one of a few steps in building gcc with isl and allowing graphite
optimization flags.
2018-07-04 20:20:55 +02:00
Jerome Duval
13dd3f531f fix for libstdc++/69506 2018-06-28 22:35:23 +02:00
Augustin Cavalier
ac9c3b7005 Further synchronization with HaikuPorts patches. 2018-06-03 12:11:59 -04:00
Augustin Cavalier
a7eeaa62ba gcc: Synchronize Makefile.in with HaikuPorts one.
Includes a fix for the x86_64 GCC build from Jerome.

Fixes #14179.
2018-06-03 12:05:19 -04:00
waddlesplash
9f5168c3d9 Remove the ancient patches directory.
Nothing referenced it.
2018-05-22 20:54:10 -04:00
waddlesplash
8651cd3f95 Further fixes to get GCC 7.3 actually working for Haiku builds.
Partially from @jarekpelczar's work, but only certain pieces that
were needed, and the rest is either from earlier GCC patches
or is my own work.

With this, GCC 7 can now build Haiku.
2018-05-19 23:00:50 -04:00
Alexander von Gluck IV
51ec6d2217 gcc: Initial Haiku support patches based on gcc 5.x 2018-03-20 09:59:01 -05:00
Alexander von Gluck IV
ffa48efe31 import previous mpfr,mpc,gmp 2018-03-19 15:46:45 -05:00
Alexander von Gluck IV
3d544ab266 import gcc 7.3.0 2018-03-19 15:34:23 -05:00
Jérôme Duval
923a34a14b jam: use posix_spawnp() instead of fork() on linux.
the gain is about 10% on a 8-job kernel full build.
2018-01-06 16:48:36 +01:00
Augustin Cavalier
20a46bd5f9 bfd: Fix build with newer texinfo. 2017-11-11 14:01:56 +01:00
Jérôme Duval
35041506a0 Merge binutils 2.28.1 2017-08-06 14:09:36 +02:00
Jérôme Duval
8b2ef03baf import binutils 2.28.1 2017-08-05 16:32:14 +02:00
Ingo Weinhold
aa5e614865 Bump legacy gcc version
Hasn't been done in a while.
2017-07-20 07:52:55 +02:00
Ingo Weinhold
9167fe74f5 legacy gcc: remove "#pragma once" warning
"#pragma once" is no longer obsolete. In fact it is the preferred header
guard method.
2017-07-20 07:52:55 +02:00
Adrien Destugues
259af3cf06 Increase MAXSYM and add sanity checks.
I had jam crash in strange ways because a stack-allocatted aray was
overflowing. Double the limit, and add sanity checks with exit and clear
error messages in case it happens again.
2017-07-16 19:40:50 +02:00
Jérôme Duval
233c0fb351 import binutils 2.27 2016-10-10 16:55:00 +02:00
Adrien Destugues
560f4f562f Legacy binutils: do not link against Flex.
Flex is not needed, and creates some confusion when building the
binutils on Haiku. Just remove all the checks from the configure script,
so it is never used.
2016-07-24 18:10:22 +02:00
Jérôme Duval
68e96393c7 Merge binutils 2.26.1 2016-07-21 21:36:13 +02:00
Jérôme Duval
5dcc710c26 import binutils 2.26.1 2016-07-21 21:35:07 +02:00
François Revol
8865c113a6 gcc: correct LINK_SPEC for m68k
We need to allow undefined symbols to link libgcc now...
2016-07-20 04:40:19 +02:00
Jérôme Duval
97e06d2ad6 Merge gcc 5.4.0. 2016-06-05 13:33:52 +02:00
Jérôme Duval
7f478ec453 import gcc 5.4.0 2016-06-05 13:00:18 +02:00
Paweł Dziepak
aaf3dee62e gcc: reassign copyright to the FSF
Signed-off-by: Paweł Dziepak <pdziepak@quarnos.org>
2016-03-08 21:28:51 +00:00
Jérôme Duval
3dd8d8f58c update reference to gcc4.
* to trigger the build.
2016-03-04 20:27:59 +01:00
Jérôme Duval
cf9f358f9e gcc: add missing mask blank in ctype_base.h 2016-03-04 18:01:05 +01:00
Jérôme Duval
7c77083396 gcc: Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets. 2016-03-04 17:58:26 +01:00
Jérôme Duval
137b14625b Merge gcc 5.3.0 2016-02-29 11:09:52 +01:00
Jérôme Duval
f8056f83f7 import gcc 5.3.0 2016-02-29 10:41:25 +01:00
Jérôme Duval
661fb7cf18 gcc4: revert partially 419211519c.
"* LINK_SPEC: Pass "-shared" to the linker only if it was passed to gcc; output
      position-independent executables by default;" is reverted to workaround a
link failure on gcc4 with binutils 2.26: add-ons objects would fail to link
against an executable (being no more a shared object). This is possibly temporary
until the need for executable as shared objects is fully reviewed.
2016-02-28 15:33:41 +01:00
Jérôme Duval
b9cfe212c1 Merge binutils 2.26 2016-02-10 19:02:55 +01:00