Commit Graph

2055 Commits

Author SHA1 Message Date
mrg
840a879e5b port this change from our gcc 4.1 tree. not entirely sure it's correct
yet, but not yet able to test ...

revision 1.5
date: 2011/04/10 16:50:18;  author: joerg;  state: Exp;  lines: +2 -2
Reduce difference between src/tools/gcc and src/gnu/usr.bin/gcc4
configuration. All but the target to helper programs should be the same.
Mark include directories as sysroot-relative.
2011-06-22 05:15:15 +00:00
mrg
65a1c6301f avoid installing limits.h and friends. 2011-06-22 05:14:26 +00:00
mrg
c64370a6d5 fix a potential off-by-two array overflow found by GCC 4.5.3. 2011-06-22 03:59:49 +00:00
mrg
16c29695a3 use %option noinput since we need it. found by GCC 4.5.3. 2011-06-22 03:58:51 +00:00
mrg
1f2368609b remove an always true test found by GCC 4.5.3. 2011-06-22 03:58:24 +00:00
mrg
c111245a78 apply some -Wno-error and/or -fno-strict-aliasing.
all of this should be looked at closer, but some of them are not
very trivial.
2011-06-22 02:49:41 +00:00
nonaka
b1a8984138 fix typo. 2011-06-21 11:42:20 +00:00
mrg
5b5d810159 this needs %option noinput. thanks to martin. 2011-06-21 09:34:54 +00:00
mrg
f90498bd01 pull across these revisions from gcc 4.1:
configure:
revision 1.12
date: 2011/03/10 15:14:49;  author: skrll;  state: Exp;  lines: +1 -1
Look for TLS on hppa on netbsd.

configure.ac:
revision 1.11
date: 2011/03/10 15:14:49;  author: skrll;  state: Exp;  lines: +1 -1
Look for TLS on hppa on netbsd.
2011-06-21 07:39:18 +00:00
mrg
1c4baf8439 pull across these revisions from gcc 4.1:
revision 1.8
date: 2011/06/11 00:57:29;  author: matt;  state: Exp;  lines: +2 -0
If we are compiling -msoft-float, define _SOFT_FLOAT

revision 1.7
date: 2011/03/12 07:57:38;  author: matt;  state: Exp;  lines: +3 -1
Define HAVE_AS_TLS until our build tools figure out how to do it.

revision 1.6
date: 2011/02/25 22:36:10;  author: matt;  state: Exp;  lines: +7 -0
Explicitly make sure TARGET_SECURE_PLT is defined correctly rather than
relying on HAVE_AS_REL16 from "auto-host.h".

revision 1.5
date: 2011/02/10 07:18:29;  author: matt;  state: Exp;  lines: +3 -0
Default NetBSD to -msecure-plt now.
2011-06-21 07:31:13 +00:00
mrg
1c860480c9 pull across these revisions from gcc 4.1:
revision 1.21
date: 2011/01/23 06:29:52;  author: matt;  state: Exp;  lines: +1 -1
Default mips64 to softfloat.

revision 1.22
date: 2011/02/10 07:18:29;  author: matt;  state: Exp;  lines: +3 -0
Default NetBSD to -msecure-plt now.
2011-06-21 07:28:44 +00:00
mrg
76a21f6aa5 pull across these revisions from gcc 4.1:
revision 1.9
date: 2011/04/15 13:42:22;  author: joerg;  state: Exp;  lines: +2 -1
Move the headers for compiler and platform specific intrinsincs from
/usr/include to /usr/include/gcc-4.1.

revision 1.8
date: 2011/04/10 21:25:56;  author: joerg;  state: Exp;  lines: +1 -0
Add back a stylish new line.

revision 1.7
date: 2011/04/10 16:50:18;  author: joerg;  state: Exp;  lines: +20 -12
Reduce difference between src/tools/gcc and src/gnu/usr.bin/gcc4
configuration. All but the target to helper programs should be the same.
Mark include directories as sysroot-relative.


