Commit Graph

457 Commits

Author SHA1 Message Date
Oliver Tappe
43f1e2dba3 * Add .gitignore. 2014-07-21 11:18:25 +02:00
Jonathan Schleifer
17ba980278 Fix libstdc++ not using TLS when cross compiling 2014-07-19 23:04:37 +02:00
John Scipione
9d26d59ebc Remove trailing space in comment 2014-07-11 12:04:57 -04:00
Pawel Dziepak
3ad9ac2317 gcc: define [u]int*_t types 2014-05-28 02:02:01 +02:00
Jérôme Duval
c7a34f3d45 Merge gcc 4.8.3 2014-05-27 22:35:02 +02:00
Jérôme Duval
3b2e5a8b24 import gcc 4.8.3 2014-05-27 22:33:21 +02:00
Oliver Tappe
6c03949644 Fix warnings when building jam.
Sorry for the included whitespace cleanup.
2014-05-12 23:18:24 +02:00
Jérôme Duval
c20a732df8 Merge binutils 2.24
Conflicts:
	binutils/configure
	binutils/configure.ac
	binutils/gas/doc/c-arc.texi
	binutils/gas/doc/c-arm.texi
	binutils/gas/doc/c-tic54x.texi
2014-03-19 17:30:31 +01:00
Jérôme Duval
3615e2401a import binutils 2.24 2014-03-19 17:25:32 +01:00
Arvind S Raj
fe93c5d4d3 Fixed errors in documentation that caused configure script to fail when bootstrapping for ARM build
texinfo 5 has changed syntax for certain commands which led to failure when
building binutils because the documentation could not be built.
Upstream report: https://sourceware.org/bugzilla/show_bug.cgi?id=15212.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2014-03-19 10:43:54 +01:00
Alexander von Gluck IV
f131d0c316 binutils: fix missing stdint in binutils bdf
* Fixes issue compiling PPC binutils
* Upstream commit 3c865fca8 by Alan Modra
* Missing a stdint.h in coff header for intptr_t usage
* PPC fix is upstream via:
  https://sourceware.org/bugzilla/show_bug.cgi?id=16686
2014-03-11 21:00:01 -05:00
Alexander von Gluck IV
8b43097655 Revert "binutils: Fix PPC bootstrap build."
This reverts commit bf1b5855ab.

* mmu_man pointed out that the fix in bug #16686 is more
  correct. (and on closer inspection I agree)
* sorry for the spam
2014-03-11 20:52:08 -05:00
Alexander von Gluck IV
bf1b5855ab binutils: Fix PPC bootstrap build.
* Missing a stdint.h in coff header for intptr_t usage
* Pushed this fix to binutils via:
  https://sourceware.org/bugzilla/show_bug.cgi?id=16686
