Commit Graph

386 Commits

Author SHA1 Message Date
Oliver Tappe
d0613f2026 Change format of version strings to full date, separated by underscore 2013-05-19 14:38:52 +02:00
Ingo Weinhold
6210a715b1 Merge branch 'master' into package-management
Conflicts:
	INSTALL-gcc2-from-source-Haiku
	build-gcc2-optional-package-Haiku.sh
	gcc/gcc/config/i386/haiku64.h
	legacy/gcc/gcc/config/i386/haiku.h
	legacy/gcc/gcc/version.c
2013-05-04 14:45:58 +02:00
Ingo Weinhold
a57415355d Bump version to 130425 2013-04-25 17:09:52 +02:00
Ingo Weinhold
1f1e659bdb gcc2: Add missing library and header search paths
* For /boot/common[/non-packaged] the standard include paths should be
  develop/headers/ as well instead of include/.
* Build the standard library search paths (the system and common ones)
  into the compiler as well. This makes setting the BELIBRARIES
  environment variable superfluous.
* The obsolete search paths (/boot/common[/non-packaged]/include/ and
  /boot/common/lib/ respectively) are still built in as well. They will
  be removed after a grace period, when all packages have been adjusted
  accordingly.
2013-04-25 17:09:50 +02:00
Oliver Tappe
278de7bc92 Bump versions of legacy compiler and binutils
* let's have a PM-specific version to lessen confusion
2013-04-21 23:21:14 +02:00
Adrien Destugues
24ebe81445 Add another standard C++ prototype for string::compare. 2013-04-21 23:04:33 +02:00
Joseph R. Prostko
a060af0916 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

Conflicts:
	legacy/gcc/gcc/version.c
2013-04-21 23:04:02 +02:00
Joseph R. Prostko
95f8bab5b6 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

Conflicts:
	legacy/gcc/gcc/config/i386/haiku.h
2013-04-21 23:03:18 +02:00
Adrien Destugues - PulkoMandy
99cc4338d7 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.
2013-04-21 23:02:20 +02:00
Adrien Destugues - PulkoMandy
855732f929 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.
2013-04-21 23:02:08 +02:00
Oliver Tappe
87efb055fb Bump legacy compiler version.
Conflicts:
	legacy/gcc/gcc/version.c
2013-04-21 22:59:52 +02:00
Oliver Tappe
64e25a9475 Define __STDC_ISO_10646__ in our gccs.
* define __STDC_ISO_10646__ to '201103' in order to indicate that
  Haiku's wchar_t supports the Universal Character Set (UCS) defined
  by the ISO 10646 standard published in March 2011.
(cherry picked from commit 073cb9127c)
2013-04-21 22:58:49 +02:00
Matt Madia
fdc4d2f79b Prevent fixing the includes.
Forcibly prevent fixinclude from executing. This prevents the spawning of a
shell process, which would be abandoned due to fixinc crashing.

Submitted By: BLFS Book <blfs-book@linuxfromscratch.org>
Date: 2003-10-05
Initial Package Version: 2.95.3
Origin: BLFS Book
http://www.linuxfromscratch.org/blfs/view/5.1/general/gcc2.html
(cherry picked from commit ef37057d92)
2013-04-21 22:53:36 +02:00
Oliver Tappe
1fea500c21 Add more generated files of legacy gcc to .gitignore
(cherry picked from commit 41126db379)
2013-04-21 22:53:34 +02:00
Oliver Tappe
c88591af88 Add autom4te.cache to .gitignore
(cherry picked from commit 7f3fb010ff)
2013-04-21 22:53:31 +02:00
Oliver Tappe
9f9e588ceb Drop another .info target that triggers invocation of makeinfo.(cherry picked from commit af2683a443) 2013-04-19 21:58:29 +02:00
Oliver Tappe
e925619d1f Trying to fix #8063 (failure to build gcc2 when updating info files):
* remove all *.info targets so the gcc2 build system doesn't
  try to update them, as that doesn't always work because of
  apparent incompatibilities with newer makeinfo versions

git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@42999 a95241bf-73f2-0310-859d-f6bbb57e9c96
(cherry picked from commit 32fb726909)
2013-04-19 21:58:21 +02:00
Jerome Duval
9cd896944f Merge gcc 4.6.4
Conflicts:
	gcc/libcpp/configure
	gcc/libcpp/configure.ac
2013-04-19 21:20:28 +02:00
Jerome Duval
5d24192c80 Tied gcc_4.6.3 to master 2013-04-19 21:16:26 +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
d166573e27 CLooG: CLooG source archive includes .gitignore files
* added corresponding missing files
* also deleted provided .gitmodules
2013-04-10 23:24:30 +02:00
Jerome Duval
7c4eb4ef2c binutils: added missing licenses and reverted btrev29062.
* added missing GPL licence to te-beos.h and te-haiku.h in line with
other te-*.h files in this directory.
* reverted btrev29062 as it's not required since #6705 is fixed.
* this should ease upstreaming our changes.
2013-04-09 19:52:39 +02:00
Jerome Duval
8328484592 binutils snapshot 20130408 2013-04-08 20:53:03 +02:00
Jerome Duval
5873a060ca imported PPL 0.11.1 and CLooG 0.18.0.
* these are dependencies for gcc 4 Graphite engine build.
* CLooG 0.18.0 includes ISL 0.11.1 which is the backend that the build script enables.
* PPL is needed by GCC build even if it isn't the chosen backend.
2013-04-06 15:10:34 +02:00
Jerome Duval
df9ffb3a0f gcc: cherry picked patch for support of current CLooG
* cloog now uses CLOOG_LANGUAGE_C instead of LANGUAGE_C.
* graphite-clast-to-gimple.c (CLOOG_LANGUAGE_C): Provide if missing.
        (set_cloog_options): Use it.
2013-04-06 14:43:25 +02:00
Jerome Duval
f31d42dfd9 Merge binutils 2.23.2 2013-04-03 21:54:17 +02:00
Jerome Duval
34e528abef import binutils 2.23.2 2013-04-03 21:39:13 +02:00
Jerome Duval
f276c0ffd1 Tied v2.22 to master 2013-04-03 21:35:42 +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