adjust the paths to gcc-4.5, and add an XXX note about this ugliness.
2011-06-21 06:54:27 +00:00
mrg
aaaade9e8e pull across from gcc 4.1:
revision 1.2
date: 2011/02/05 00:37:40;  author: joerg;  state: Exp;  lines: +2 -2
Explicitly use template to allow building with the more strict
template lookup in clang. From FreeBSD.
2011-06-21 06:22:06 +00:00
mrg
1e4c47b919 pull across from gcc 4.1:
revision 1.2
date: 2011/05/25 15:51:55;  author: joerg;  state: Exp;  lines: +2 -2
Don't define explicit instantiation as inline.
2011-06-21 06:18:56 +00:00
mrg
3b87de1dcf move the gcc 4.5 usr.bin build makefiles to the right place. 2011-06-21 06:03:13 +00:00
mrg
f0c80e6ced *sigh* move these files into the directories i meant for them to exist in.
start actually porting to gcc 4.5 in the process.
2011-06-21 06:02:25 +00:00
mrg
c6121f4c92 remove stuff from the wrong directory. oops. 2011-06-21 05:34:50 +00:00
mrg
6c3d0727c9 front end to build gcc 4.5 components 2011-06-21 04:53:33 +00:00
mrg
8dbf0d5bb3 prepare to build native gcc 4.5, don't build native gcc 4.1, for HAVE_GCC=45 2011-06-21 04:52:49 +00:00
mrg
b7268f61f6 build stuff for mpc, mpfr and gmp. mpfr is mine, the others are from chuq.
XXX: i don't think gmp works yet.  it wants multiple files with the same
basename but in different subdirs to link into one library...
2011-06-21 04:23:56 +00:00
mrg
d0fea80e35 add a NetBSD_DISABLED rule for cfns.h. 2011-06-21 04:14:34 +00:00
mrg
0c72853741 add some "NetBSD_Disabled*" rules to avoid r/o src tree build issues. 2011-06-21 04:03:33 +00:00
mrg
2a3bc70d3b import the non-arch specific makefiles we use to build GCC 4.1
as a base reference.
2011-06-21 02:48:27 +00:00
mrg
2f4e9d03df merge forward our changes into the GCC 4.5.3 tree. mostly from chuq. 2011-06-21 02:41:35 +00:00
mrg
0a0dd75b65 add some XXX'd -Wno-foo if HAVE_GCC >= 45.
XXX: someone should look at these.
2011-06-21 02:32:55 +00:00
mrg
4fee23f98c initial import of GCC 4.5.3 sources. changes since 4.1 are way too numerous
to review, please see http://gcc.gnu.org/gcc-4.5/changes.html (and the 4.2,
4.3 and 4.4 versions, too.)

this includes the core, c++, objc and the non java/ada/fortran parts of the
testsuite.
2011-06-21 01:19:41 +00:00
mrg
493d341048 various build fixes for gcc 4.5. from chuq. XXX i'm not sure all of
these work properly wtf pointer aliasing, but there are no casts at
least...

the lib/libpuffs/puffs_priv.h is definately a real bug fix.

from chuq.
2011-06-20 09:11:16 +00:00
mrg
75e42fa7da remove most of the remaining HAVE_GCC tests that are always true in
the modern world.
2011-06-20 07:43:56 +00:00
mrg
51c586b89d initial import of GMP 5.0.2.
GNU MP is a library for arbitrary precision arithmetic, operating on signed
integers, rational numbers, and floating point numbers.  It has a rich set
of functions, and the functions have a regular interface.

GMP is necessary for GCC >= 4.2.
2011-06-20 05:54:29 +00:00
mrg
efee5258bc initial import of MPRF 3.0.1.
The MPFR library is a C library for multiple-precision floating-point
computations with exact rounding (also called correct rounding).  It is
based on the GMP multiple-precision library and should replace the MPF
class in further releases of GMP.

GCC >= 4.2 requires MPFR.
2011-06-20 05:53:01 +00:00
mrg
d43cffdfe2 initial import of MPC 0.9 package.
MPC is a C library for the arithmetic of complex numbers with
arbitrarily high precision and correct rounding of the result.
It is built upon and follows the same principles as MPFR.

