Commit Graph

365 Commits

Author SHA1 Message Date
Niels Sascha Reedijk
2ff934231b Import GCC 13.2.0 and dependencies
Dependencies (not updated since 13.1.0):
 * GMP 6.2.1
 * ISL 0.24
 * MPL 1.2.1
 * MPFR 4.1.0

The dependencies were pulled in by running the ./contrib/download_prerequisites script.
2023-08-10 07:04:31 +01:00
Niels Sascha Reedijk
92b3138b83 Import GCC 13.1.0 and dependencies
Updated dependencies:
 * GMP 6.2.1
 * ISL 0.24
 * MPL 1.2.1
 * MPFR 4.1.0

The dependencies were pulled in by running the ./contrib/download_prerequisites script and then
manually removing the symbolic links and archives, and renaming the directories (i.e mv isl-0.24 to isl)
2023-06-18 01:43:18 +01:00
Adrien Destugues
d65f2977c7 import gcc 11.3.0
Change-Id: Ibbd34379df256b6994d7d12448cde98c84294aab
2022-07-15 19:23:24 +02:00
Adrien Destugues
39ede93a70 import gcc 11.2.0 2022-07-15 14:33:44 +02:00
Adrien Destugues
a4e1e0eca1 import gcc 8.3.0 2022-07-15 14:28:41 +02:00
Adrien Destugues
4e0a65840e import gcc 7.3.0 2022-07-15 14:14:32 +02:00
Jérôme Duval
7f478ec453 import gcc 5.4.0 2016-06-05 13:00:18 +02:00
Jérôme Duval
f8056f83f7 import gcc 5.3.0 2016-02-29 10:41:25 +01:00
Jérôme Duval
a1af220a6f import gcc 4.8.5 2015-07-11 09:14:42 +02:00
Jérôme Duval
514f593381 import gcc 4.8.4 2014-12-21 12:08:20 +01:00
Jérôme Duval
3b2e5a8b24 import gcc 4.8.3 2014-05-27 22:33:21 +02:00
Jérôme Duval
ec21a8f0b8 import gcc 4.8.2 2014-01-21 21:04:08 +01:00
Jérôme Duval
3793707eda import gcc 4.8.1 2013-06-05 18:35:38 +02:00
Jérôme Duval
e9f3433e73 import gcc 4.7.3 2013-04-23 18:39:47 +02:00
Jerome Duval
8e92ab0deb import gcc 4.6.4 2013-04-19 21:13:03 +02:00
Jerome Duval
86fff94921 import gcc 4.6.3 2013-04-19 20:57:06 +02:00
Jerome Duval
8328484592 binutils snapshot 20130408 2013-04-08 20:53:03 +02:00
Jerome Duval
34e528abef import binutils 2.23.2 2013-04-03 21:39:13 +02:00
Jerome Duval
eecbb214c7 import binutils 2.22 2013-04-03 21:07:39 +02:00
Alexander von Gluck IV
7b651beab7 gcc: Fix build breakage with latest texinfo
* Texinfo 5.0 and later have issues building
  gcc due to a behaviour change.
* Resolves #9483
2013-02-25 21:50:39 -06:00
Alexander von Gluck IV
672db9fae8 binutils: Fix build breakage with latest texinfo
* Texinfo 5.0 and later have issues building
  binutils due to a behaviour change.
* Upstream binutils HEAD has this fix
* Resolves #9482
2013-02-25 20:52:56 -06:00
Adrien Destugues
8b70c20ed2 Add another standard C++ prototype for string::compare. 2013-01-05 11:19:40 +01:00
Ithamar R. Adema
85c4a8cee1 ARM/gcc4: fixup ARM configuration to more closely match x86
Turned out that our ARM gcc4 build used short-enum's, which made
our build fail (specifically, src/kits/tracker/ViewState.cpp:122).

Thanks to Landon Fuller and Oliver Tappe for helping me figure
the fix out!
2012-11-22 20:06:49 +01:00
Oliver Tappe
ed0528aef0 Force POSIX locale, as otherwise the build (makeinfo) may break.
* the cause for the spurious makeinfo breakages is that it relies on
  being executed in POSIX locale - spotted by Jonathan Schleifer, thanks!
