joerg
b94ac99b05
Fix const usage to be consistent with the other files. ml_shell and
...
ml_examine are constant pointers, not pointers to constant data.
2011-07-04 12:31:53 +00:00
mrg
900aee4765
regenerate
2011-07-04 12:01:56 +00:00
mrg
77c9e6a6cb
don't force LIBGMP_MACHINE_ARCH:=${MLIBDIR}.
2011-07-04 12:00:15 +00:00
tron
41350e18b8
Unexpand "$NetBSD$" in code for adding RCS Ids.
2011-07-03 23:25:01 +00:00
tron
9ff59f5fba
Add missing interpreter and RCS Id.
2011-07-03 23:22:37 +00:00
tron
6a29342765
Build the new version of "less".
2011-07-03 21:58:33 +00:00
tron
824a88bbba
Apply NetBSD specific patches, mostly related to behaviour of
...
less(1) as more(1).
2011-07-03 20:14:12 +00:00
tron
e71baf6887
Fix RCS Ids.
2011-07-03 19:51:26 +00:00
tron
4dc3990e56
Fix generation of RCS Ids.
2011-07-03 19:42:09 +00:00
tron
3d9626b96b
Create (symbolic) links for more(1) and page(1).
2011-07-03 18:15:18 +00:00
tron
9b5d0753b4
Add makefiles to build the new version of "less".
2011-07-03 18:02:00 +00:00
tron
20006a0bde
Import version 444 of "less":
...
The list of changes between our ancient version 394 and 444 is too long
to list here. You can find all the release notes here:
http://www.greenwoodsoftware.com/less/old.html
2011-07-03 18:00:59 +00:00
tron
68becace4b
Add handling for manual pages:
...
1.) Remove the formatted ones before import.
2.) Rename the unformatted ones from "*.nro" to "*.1" to keep our
makefile framework happy.
2011-07-03 17:56:26 +00:00
tron
07ba10b37c
Add a (new) script from preparing "less" for import into NetBSD.
2011-07-03 16:57:13 +00:00
mrg
4384878e5a
regenerate the m68* descriptions.
2011-07-03 16:14:36 +00:00
mrg
1f114dece4
netbsd needs __floatundisf; make it so. (should we have this elsewhere?)
2011-07-03 15:34:08 +00:00
mrg
5338c4af8c
clean up another generator.
2011-07-03 15:25:11 +00:00
mrg
6976072ef9
add missed generated file.
2011-07-03 14:42:13 +00:00
mrg
748830d10d
various (re-)generations. most of these sort of entirely work now.
2011-07-03 14:41:46 +00:00
mrg
676741fbe4
avoid passing -I$DESTDIR/usr/include to the $HOST_CC.
2011-07-03 14:09:57 +00:00
mrg
0520daf5cd
new files to build mips64 gmp
2011-07-03 13:43:23 +00:00
mrg
786cadb243
undef DRIVER_SELF_SPECS before defining it.
...
also, insert BASE_DRIVER_SELF_SPECS into DRIVER_SELF_SPECS.
2011-07-03 13:06:36 +00:00
mrg
27ba937d04
for mips, MASK_SOFT_FLOAT has become MASK_SOFT_FLOAT_ABI.
2011-07-03 13:05:19 +00:00
mrg
495b4def2c
regenerate these with mknative-gcc 1.61.
2011-07-03 12:45:02 +00:00
mrg
7761b1c39b
gmp native files for mipsel/mipseb.
2011-07-03 11:41:30 +00:00
mrg
eba91e60d8
mknative-files for mipsel and mipseb.
2011-07-03 11:39:48 +00:00
mrg
f447de3ff7
don't use the netbsd LIBGCC_SPEC on sun2. there's no libgcc_pic.a
2011-07-03 09:10:42 +00:00
mrg
fa4ad84b0d
set default_m68k_cpu for our m68* ports.
2011-07-03 09:08:55 +00:00
mrg
e6f6d121ef
regenerate.
2011-07-03 08:45:42 +00:00
mrg
48a80cfd3e
regenerate
2011-07-03 08:44:40 +00:00
mrg
56e4edf0f6
- Makefile.hacks isn't working here; revert this portion for now.
...
- support ${COPTS.${.IMPSRC:T}} in the .c.pico rule
- add a hack for m68k and _fixunsxfdi, uses above
- add support to build LIB2ADD_ST stuff
2011-07-03 08:35:41 +00:00
mrg
70931e1e5a
re-generate (add mpn_udiv_w_sdiv prototype.)
2011-07-03 07:26:21 +00:00
mrg
3b8e37627c
add sysroot-suffix.h to the fake headers.
2011-07-03 07:23:19 +00:00
mrg
3f45d2627b
(re-)generate mknative-gcc files for many platforms.
...
(re-)generate the gmp files for many platforms.
2011-07-03 06:52:14 +00:00
mrg
5ee4b0f8d3
clean up the created .s files.
2011-07-03 06:43:16 +00:00
mrg
e313b44d7e
gengtype also needs sysroot-suffix.h if present
2011-07-03 06:42:03 +00:00
mrg
a72c0d12dc
copy across (most) of the LIB1ASMFUNCS from t-arm-elf.
2011-07-03 06:40:38 +00:00
mrg
6ca11e60d8
- for m680[012]0, set cpu_type=m68k
...
- add fragment for m68010--netbsdelf
- s/*-*-netbsd/*-*-netbsd*/ so that netbsdelf matches
2011-07-03 06:39:22 +00:00
matt
81158698ed
Switch to using the secure-plt method of accessing the global offset table.
2011-07-03 03:30:19 +00:00
mrg
62f0adc4ab
mknative-gcc output for vax and m68k.
2011-07-02 14:28:14 +00:00
mrg
d71012a93f
mknative-gcc output for vax and m68k.
2011-07-02 14:13:50 +00:00
mrg
31ec5d717b
make this build on vax.
...
XXX: need to check this for platforms besides x86 and sparc64 to see
XXX: if HAVE_LDOUBLE_IEEE_EXT_LITTLE or friends should be defined.
2011-07-02 14:08:45 +00:00
mrg
64ee02ff8f
add driver-rs6000.c and the remaining powerpc mknative-gcc files. the
...
ppc native gcc now links but doesn't run yet properly.
2011-07-02 14:06:42 +00:00
mrg
f1d1b82795
provide one of the ugly proto-prototypes for mpn_udiv_w_sdiv().
2011-07-02 14:05:03 +00:00
mrg
d4418888f0
remove a stale XXX comment.
2011-07-02 14:04:30 +00:00
mrg
23303f4ab4
make this mostly appear to work by using the C versions for now.
2011-07-02 14:04:14 +00:00
mrg
73c2c27d52
also match .s and .S files for asm sources.
2011-07-02 14:03:20 +00:00
mrg
59dd8db7b7
gmp files for m68k. seems to build ok, at least enough to run mknative-gcc.
2011-07-02 13:43:05 +00:00
mrg
5eb47bd6a8
initial versions of these for vax. not 100% working yet.
2011-07-02 13:36:57 +00:00
mrg
0ed964cf37
split two sub-make targets into two separate make calls.
...
avoids an annoying -jN install problem. idea from dh. thanks!
2011-07-02 13:26:39 +00:00
mrg
5e31aeccba
TARGET_VERSION is used in collect2.c now. avoid referencing the
...
m68k_cpu_flags variable and simply print "(NetBSD/m68k/68010 ELF)".
2011-07-02 13:18:39 +00:00
mrg
bf05dbe33a
revert previous; we need this.
2011-07-02 02:38:31 +00:00
mrg
9ee2415f4c
mknative-gcc regeneration.
2011-07-01 10:06:01 +00:00
mrg
e6ee85c0cf
don't set EXTRA_FAKE_HEADERS here.
2011-07-01 10:04:36 +00:00
mrg
f05fee10de
everyone needs the options* stuff here.
2011-07-01 10:04:13 +00:00
mrg
ae4d8014dc
fix version.c defines. now the version says:
...
gcc version 4.5.3 (NetBSD nb1 20110620)
instead of:
gcc version 4.5.320110428
2011-07-01 10:03:17 +00:00
mrg
1051078336
various mknative-gcc updates.
2011-07-01 05:10:28 +00:00
mrg
5d603aab9d
move the bsd.lib.mk include later so it works properly.
2011-07-01 05:07:59 +00:00
mrg
94d22e3eb3
declare options.h as an EXTRA_FAKE_HEADERS.
2011-07-01 05:07:46 +00:00
mrg
15700d9d35
fix the _fixunssfsi _fixunsdfsi _fixunsxfsi functions.
2011-07-01 05:07:06 +00:00
mrg
3b3943f584
remove LIB2FUNCS_STATIC_EXTRA and supporting code.
...
netbsd does not need this.
2011-07-01 04:05:22 +00:00
joerg
b58b5b09d9
Fix memset usage. XXX audit the rest where hard coded sizes are used
2011-07-01 02:24:14 +00:00
mrg
db3c8201d3
avoid an overflow condition.
2011-07-01 02:18:54 +00:00
mrg
1b7bb725cc
avoid a potential uninitialised variable problem.
2011-07-01 02:18:37 +00:00
joerg
22add3a49f
Fix memset usage.
2011-07-01 02:01:21 +00:00
mrg
396ba001cf
(re-)run mknative-gcc for i386, amd64, sparc, sparc64, powerpc and arm.
...
- both x86 seem to be working fine now
- sparc static binaries work, dynamic fails
- sparc64 fails at startup, accessing beyond the stack
- powerpc and arm still have libgcc issues
2011-07-01 01:57:01 +00:00
mrg
43ff8cfa90
- add support for building GMP for powerpc, sparc, arm and armeb.
...
- XXX armeb files modified from arm, not based upon generated ones.
2011-07-01 01:51:02 +00:00
mrg
ef5d539c71
remove hard-coded CONFIG_TOP_SRCDIR macro definition
2011-07-01 01:49:42 +00:00
mrg
b464704f46
use C versions of various sources for now. there's an m4 problem that
...
fails to properly deal with defframe() macro being defined.
2011-07-01 01:49:18 +00:00
mrg
61fbc9498c
XXX: patch these files to let them work with src/compat style builds
2011-07-01 01:48:02 +00:00
mrg
95be9d4b80
- add support for src/compat builds
...
- use .include not .sinclude for the arch Makefile.inc file
- clean up
2011-07-01 01:30:16 +00:00
mrg
8351e86be9
clean up and add some missing dependancies
2011-07-01 01:29:12 +00:00
mrg
680385b441
XXX: apply -Wno-error/friends to a few files
2011-07-01 01:25:52 +00:00
mrg
0b1fbc4c4d
consolidate unwind.h and other hacks into a new Makefile.hacks that
...
everyone else can use
2011-07-01 01:24:53 +00:00
mrg
6a5d3863fb
fix a merge error.
2011-07-01 01:24:04 +00:00
mrg
6a59c048bc
define HANDLE_PRAGMA_PACK_PUSH_POP to 1 not just define it
2011-07-01 01:23:23 +00:00
mrg
4e53a0048b
move the LIBGCC_PICSUFFIX hack into netbsd.h as the REAL_LIBGCC_SPEC.
2011-07-01 01:23:00 +00:00
mrg
4986544fce
install the posix_memalign version of mm_malloc.h, clean up
2011-07-01 01:22:07 +00:00
mrg
db5ab5fad8
install decimal, parallel and tr1_impl headers
2011-07-01 01:21:38 +00:00
mrg
065e4d30ca
apply our LIBGCC_PICSUFFIX to one more use of "static_name".
...
i hope that this is the last merge botch here to fix...
2011-06-30 03:37:23 +00:00
tsutsui
b6c14cf676
More sort. (i.e. fix merge botch)
2011-06-29 14:52:18 +00:00
tsutsui
8e44b59edd
Add definitions for newsmips Xorg server. Build test only.
2011-06-29 14:49:12 +00:00
tsutsui
9e237288de
Sort.
2011-06-29 14:38:02 +00:00
mrg
5c7719af90
GCC 4.5 x86 installs a bunch more platform header files
2011-06-29 08:37:10 +00:00
mrg
65ffc105d5
enable lint.
...
fix the 32 / 64 bit problem.
2011-06-29 08:09:43 +00:00
mrg
8df532f539
powerpc*-netbsd* wants svr4.h these days.
2011-06-29 08:08:54 +00:00
mrg
233ed76519
Makefile and other snippets for gmp on i386.
...
XXX: this uses the LCD i486 parts, which may not be the fastest
2011-06-29 08:06:47 +00:00
mrg
1efd7c1778
mknative-gcc output for i386 with GCC 4.5.3.
2011-06-29 08:05:51 +00:00
mrg
12c4a0447c
generated files from mknative-gcc.
2011-06-29 06:25:33 +00:00
mrg
48e8a6f76b
pull across from gcc 4.1 tree:
...
>revision 1.2
>date: 2007/09/15 16:24:06; author: christos; state: Exp; lines: +10 -0
>Add a hack to handle that the __stack_chk_fail_local call is not generated
>properly for pic code; more explained in the code.
2011-06-29 06:24:48 +00:00
mrg
6df884f582
add support for C files that are linked to different names for building.
2011-06-29 05:18:32 +00:00
mrg
0f414831b1
pull across these new files from old gcc. from chuq.
2011-06-29 04:59:10 +00:00
mrg
fa32e7c8ca
add gmp generated files for sparc64
2011-06-29 02:56:24 +00:00
mrg
56349c28d3
use __unused instead of having a function call itself, to provide an
...
empty translation unit.
2011-06-29 02:41:03 +00:00
mrg
1f06d4e421
protoize/unprotoize are no more.
2011-06-29 02:27:17 +00:00
mrg
da2c19b170
add the generated manuals.
2011-06-29 02:26:47 +00:00
mrg
7057fa83ce
apply some .if checks upon dependancies.
2011-06-29 02:17:35 +00:00
mrg
1bdcc16077
make this build with GCC 4.5.
2011-06-29 02:17:17 +00:00
mrg
ced2f717a8
move gcc-options.c generation in here.
...
handle i386 in here as well.
XXX: need to see about mknative-gcc handling eg, driver-i386.c
2011-06-29 02:16:52 +00:00
mrg
88f9a3a147
use LIBISPRIVATE here.
2011-06-29 02:15:34 +00:00
mrg
c25a6ba022
add G_BUGURL and G_PKGVERSION variables that are unquoted versions.
2011-06-29 02:15:13 +00:00
mrg
0976220d72
update the gcc-vers.texi generation and fix various build issues.
2011-06-29 02:14:28 +00:00
mrg
bf3f398f4e
fix a merge error with LIBGCC_PIC_SUFFIX code.
2011-06-29 02:12:29 +00:00
mrg
f7fea21d51
re-enable the gcc 4.5 crtstuff/libgcc builders now that they work.
...
also build the gmp, mpfr and mpc libraries in this case.
2011-06-29 02:05:24 +00:00
mrg
d15283f250
minor fixes for libstdc++-v3 build.
...
fix the gengtype call.
2011-06-29 02:01:37 +00:00
mrg
b26ad80212
these need -lintl now.
2011-06-29 02:00:09 +00:00
mrg
30b4ed22df
- build libdecnumber
...
- don't build protoize/unprotoize
- use libdecnumber and VER_CPPFLAGS
2011-06-29 01:57:59 +00:00
mrg
a98337dbce
consolidate the tconfig.h generation.
2011-06-29 01:56:57 +00:00
simonb
be40ac2f1f
Update date (ok phone).
2011-06-29 01:38:27 +00:00
mrg
3a7677d284
delete file in the wrong directory.
2011-06-28 10:17:17 +00:00
mrg
c234a85172
port this to GCC 4.5.
2011-06-28 10:15:40 +00:00
mrg
a7165021a8
build libdecnumber.
2011-06-28 10:15:15 +00:00
mrg
278a646828
port this to GCC 4.5.
2011-06-28 10:14:41 +00:00
mrg
1ce3c1cc4c
some of the way towards working. there's a couple of hacks in there that
...
need to be cleaned up before this is properly finished.
2011-06-28 10:11:04 +00:00
mrg
498a5a5a14
init.o wants a localedir.h to define LOCALEDIR now. make it so.
2011-06-28 09:31:55 +00:00
mrg
b5a3cd5336
this needs -lintl now.
2011-06-28 09:31:11 +00:00
mrg
d79932b240
- add LIBDECNUMBEROBJ.
...
- update the VER_CPPFLAGS for GCC 4.5.
2011-06-28 09:28:22 +00:00
mrg
91c00ee734
TOOLDIR_BASE_PREFIX must be a relative path now.
2011-06-28 09:27:39 +00:00
jruoho
30c90d58f5
Adjust for ACPICA 20110623.
2011-06-28 09:11:33 +00:00
mrg
baba04193b
fix a merge error only seen with NETBSD_NATIVE defined.
2011-06-28 07:52:40 +00:00
mrg
340b2629aa
output of mknative-gcc updates for GCC 4.5.
2011-06-28 04:24:12 +00:00
mrg
7153279ecd
build the gcc libraries.
2011-06-28 04:23:56 +00:00
mrg
3c1598d843
begin to fix this for GCC 4.5. gengtype-yacc is gone, and -parse is its
...
replacement. build the list of files from $G_GTFILES like GCC build dones.
2011-06-28 04:23:01 +00:00
mrg
b66c3ccf81
DEVPHASE of an actual gcc release is empty. do that.
2011-06-28 04:22:17 +00:00
mrg
4b23c5af8a
- libmath is gone.
...
- add a bunch of file-specific CPP and compiler directives necessary.
with a sucessful mknative-gcc run, this appears to run. haven't yet
confirmed that the resultant library is usable.
2011-06-28 04:08:57 +00:00
mrg
cfddc529b5
adjustments for GCC 4.5 src include path changes.
2011-06-28 04:07:36 +00:00
mrg
188cbb4343
add the path to has_set file.
2011-06-28 04:07:04 +00:00
mrg
6a253ff1f1
add _floatundixf to the normal list. fix the G_EXTRA_HEADERS. from chuq.
2011-06-28 04:03:56 +00:00
mrg
c415c98518
libstdc++-v3/libmath subdir is gone.
2011-06-28 04:03:16 +00:00
christos
d2b7346773
delint
2011-06-25 20:27:01 +00:00
christos
67995da767
add missing paren
2011-06-25 20:13:03 +00:00
christos
478d1edef4
It is a lot nicer to getenv() what you need once and makes the code a lot
...
more readable.
2011-06-25 17:13:34 +00:00
mrg
9332c044e4
run mknative-gcc for amd64 and GCC 4.5.
...
this is only enough to build crtstuff, libgcc* and libobjc.
2011-06-24 05:31:36 +00:00
mrg
9ae752839c
update this for GCC 4.5's libiberty.
2011-06-24 05:28:48 +00:00
mrg
4f89948c93
- fix the path for GCCARCH and GCCARCH
...
- force DEVPHASE to "release"
-
2011-06-24 05:27:57 +00:00
mrg
0c1f7b8a8f
look in the right path for auto-host.h
2011-06-24 05:26:06 +00:00
mrg
04291615b1
look in the right path for defs.mk.
2011-06-24 05:25:24 +00:00
mrg
d186a20caf
add a README to describe how to port GMP build framework, and a script
...
to parse the GMP ./configure output and generate part of a makefile.
move all the mpn build stuff into the MD part of the framework, and
update the amd64 port to build all the parts it should.
XXX: amd64 build fails to preprocess redc_1.asm gcd_1.asm mod_1_4.asm,
XXX: so we're using the generic C versions for now.
2011-06-24 03:50:23 +00:00
riz
fa44c6496c
Remove a noisy debugging printf that triggers on bigendian platforms.
...
(Reported upstream as well)
2011-06-23 16:12:36 +00:00
mrg
2dfe08e57e
fix some more paths for GCC 4.5.
2011-06-23 12:16:36 +00:00
mrg
51c8ec53ea
make this work with mknative-gcc:
...
- libgcc.mvars only depends upon config.status/Makefile, not any built thing
- copy the unwind.h creation rule into a separate target, just for mknative-gcc
2011-06-23 12:11:24 +00:00
mrg
b9124e5a28
make this build on amd64.
...
XXX: need to confirm that all the objects are built but this is
XXX: enough to make GCC happy.
2011-06-23 12:09:30 +00:00
mrg
eecc4c450e
don't try to declare alloca() (wrongly) on netbsd.
2011-06-23 12:07:41 +00:00
mrg
8049a32395
fix a bunch of paths to look in the right places for gcc 4.5.
2011-06-23 11:47:12 +00:00
mrg
a35e5c5d02
fix the file list and make this work.
2011-06-23 04:39:24 +00:00
mrg
0e6b883dda
fix this to actually build and seem to work.
2011-06-23 04:38:36 +00:00
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
plunky
f56267db07
sterilise the environment before running configure
2011-06-03 08:56:39 +00:00
hans
f559331e26
include config.h
2011-06-01 15:52:48 +00:00
joerg
cd92498901
Update LLVM/Clang to r132395. This brings the usual set of improvements
...
and support for dependency tracking in tblgen. Use this to make updates
more robust.
2011-06-01 14:13:41 +00:00
pgoyette
ea5a6926a5
Add missing semicolon so it compiles
2011-05-30 18:47:27 +00:00
joerg
f795474780
Hack for clang to workaround non-ICE CMSG_SPACE used in union.
2011-05-30 16:24:13 +00:00
joerg
9692a5355f
Hacks for CMSG_SPACE() not being an ICE
2011-05-30 16:20:58 +00:00
joerg
015f3042c3
Pull in report.c, 1.107 from upstream:
...
Use offsetof() macro and avoid defining dummy static union for FIELD()
macro. Makes it compilable by clang compiler.
2011-05-30 16:03:02 +00:00
joerg
28050549eb
Ignore warnings when building with clang for now.
2011-05-30 14:41:26 +00:00
spz
f93f010473
merge 9.8.0-P2:
...
- fixes CVE-2011-1910: Large RRSIG RRsets and Negative Caching can crash named
- fixes CVE-2011-0414: bind lockup during IXFR
- return a more correct error in case of policy violation
bump version of libdns and libisc
2011-05-29 15:17:08 +00:00
christos
abe8ec29d9
Handle string concatenation in terms:
...
'{ print "foo" > "file" ".txt"; }',
2011-05-28 15:13:04 +00:00
spz
fc67f3fcc1
Import bind 9.8.0-P2
2011-05-28 06:52:27 +00:00
joerg
a216da57a6
Default to -Wno-sign-compare -Wno-pointer-sign for clang.
...
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.
2011-05-26 12:56:24 +00:00
joerg
fe030aa0ad
Fix formatting of time_t
2011-05-24 16:03:15 +00:00
joerg
c219644b8d
Fix printing of time_t
2011-05-24 15:51:00 +00:00
joerg
89c5df97d0
Fix another format string
2011-05-24 15:44:28 +00:00
joerg
43d31a906a
Fix format string
2011-05-24 15:30:31 +00:00
joerg
8d430e7070
Provide correct GCC_NORETURN
2011-05-24 13:48:16 +00:00
joerg
320b4cf47a
Make a gross hack nice enough to not trigger warnings with clang.
2011-05-23 22:39:25 +00:00
dsl
5415722580
Add explicit -lfoo for libraries that are required because of NEEDED
...
entries in other libraries.
This avoids a bug in 'ld' which causes it to look in the directory
specified by the RPATH entry (in the library with the NEEDED entry)
without adding the directory supplied by --sysroot.
When the RPATH entry in blindly folloed the link is done w.r.t the
systems own libfoo.so which may be missing some symbols.
(Or might have a wrong sized data area that would need copying
into the programs (or other libraries) data space.)
ld also seems to add a NEEDED entry for these libraries directly
into the program binary - this doesn't seem right to me.
Fixes my build where the installed libX11.so is dated from 2009.
CVS :----------------------------------------------------------------------
2011-05-23 17:44:41 +00:00
joerg
2f9aafde9d
Use the static inline for the body as well.
2011-05-23 15:23:24 +00:00
christos
b3030fe685
need to include in fb.
2011-05-23 02:48:48 +00:00
christos
4c91249bf3
fix name
2011-05-22 16:08:48 +00:00
plunky
1c3db706be
provide endian information to libpcc
...
(shame this doesn't use the same TARGET_XXX_ENDIAN
definition as the rest of the sources)
2011-05-22 12:01:26 +00:00
plunky
e73fc4c682
let external.h be built as a side effect of external.c, as
...
listing it explicitly means that mkext is run concurrently
twice when MAKE_JOBS > 1
2011-05-22 11:53:46 +00:00
tsutsui
6bab75db1a
Rename xorg.conf in the xserver set to xorg.conf.sample to avoid
...
overwriting a possibly modified user config file. Suggested by jmmv@.
2011-05-21 11:38:52 +00:00
tsutsui
8e8df817c6
Add RCSId.
2011-05-20 16:35:38 +00:00
plunky
762c58f13a
simplify PCC inclusion; MKPCCDMDS is not really required
2011-05-20 16:02:21 +00:00
joerg
7fb15e5d28
Update LLVM/Clang snapshot to create the correct relocation when memory
...
locations are used as immediates on AMD64.
2011-05-20 13:40:04 +00:00
tsutsui
2d893f8c1e
Add sample xorg.conf file for zaurus.
2011-05-20 08:40:04 +00:00
msaitoh
56f5ce9baa
Add support for 6050(6250 and 6150) and 6005(6205).
...
TODO: update iwn.4 manpage.
2011-05-20 01:59:14 +00:00
joerg
7845a1c161
Update LLVM/clang snapshot for support of -Wa,--fatal-warnings in the
...
integrated assembler
2011-05-19 21:06:01 +00:00
plunky
72323ee0ff
add -Dlseek64=lseek to fix the build in geode_msr.c
2011-05-18 20:55:09 +00:00
macallan
feea15727f
wsfb is no longer borked
2011-05-17 22:29:06 +00:00
joerg
d14e81e4ad
Update to LLVM/Clang revision 131404. This includes the fix for asm labels
...
on builtins (broke longjmp usage) and a better cross-compiling support
in combination with -m32/-m64.
Update configuration to include /usr/include/clang-3.0 in the search
path.
2011-05-16 19:27:47 +00:00
christos
5717128087
- turn on maintainer mode
...
- disable rules on doc
- regen
2011-05-16 00:23:20 +00:00
christos
77f7462f16
Disable wsfb, uses old loader api that does not exist anymore
2011-05-15 23:42:01 +00:00
christos
4a966d7fec
Add include path
2011-05-15 22:55:01 +00:00
christos
475b6e36c5
Add HAVE_TERMCAP_H
2011-05-15 21:35:58 +00:00
christos
e3c101ef06
Add -DHAVE_UNISTD_H
2011-05-15 21:32:47 +00:00
christos
10bda8c1e8
Add defines to get the proper prototypes in place.
2011-05-15 21:25:33 +00:00
christos
dc8891d19c
add HAVE_VASPRINTF so that we use it.
2011-05-15 21:19:20 +00:00
christos
cc7fbb210a
repeat; fix same mistake from libXaw that broke wide build.
2011-05-15 21:09:30 +00:00
christos
aa795f85d1
fix wide char support; don't use the wrong macro names.
2011-05-15 21:05:12 +00:00
christos
4e14e91053
fix missing prototypes.
2011-05-15 18:33:33 +00:00
christos
72b8fabea7
Add missing prototype.
2011-05-15 17:52:41 +00:00
christos
2c52b012a9
missing string.h
2011-05-15 01:16:29 +00:00
christos
3326babf00
copy from misc directory
2011-05-15 01:13:29 +00:00
joerg
4e20b7f563
Provide correct builtin search path for amd64's -m32 mode.
2011-05-14 22:27:58 +00:00
christos
5d62bbf09c
remove dup code.
2011-05-13 21:15:34 +00:00
christos
2344ff9853
resolve conflicts
2011-05-13 01:52:12 +00:00
christos
5ccaa8c050
from ftp.astron.com.
...
- many security related fixes
- no MAXPATHLEN limits
- fixed missing text specification on ascii magic
- new ``pascal'' style string formats
- whitespace comparison fix
- more magic
2011-05-12 20:46:28 +00:00
joerg
46f5119e40
Update LLVM and Clang snapshot
2011-05-12 14:56:22 +00:00
tron
72a05cf740
Import Postfix 2.8.3:
...
Postfix releases 2.8.3, 2.7.4, 2.6.10 and 2.5.13 are available. These contain
a fix for CVE-2011-1720 which affects Postfix SMTP server configurations that
use Cyrus SASL authentication. Besides full releases, patches are available
for Postfix 1.1 and later.
This defect was introduced with the Postfix SASL patch, and is present in all
Postfix versions where the command "postconf mail_release_date" reports a
value of 20000314 (March 14, 2000) or greater.
Note: CVE-2011-1720 does not affect Postfix SMTP servers that use Dovecot
SASL authentication. It also does not affect the common Postfix SMTP server
configurations that use only Cyrus SASL mechanisms PLAIN and LOGIN.
More details will be available at http://www.postfix.org/CVE-2011-1720.html .
2011-05-11 09:10:01 +00:00
taca
0b00ab0979
Apply fix by BIND 9.8.0-P1: https://www.isc.org/CVE-2011-1907 .
2011-05-06 15:28:19 +00:00