427 Commits

Author SHA1 Message Date
Ingo Weinhold
b7bf3a1d16 Haiku patch for bison 2.3.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24628 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24628
2008-03-28 17:09:27 +00:00
Ingo Weinhold
6835558076 Generated files.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24624 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24624
2008-03-28 14:15:10 +00:00
Ingo Weinhold
7b6de8037d Ported to Haiku.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24623 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24623
2008-03-28 14:14:44 +00:00
Ingo Weinhold
dc17bbe506 We do support undefined symbols now. The complete test suite passes.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24564 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24564
2008-03-25 00:34:59 +00:00
Ingo Weinhold
090536a990 Ugh, I had created the reverse patch.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24563 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24563
2008-03-25 00:32:28 +00:00
Ingo Weinhold
7ae62f25b6 * The diff for t/io/fs.t was missing for some reason. I probably removed
it accidentally when editing the patch. Anyway, this skips the
  stat::st_atime test, as BFS doesn't maintain it correctly.
* Cleaned up the Haiku hints script a little: Don't compile with
  debugging anymore, set the paths correctly (reordered, include
  /boot/common), and don't define __HAIKU__ anymore, as the native
  compiler does that anyway.

Only 3 tests of the test suite fail now -- 2 due to missing sockets
support, one due to a problem with exec*() or system(). Will have to
investigate this further.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24562 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24562
2008-03-25 00:31:38 +00:00
Ingo Weinhold
f98311c1d4 Removing --no-undefined completely was a bit too enthusiastic. We still
want it when linking apps.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24547 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24547
2008-03-24 04:52:35 +00:00
Ingo Weinhold
36bbacfebd Updated version string, preparing for the migration.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24540 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24540
2008-03-23 22:47:35 +00:00
Ingo Weinhold
f76f237a93 Allow undefined symbols when linking.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24539 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24539
2008-03-23 21:53:29 +00:00
Ingo Weinhold
2eb365503c Patch for the texinfo 4.11 package, so that it compiles at least. Didn't
test how well it works.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24538 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24538
2008-03-23 21:00:25 +00:00
Ingo Weinhold
cfa5e64c0c Generated files.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24530 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24530
2008-03-23 01:18:42 +00:00
Ingo Weinhold
db0b7f077c * Define POSIX for Haiku.
* Remove superfluous BSD string function macros.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24529 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24529
2008-03-23 01:17:40 +00:00
Ingo Weinhold
f40fa15314 Fixed syntax error I introduced earlier.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24521 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24521
2008-03-22 02:24:28 +00:00
Ingo Weinhold
e5fca722e8 Manually updated the generated build system files.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24520 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24520
2008-03-22 02:17:10 +00:00
Ingo Weinhold
0205e9e9e6 Missing in the Haiku config.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24519 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24519
2008-03-22 02:16:24 +00:00
Ingo Weinhold
4ca3619adc Reverted r24511 and and r24508.
Why did I even consider running the current autotools against almost two
years old code? Of course it wouldn't work.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24518 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24518
2008-03-22 01:27:52 +00:00
Ingo Weinhold
82479c1475 Auto-generated files. Manually adjusted, since I don't trust the current
tools to deal with those ancient files correctly.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24515 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24515
2008-03-22 00:13:53 +00:00
Ingo Weinhold
58799d5d74 * Created a Haiku configuration by copying the BeOS configuration and
adjusting it where I figured it necessary.
* Disabled the --no-beos-fixes option for Haiku.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24513 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24513
2008-03-21 23:52:23 +00:00
Ingo Weinhold
eb680fdd74 Ugh, didn't notice that committing this change failed days ago. Wasn't a
problem, since only the copies of gcc headers in the haiku module are
used.