2012-11-07 20:31:39 +01:00
Joseph R. Prostko
48a09beb0a Update GCC2 date versioning
* Due to recent changes by pulkomandy and myself, the date versioning must be updated
* A change to the configure script will follow this commit
2012-10-31 23:54:19 -04:00
Joseph R. Prostko
6be228270a Add gnu directory back to INCLUDE_DEFAULTS
* Done for both GCC2 and GCC4 buildtools
* Due to this change, hrev44719 will be reverted once new optional packages are built
2012-10-31 23:43:01 -04:00
Joseph R. Prostko
a17bb71c16 Replace outdated paths in buildtools
* Replace /boot/beos/system/lib with /boot/system/lib
* Performed on configure and libtool.m4 files, as well as patches
2012-10-31 10:33:57 -04:00
Adrien Destugues - PulkoMandy
5f2852400d Allow use of c_str() when <charT> != char
http://gcc.gnu.org/ml/libstdc++-prs/2000-q4/msg00004.html
This allows use on std::wstring, and others.
2012-10-27 15:56:05 +02:00
Adrien Destugues - PulkoMandy
72f47ffea0 Add missing tan(), tanh() and log10() for std::complex.
These are part of the C++ standard, I don't know how they went missing
in our version.
http://www.cplusplus.com/reference/std/complex/

They are needed to build MathGL library, and likely other stuff.
2012-10-27 15:42:44 +02:00
Joseph R. Prostko
1272855227 Remove outdated fix for O_BINARY / O_TEXT in Haiku
* O_BINARY and O_TEXT were removed from Haiku way back in hrev38962
* This patch removes the fix that used to unset those flags
* Now gcc/intl/loadmsgcat.c is back to the GCC 4.6.3 stock file
Thanks diger for noticing the previously needed fix was still in place unintentionally
2012-10-19 17:13:07 -04:00
Joseph R. Prostko
9ff1e151e8 Address issue with building code that relies on SSP
* -lssp_nonshared being passed at link time was resulting in multiple definition errors
* Apps such as Perl and CUPS would fail to build due to this
* This should alleviate the problem when -fstack-protector or -fstack-protector-all are used
Thanks to diger for letting me know of this issue and making me aware of a fix
2012-10-17 08:02:30 -04:00
Joseph R. Prostko
48df496192 Remove invalid "true" argument from --enable-shared as part of the binutils build
* This had the side effect of doing the opposite of the intended goal
* Now the GCC package is smaller, as before there was a lot of static linking happening
Thanks to diver for pointing out the size change of the GCC package, as it helped me find this issue.
2012-10-17 07:40:03 -04:00
Joseph R. Prostko
e2c280b8f7 Lower optimization level for building jam
* This changes the optimization level from -O3 to -O
* This will prevent segfaults when creating jam via the Makefile on FreeBSD
* Benchmarking was done, and there seems to be no negative performance impact
* Another option would be -O3 -fno-strict-aliasing, but this has no noticeable benefit over -O
2012-10-12 20:40:25 -04:00
Joseph R. Prostko
9b386978f4 Update from GCC 4.6.2 to 4.6.3 for R1A4
* This update resolves the segfault/ICE in gcc/c-parser.c while building natively
* gcc/gengtype.c was already updated to GCC 4.6.3 version previously in btrev43031, so no change there
* gcc/libiberty/make-relative-prefix is the stock 4.6.3 version now, as the workaround for Haiku is no longer needed
* This update is otherwise the GCC patches for upgrading 4.6.2 to 4.6.3 core/g++ applied to our sources
2012-10-12 20:14:32 -04:00
Joseph R. Prostko
0208757700 Bump date versioning for GCC 2.95.3 for R1A4 release 2012-10-12 19:51:37 -04:00
Joseph R. Prostko
6e2e3b1e92 Make build-gcc4-optional-package-Haiku.sh executable 2012-10-11 20:15:50 -04:00
Alex Smith
abe2582c05 Corrected x86_64 target in build-gcc4-optional-package-Haiku.sh. 2012-08-11 18:23:23 +01:00
Alex Smith
8fe25aaeb4 Fixed x86_64 GCC configuration issue resulting in an incorrect crtend.o.
Some necessary CFLAGS were not being used when compiling crtbegin.o and
crtend.o, resulting in warnings when linking shared objects.
2012-07-18 15:06:45 +01:00
Alexander von Gluck IV
2dc19755cc gcc: Avoid out-of-scope access of newv.
* Cherry-picked regression fix from gcc 4.6 mainline
* Simple 2 line change.
* GCC 4.7+ compiling gcc 4.6 would fail
* GCC bug 51969
* Fix was added to gcc 4.6-mainline via rev 184239
* Resolves #8470
2012-04-14 12:14:37 -05:00
Alex Smith
cc75156e51 Updated the x86_64 toolchain to fix build failures and to be more correct.
* A build failure occurs as TARGET_64BIT is no longer a compile-time
  constant in GCC.
