Commit Graph

358 Commits

Author SHA1 Message Date
Niels Sascha Reedijk
a635d7fb9b import binutils 2.41 2023-08-05 16:18:06 +01:00
Adrien Destugues
6e159495d4 import binutils 2.36.1 2022-07-15 13:48:03 +02:00
Adrien Destugues
1fbf4ff7c7 import binutils 2.32 2022-07-15 13:44:19 +02:00
Jérôme Duval
8b2ef03baf import binutils 2.28.1 2017-08-05 16:32:14 +02:00
Jérôme Duval
233c0fb351 import binutils 2.27 2016-10-10 16:55:00 +02:00
Jérôme Duval
5dcc710c26 import binutils 2.26.1 2016-07-21 21:35:07 +02:00
Jérôme Duval
69285d07c6 import binutils 2.26 2016-02-10 18:58:24 +01:00
Jérôme Duval
597b3bdc8b import binutils 2.25.1 2015-07-23 20:15:18 +02:00
Jérôme Duval
36fac57968 import binutils 2.25 2014-12-26 11:26:52 +01:00
Jérôme Duval
3615e2401a import binutils 2.24 2014-03-19 17:25:32 +01: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
Jérôme Duval
371dda4618 Fix merge of binutils 2.22. Sorry for the noise. 2012-01-06 21:08:28 +01:00
Jérôme Duval
e80b1623ba Missing files for binutils 2.22 2012-01-06 20:25:50 +01:00
Jérôme Duval
192c9480a6 Fix the merge of binutils 2.22, sorry for the noise. 2012-01-06 20:21:47 +01:00
Jérôme Duval
1e198b669a Merge binutils 2.22 2012-01-06 00:20:08 +01:00
Jérôme Duval
54b66b3b47 import binutils 2.19 2012-01-06 00:11:05 +01:00
Jérôme Duval
6f0effcf54 import binutils 2.22 2012-01-05 22:46:40 +01:00
Jérôme Duval
4cc942491d import binutils 2.19 2012-01-05 22:33:17 +01:00