BeOS/Haiku requires sizeof(bool) to be 1.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24512 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24512
2008-03-21 23:40:50 +00:00
Ingo Weinhold
c063cadd81 Regenerated due to changed Makefile.am.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24511 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24511
2008-03-21 22:01:14 +00:00
Ingo Weinhold
8248066f63 Applied Haiku related changes from non-legacy binutils. Still untested.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24510 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24510
2008-03-21 21:56:45 +00:00
Ingo Weinhold
4e2b509a78 * Added Haiku cases in configure.
* Rebuilt the build system using the patched automake/-conf/libtool.
* Didn't touch ltconfig, libtool.m4, and lt-*. They look somehow
  obsolete. Need to recheck later.

NOTE: Those changes are untested yet. Don't update!


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24508 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24508
2008-03-21 16:38:40 +00:00
Ingo Weinhold
039ac55a77 The diff to ltmain.in got lost in the battle.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24507 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24507
2008-03-21 16:12:05 +00:00
Ingo Weinhold
6034b2b140 Haiku patch for libtool 1.5.26. The test suite succeeds save for test
link-order.test, which seems to require ld support for undefined symbols
in libraries. We'll review that after bootstrapping Haiku native
binutils and gcc.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24504 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24504
2008-03-21 13:30:37 +00:00
Ingo Weinhold
c1b0876f1e Haiku patch for automake 1.10.1. The test suite succeeds save for test,
instsh2.test, which fails by design when running with root privileges.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24503 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24503
2008-03-21 13:27:10 +00:00
Ingo Weinhold
1bad8b265d Congrats svn_load_dirs.pl, this change just disappeared.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24466 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24466
2008-03-19 13:01:56 +00:00
Ingo Weinhold
939977cf72 Merged autoconf 2.61 into trunk.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24464 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24464
2008-03-19 12:42:05 +00:00
Ingo Weinhold
7ff3918294 First version of a Perl 5.10.0 patch adding Haiku support:
* Built with debugging enabled (-O0 -g).
* No support for sockets or threads yet. We do want those eventually,
  though.
* 6 tests of Perl's test suite fail. 2 due to missing sockets support. 4
  others since they compile modules and make no provisions to link
  against libperl.so, which they should. Have to check back with the
  maintainters.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24460 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24460
2008-03-19 11:38:28 +00:00
Jérôme Duval
4fe355caa7 we need to set float_format for the target i586-beos-pc to i386. If not, we default to i64, which means long double equals double.
this finally fixes bug #1608 and enables to print correctly long double values.
It should now be possible to revert r21883.
I hope this change has no consequences on binary compatibility (it shouldn't). Oliver, please review.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@23127 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev23127
2007-12-16 17:27:36 +00:00
François Revol
d6ccef5ab0 This is the only way I could get reg-printf.c from glibc, some stupid handling of comments used to discard gcc output...
Wonder why it doesn't happen on x86 ? (maybe cause comment chars are different ?)
cf. http://sources.redhat.com/ml/binutils/2004-04/msg00646.html


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@22737 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev22737
2007-10-26 16:58:21 +00:00
Ingo Weinhold
df8195dfa4 Applied r22729 to the configure.in files, too.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@22730 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev22730
2007-10-26 01:52:48 +00:00
Ingo Weinhold
76f9da413c Patch by tombhadac (slightly adjusted by myself): The binutils configure
scripts accept makeinfo versions 4.x with x >= 10 now, too.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@22729 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev22729
2007-10-25 22:25:24 +00:00
François Revol
78cb788e26 Remove redundant cpu= and machine= asserts
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@22689 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev22689
2007-10-23 22:06:30 +00:00
François Revol
333bfd6196 Preliminary gcc port to m68k-unknown-haiku.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@22685 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev22685
2007-10-23 18:58:57 +00:00
François Revol
ae7a2053d4 Ported binutils to m68k-unknown-haiku.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@22683 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev22683
2007-10-23 18:55:01 +00:00
Ingo Weinhold
4fd84c5a28 Patch by Samuel Rodriguez Perez: Define OSPLAT=X86 for AMD 64.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@22045 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev22045
2007-08-22 21:30:45 +00:00
Ingo Weinhold
f4194f2ee8 StatCacheServer changes:
* A Node can no longer have a referring "." or ".." Entry (except the root
  directory), not even temporarily. This rules out cycles when resolving
  paths.
* Made the code more robust against missed node monitoring messages. If
  an entry is encountered that shouldn't be there, it is removed. As
  implemented before, a Node could end up with a NULL referring Entry,
  leading to a crash when an Entry that references the Node was moved.
  Missing node monitoring messages is actually virtually impossible,
  since a dedicated looper does nothing else but pushing those into a
  separate queue, but nevertheless Stippi seems to have managed the trick. :-)


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@21307 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev21307
2007-06-03 16:25:35 +00:00
Axel Dörfler
392bb39478 I couldn't do a full clean build without this any longer using Linux and GCC 2.95.3 (Archive action too
long), YMMV.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20545 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev20545
2007-04-04 07:34:07 +00:00
Ingo Weinhold
6fb0ada26b Fixed PPC compiler build.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20325 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev20325
2007-03-04 19:53:35 +00:00
Ingo Weinhold
18ca835d6d Merged in the changes to version 4.1.2.
* Solved conflicts with the libtool related files by simply using the
  vendor versions. IIRC the haiku related changes to libtool and
  autoconf were relevant only for the binutils.