GCC >= 4.2 requires MPC.
2011-06-20 05:50:19 +00:00
kardel
2734092359 fix lineedit functionality. ntpq and friends would just exit on empty lines
which is not intended - there is a quit command for that purpose.
2011-06-19 15:58:07 +00:00
joerg
5a5f3047c5 Properly use a format string. 2011-06-16 14:57:22 +00:00
jmmv
193dd4527d Pull up part of revision f621bc0489ac3e4ef364f840a852a6a5290e8e12:
-----
Only silence stdin for test programs

atf-check is expected to accept data in its stdin, and a previous change
broke this behavior.
-----

This should fix a few tests that broke during the 0.14 import.  In
particularly, the tests in libc/stdlib and libc/ssp that redirect stuff
to atf_check.
2011-06-15 08:48:35 +00:00
christos
506691b53b remove merge botch. 2011-06-15 01:45:16 +00:00
jmmv
1a674c628c Update reachover build files for atf-0.14. 2011-06-14 15:27:11 +00:00
jmmv
1d706b8151 Post-import merge of atf-0.14. 2011-06-14 15:26:20 +00:00
jmmv
5055cfd6b9 Import atf-0.14:
Experimental version released on June 14th, 2011.

* Added a pkg-config file for atf-sh and an aclocal file to ease the
  detection of atf-sh from autoconf scripts.

* Made the default test case body defined by atf_sh fail.  This is to
  ensure that test cases are properly defined in test programs and helps
  in catching typos in the names of the body functions.

* PR bin/44882: Made atf-run connect the stdin of test cases to /dev/zero.
  This provides more consistent results with "normal" execution (in
  particular, when tests are executed detached from a terminal).

* Made atf-run hardcode TZ=UTC for test cases.  It used to undefine TZ, but
  that does not take into account that libc determines the current timezone
  from a configuration file.

* All test programs will now print a warning when they are not run through
  atf-run(1) stating that this is unsupported and may deliver incorrect
  results.

* Added support for the 'require.files' test-case property.  This allows
  test cases to specify installed files that must be present for the test
  case to run.
2011-06-14 15:23:20 +00:00
roy
01c853e7fd Sync 2011-06-13 11:07:50 +00:00
roy
d8775c93d6 Import openresolv-3.4.2 with the following fix:
* Use printf(1) correctly
2011-06-13 11:05:19 +00:00
rmind
1ab522108e Fix ZFS build. 2011-06-12 14:47:20 +00:00
mrg
b156c02e66 v_interlock is now a pointer to kmutex_t, use it as one.
fixes many of the 5.99.53 build issues in zfs, but not all of them.
2011-06-12 04:43:11 +00:00
christos
7267577190 turn on printf warnings for all the printf-like atf functions. 2011-06-11 18:03:57 +00:00
joerg
7ee80c6f6e Update LLVM/Clang snapshot to 132736. This fixes two situations where
libraries could end up with text relocations.
2011-06-08 08:48:38 +00:00
joerg
cbfa018ce3 Add () that match operator order. 2011-06-07 20:04:32 +00:00
plunky
5e99487c50 make PCC_DEBUG a global flag (will not compile without, currently) 2011-06-07 13:30:35 +00:00
plunky
43d2b2a329 use better method of creating version string, current method can
introduce spurious " characters during stringification
2011-06-07 13:07:26 +00:00
spz
1bddfb5091 fix up OPENSSL_VERSION_NUMBER check for entropy_add so it deals with the
current situation. Compile-checked by dholland, thanks.
2011-06-06 05:40:34 +00:00
tsutsui
5fbf2258b9 Handle implicit library dependency for static builds:
- libheimbase is required by libkrb5
 - libwind is required by libhx509
2011-06-04 02:08:50 +00:00
plunky
82bbedc657 INCLUDEDIR and LIBEXECDIR only need to be defined for the
pcc front end
2011-06-03 13:31:25 +00:00