* Made some changes so that generated code matches the i386 Haiku target when
  generating 32-bit code, and follows the x86_64 ABI for 64-bit code.
* Added a comment stating that DEFAULT_PCC_STRUCT_RETURN needs to be defined
  to follow the ABI for 32-bit code, it is ignored for 64-bit.
* Remove definition of __x86_64__, already defined by GCC's i386-c.c.
* Remove -z max-page-size from LINK_SPEC as it shouldn't be necessary: the
  default page size is 2MB but this won't result in large binaries, it just
  changes the alignment of the sections and would make it easier to map
  binaries using large pages in the future.

Signed-off-by: Ingo Weinhold <ingo_weinhold@gmx.de>
2012-04-05 12:49:49 +02:00
Jerome Duval
5bdd342ffa gcc: ASM_COMMENT_START shouldn't be defined at the OS level.
* arm: ASM_COMMENT_START is defined in arm/aout.h.
* i386 and x86_64: define ASM_COMMENT_START.
* others: ASM_COMMENT_START is defined in ${arch}/${arch}.h.
2012-03-31 17:43:19 +02:00
Jérôme Duval
e9b8ca373a updated optional package build script for gcc4 to make a cross compiler.
* --arch sets the target arch, defaults to x86
* --source-dir sets the Haiku root directory for headers.
* tested with ppc.
2012-03-18 15:31:41 +01:00
Jérôme Duval
a2012848e3 Fix arm regression since 4.6
* a part of arm/bpabi.h was moved to ../../libgcc/config/arm/bpabi-lib.h
* reference this new header.
2012-01-22 11:55:38 +01:00
Jerome Duval
4c871ab97b updated gcc4 optional package build script
* add --enable-frame-pointer as this isn't default for x86 any more
* use install-strip instead of install
* updated optional package description
2012-01-22 02:26:38 +00:00
Jérôme Duval
8bfdd26cf9 Get rid of svr4 for powerpc too, it's now deprecated. 2012-01-19 21:52:27 +01:00
Jérôme Duval
17b69b54d1 Merge commit '4.6.2'
Conflicts:
	gcc/gcc/configure
2012-01-07 16:59:47 +01:00
Jérôme Duval
0a01235971 import of gcc 4.6.2 (core and g++ only). 2012-01-07 16:48:31 +01:00
Jérôme Duval
5cceb123aa Merge commit '4.5.3' 2012-01-07 16:45:05 +01:00
Jérôme Duval
9507ae2782 import of gcc 4.5.3 (core and g++ only). 2012-01-07 16:44:13 +01:00
Jérôme Duval
d534b97c8b binutils: fix out of tree building with syslex regens
If you take a release tarball (which has pregenerated syslex and sysinfo files
	in it), apply some patches which touch syslex.l, and then build the result out
	of tree, it will fail.  This is because syslex.l uses sysinfo.h, but the
	sysinfo.y file wasn't updated and so it wasn't regenerated (the files are found
	in the $srcdir), and the build rule for syslex.c does not use -I$(srcdir) when
	it finds a local file.  Simple fix below.

	Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-01-06 21:29:10 +01:00