* Solved {libstdc++-v3,libmudflap}/configure conflicts by re-running
  autoconf for these directories.

I'm already working on fixing the Haiku build, so please don't do the
same.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20318 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev20318
2007-03-04 04:07:35 +00:00
Oliver Tappe
7477ce77cf * oops, forgot to commit these files, thanks to Jerome for telling me about the resulting
problems


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20315 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev20315
2007-03-03 16:35:28 +00:00
Oliver Tappe
9a99bec198 * updated cross-(or non-legacy-)binutils to version 2.17
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20228 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev20228
2007-02-25 15:02:21 +00:00
Oliver Tappe
9caea1f812 * mixed and matched code from binutils-2.15 in order to avoid crashing the
loader onnewer BeOS versions.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20196 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev20196
2007-02-22 11:54:24 +00:00
Oliver Tappe
f15a44214d * added comment about the patches that have been applied
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20195 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev20195
2007-02-22 10:51:02 +00:00
Oliver Tappe
ac65caadfb * fixed silly problem with as not accepting a divide (it interpreted it as
a start of comment instead, tsk!)


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20193 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev20193
2007-02-21 23:11:25 +00:00
Oliver Tappe
0aa3a3d9db * updated binutils to 2.17, most problems should be solved now...
except one: the binaries produced by this version of binutils crashes the loader of
  BeOS versions BONE, Dano (and probably Zeta, too). That's a pity, but I currently
  do not know how to fix this (as the fix available for older versions of binutils
  does not work anymore).



git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20192 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev20192
2007-02-21 21:17:52 +00:00
Oliver Tappe
9283ff9dee * updated binutils to 2.17, most problems should be solved now...
except one: the binaries produced by this version of binutils crashes the loader of
  BeOS versions BONE, Dano (and probably Zeta, too). That's a pity, but I currently
  do not know how to fix this (as the fix available for older versions of binutils
  does not work anymore).



git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20191 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev20191
2007-02-21 21:11:47 +00:00
François Revol
1227028b2b No reason to keep those 2 in, they are automatically generated.
This fixes one fo the problems of building gcc4 under Zeta.
See http://gcc.gnu.org/ml/gcc/2003-10/msg01501.html
If you want to try you'll have to also remove the -lm in gcc/gcc/Makefile.in or symlink it to libroot.so.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20115 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev20115
2007-02-08 19:04:45 +00:00
Ingo Weinhold
e938767ea3 Patch by Samuel Rodriguez Perez to fix building this gcc version for FreeBSD.
The removed header fixes don't apply to the Haiku headers anyway, so
this shouldn't be much of a problem.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20046 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev20046
2007-02-02 13:53:11 +00:00
Oliver Tappe
e4766e1c34 * joined 'install' & 'INSTALL' into one folder (INSTALL) in order to fix
ticket #844 (checkout under Windows)


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@18886 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev18886
2006-09-19 08:11:25 +00:00