2014-03-11 20:05:44 -05:00
Ithamar R. Adema
02dff6efa8 gcc/arm: include driver-arm.c for Haiku/ARM too
This was only done for Linux/ARM builds, but we need it to (otherwise
we'll get linker errors for several functions).
2014-02-17 14:12:52 +01:00
Jérôme Duval
78fb24b8ff gcc:libstdc++-v3: added a config os directory for Haiku.
* copied the generic config and added os_defines to enable time support
without link tests when cross compiling.
* os_defines definitions are disabled for _KERNEL_MODE and _LOADER_MODE.
2014-02-05 23:34:52 +01:00
Jérôme Duval
37f5f1b71f gcc: define GOMP_SELF_SPECS for Haiku.
* avoids -lpthread when using -fopenmp.
2014-02-01 14:09:38 +01:00
Jérôme Duval
6121739fdd gcc: fixed m68k build. 2014-01-28 22:01:22 +01:00
Jérôme Duval
66becd8fe7 Merge btrev43068 instead of rebasing and resolving conflicts. 2014-01-28 18:43:05 +01:00
Jérôme Duval
b8e7021a67 cloog: removed included isl 2014-01-27 21:52:03 +01:00
Jérôme Duval
d36da59d2c imported isl-0.12.2 2014-01-27 21:38:34 +01:00
Jérôme Duval
cb99363636 ppl: removed. 2014-01-27 21:37:16 +01:00
Jérôme Duval
a283dac41e libgcc: revision 200390 from trunk by Chung-Ju Wu.
* Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
correctly.
2014-01-26 18:57:43 +01:00
Jérôme Duval
f34aded965 libgcc: Maintain the same visibility as older GCC for now. Needed
because the static library is included in libroot.so.
2014-01-26 17:46:36 +01:00
Jérôme Duval
19d03df1eb Merge gcc 4.8.2
Conflicts:
	gcc/ChangeLog
	gcc/configure
	gcc/configure.ac
	gcc/gcc/config.gcc
	gcc/gcc/configure
	gcc/gcc/configure.ac
	gcc/libcpp/configure
	gcc/libcpp/configure.ac
	gcc/libgcc/Makefile.in
	gcc/libgcc/config.host
2014-01-22 17:53:50 +01:00
Jérôme Duval
ec21a8f0b8 import gcc 4.8.2 2014-01-21 21:04:08 +01:00
Adrien Destugues
9bfca2f40f Fix prototype for atomic_add
bastring declares the prototype for atomic_add, as it can't rely on
haiku-specific headers. Have this declaration match the modified
prototype from Scheduler branch merge.

Matches commit 73ad2473e7874b3702cf5b0fdf4c81b747812ed9 on Haiku side.
2014-01-17 10:02:13 +01:00
Alexander von Gluck IV
6126596774 gcc: Reduce header search paths to only required
* As per the mailing list discussions.
* Only include the kit header paths that are
  currently external
2014-01-16 09:38:48 -06:00
Alexander von Gluck IV
fd576c8d8a gcc: Adjust gcc header search paths
* Drop /boot/common header paths
  I don't think pre-pm haiku will build anyway
  without using an older buildtools.
* Add secondary arch os header directories.
  Anything secondary arch that provides os
  headers will break without the proper search
  paths in gcc.
* Fixes secondary packages that depend on the
  OpenGL kit
2014-01-14 17:52:48 -06:00
François Revol
abc7211782 jam: Bump MAXLINE to 120000
It was still too low for another case.
Now it seems to work fine here, including for jam clean.
2013-09-30 04:00:50 +02:00
François Revol
a87e28a706 jam: Lower MAXLINE down to 100k
even 140k was too large here for jam clean to work.
2013-09-30 03:27:33 +02:00
François Revol
d9e13d3607 jam: update MAXLINE to fix build issues for ARM
Looks like it wasn't enough yet after the PM merge.

However we still have an issue with a silently failed Link action
which actually is smaller than the max line size...
2013-09-29 22:37:07 +02:00
Ingo Weinhold
6d82b40597 Merge branch 'package-management' 2013-09-27 01:54:26 +02:00
Ithamar R. Adema
a1d1cf45a5 jam: update MAXLINE to fix build issues for ARM
Jam is reporting "Link actions too long" so increase it.
2013-09-15 05:05:51 +02:00
Ingo Weinhold
6ff546f23b Bump legacy gcc version 2013-08-15 11:36:04 +02:00
Ingo Weinhold
86fe91bce2 legacy gcc: add --with-hybrid-secondary configure option 2013-08-15 11:34:28 +02:00
Ingo Weinhold
d36fc8e97b legacy gcc: declare some more include dirs C++ aware 2013-08-15 11:34:26 +02:00
Ingo Weinhold
2d0a2c6404 Bump legacy compiler version 2013-08-12 13:11:03 +02:00
Ingo Weinhold
e369b8e0bb gcc 2: Remove obsolete library and include search paths
Also clean up a few comments.
2013-08-12 13:06:01 +02:00
Ingo Weinhold
b98135ed3a gcc 4: Fix the library search paths
Due to the use of STARTFILE_PREFIX_SPEC the path containing the
libraries gcc provides (libstdc++ and friends) was missing. So
revert to the previously used STANDARD_STARTFILE_PREFIX_{1,2},
MD_STARTFILE_PREFIX method.
2013-08-12 13:00:44 +02:00
Ingo Weinhold
7a87db2a17 gcc 4 configure: extend --enable-hybrid-secondary
* Rename to --with-hybrid-secondary and require as parameter the name of
  the secondary packaging architecture. The value is used for
  constructing the respective default header and library search paths.
* Add /boot/system/develop/headers/<arch> to header search paths.
2013-08-07 02:08:04 +02:00
Ingo Weinhold
1025a2a1a1 gcc 4: configure.ac: Add missing AC_SUBST for build_math_library 2013-08-07 01:40:06 +02:00
Ingo Weinhold
eddee0bfd6 gcc 4: fix math library fix for genautomata
* The build host's math library is needed, not the host's. Makes a
  difference when build host != host, e.g. when cross-compiling a native
  Haiku compiler on Linux.
* Rename the variable math_library -> build_math_library for clarity.
2013-08-04 03:00:54 +02:00
Ingo Weinhold
dee1a38d2c gcc 4: all Haiku os headers are C++ aware 2013-08-03 03:58:37 +02:00
Ingo Weinhold
b2de4f033b gcc 4: also prepend the sysroot to the common include dirs 2013-08-03 03:54:06 +02:00
Alex Smith
6e7ceb81be gcc: Don't default to -fomit-frame-pointer on x86_64.
This is already done on x86 using the --enable-frame-pointer option
to GCC's configure script, but that option only works for 32-bit x86.
Added an option to haiku64.h that forces it off by default for 64-bit.
2013-07-27 16:06:05 +01:00
Ingo Weinhold
531916daa2 jam: jcache: read_file(): fail when encountering too long lines
For its input files jam uses a buffer of 512 chars for fgets(). Lines
would therefore be split silently after that length, which could lead to
"interesting" issues. Now we fail to prevent the situation from going
unnoticed.
2013-07-25 23:00:31 +02:00
Ingo Weinhold
502f1ff979 jam: get_jcache(): clean up when reading the cache failed
When reading the cache file failed we have to assume it is corrupt and
we should use any entries read from it. So now we remove the ones we
read again.
2013-07-25 22:55:11 +02:00
Ingo Weinhold
bbab887c2f jam: delete_jamfile_cache(): don't free cache_file
The value is initialized from a static variable returned by
jcache_name().
2013-07-25 22:52:30 +02:00
Ingo Weinhold
a9f1022a2a jam: jcache: typo in comment 2013-07-25 22:50:34 +02:00
Ingo Weinhold
b1ef802cdc gcc2 x86_64 build support: pretend we're i386
That's even simpler than the previous approach, which resulted in
assembler errors in certain situations.
2013-07-21 20:57:56 +02:00