Commit Graph

2371 Commits

Author SHA1 Message Date
joerg
11b90aaf13 Requires -Wno-unused-value -Wno-tautological-compare when building with
clang.
2011-08-09 13:01:34 +00:00
joerg
d43405d38d -Wno-array-bounds is no longer needed for clang here 2011-08-09 13:00:58 +00:00
joerg
78384c1939 Can't build libstdc++ and libsupc++ with clang since it depends on using
volatiles as initializers of non-volatile fields, void * arithmetic and
some new attributes for the unwinding.
2011-08-09 13:00:04 +00:00
joerg
d80abf5701 Disable -Wunused-value for clang, it triggers on the bcopy replacement. 2011-08-09 12:58:55 +00:00
joerg
402f76be16 Since cproj and friends are used, link explicitly against libm. 2011-08-09 12:56:41 +00:00
joerg
90aa08ed31 Don't use array access to compute addresses that are definitely beyond
the static array boundaries.
2011-08-09 12:55:18 +00:00
joerg
7ba5ed4f95 Update LLVM/Clang snapshot to r137038. This brings in the extended array
boundary checker and the white listing of pre-c99 flexible array member
idiom foo[1] as last element of a struct.
2011-08-09 12:30:46 +00:00
mrg
46d22e869d re-run mknative for hppa. 2011-08-07 12:20:10 +00:00
mrg
c58b16c3fc after all the recent fixes, let's call this "NetBSD nb2 20110806" 2011-08-07 11:41:50 +00:00
mrg
c37220dd3d whoops, properly copy the old libgcc spec. fixes libGLU on sh3. 2011-08-07 00:07:15 +00:00
jmmv
bbf950e188 Rename the _atf user to _tests. The _atf name will get obsoleted if/when
we migrate to Kyua (atf v2), so it's better to use a generic name that does
not depend on the specific implementation.  Also, this user has not gone
out yet into any stable release, so we can easily rename it.

Suggested by jruoho@.
2011-08-05 14:43:41 +00:00
matt
f766f2f08f Build lzmainfo
Add links to xz (lzma, unxz, etc) that are in the manpage.
Add manpage links as well.
2011-08-04 03:38:06 +00:00
mrg
9c4d605d23 include pixman-noop.c. oops. 2011-08-03 18:22:29 +00:00
matt
acb3cf946c Missing a diff for the loongson2 fixes 2011-08-03 17:54:52 +00:00
mrg
995b587647 look in .../man also. 2011-08-03 02:57:23 +00:00
mrg
a0cdc1f5cd look in .../man as well. 2011-08-03 02:56:29 +00:00
mrg
629a20b8a8 updates for x11perf 1.5.4 2011-08-03 02:55:30 +00:00
joerg
97e2cf4d88 Update LLVM/Clang snapshot to r136592. This brings support for
.code32/.code64 on x86.
2011-08-02 17:12:38 +00:00
matt
c8f6ff28bb Pull in change to support -m[no-]fix-loongson2f-{nop,jump} 2011-08-02 16:11:16 +00:00
mrg
94350a92ff various updates for xorg-server 1.10.3. 2011-08-02 09:11:37 +00:00
mrg
edbdb33b37 remove bstore*.h, add Xprintf.h and inpututils.h 2011-08-02 07:56:33 +00:00
mrg
d31eb33ea1 build updates and fixes for xorg-server 1.10.3. 2011-08-02 07:41:00 +00:00
matt
9117b7b37b Don't define LINK_EH_SPEC if it's already defined. 2011-08-02 00:45:36 +00:00
tron
64a8c34faa Resolve conflicts from last import. 2011-07-31 10:05:03 +00:00
tron
e148fd06c8 Import Postfix version 2.8.4. Changes since version 2.8.3:
- Performance: a high load of DSN success notification requests could
  slow down the queue manager. Solution: make the trace client
  asynchronous, just like the bounce and defer clients.
- The local(8) delivery agent ignored table lookup errors in
  mailbox_command_maps, mailbox_transport_maps, fallback_transport_maps
  and (while bouncing mail to alias) alias owner lookup.
- Workaround: dbl.spamhaus.org rejects lookups with "No IP queries" even
  if the name has an alphanumerical prefix. We play safe, and skip both
  RHSBL and RHSWL queries for names ending in a numerical suffix.
- The "sendmail -t" command reported "protocol error" instead of "file
  too large", "no space left on device" etc.
- The Postfix Milter client reported a temporary error instead of
  "file too large" in three cases.
2011-07-31 10:01:44 +00:00
tron
d14af506f7 Automatically determine and print out the release tag for the import. 2011-07-31 09:54:57 +00:00
matt
4564466a06 Don't define LINK_EH_SPEC if it's already defined (from netbsd*.h) 2011-07-31 03:43:33 +00:00
tron
0a04ac4b7d Fix build with SSP enabled. 2011-07-30 11:18:23 +00:00
uebayasi
eab2487254 Fix a local var name. 2011-07-30 10:12:14 +00:00
christos
2819a85a08 Allow init for new repository construction! 2011-07-29 18:47:11 +00:00
uebayasi
6ed9c23d3b KNF. 2011-07-29 13:10:23 +00:00
yamt
e3bb2d6eba mark this driver D_MPSAFE 2011-07-26 12:54:28 +00:00
yamt
afe833af51 fix a merge botch in rev.1.7 2011-07-26 12:33:23 +00:00
yamt
696f2a9301 remove debug printfs 2011-07-26 12:28:39 +00:00
yamt
7695ef3cd1 remove a debug printf 2011-07-26 12:28:01 +00:00
yamt
223b285dcf fix a kmem_alloc/free size mismatch 2011-07-26 12:26:33 +00:00
mrg
9b57234ac3 substitute @LIBBZ2@ here as well. 2011-07-25 18:23:14 +00:00
joerg
0220bbec2e Update to LLVM/Clang snapshot to r135906. Fixes a number of bugs found
in the pkgsrc bulk builds.
2011-07-25 16:32:43 +00:00
njoly
eef598dee5 Include bsd.own.mk for obj directory. 2011-07-25 15:41:58 +00:00
mrg
5ddc88b9ab link against bz2 where necessary. 2011-07-23 23:42:02 +00:00
mrg
186dba1af5 obsolete pcftypes.h and link against -lbz2. 2011-07-23 23:38:19 +00:00
mrg
886cb954df updates for freetype 2.4.5. build bzip2. 2011-07-23 23:30:19 +00:00
mrg
80a5944ae9 define XINPUT and HAVE_XORG_SERVER_1_5_0. 2011-07-23 23:27:44 +00:00
mrg
c91edb5d1b handle the rename of XSetCPtr.c to XISetCPtr.c. 2011-07-23 21:37:28 +00:00
martin
62d7638bb2 We use the "iterate phdrs method for exception unwinding now, so
make sure to pass --eh-frame-hdr to get the GNU_EH_FRAME header
generated.
2011-07-23 15:22:26 +00:00
mrg
7ca27fc566 adjust for new XtAsprintf manual. sort set list. 2011-07-23 12:27:40 +00:00
mrg
918a3e013c build cayman_shader.c for xf86-video 6.14.2. 2011-07-23 12:13:40 +00:00
mrg
dc0e794795 updates for 2.3 2011-07-23 12:02:02 +00:00
mrg
4e9d8c7702 add .../man to the .PATH to find moved manuals. 2011-07-23 07:11:48 +00:00
mrg
18a4d96a28 add .../man to .PATH to find moved manuals. 2011-07-23 06:41:08 +00:00
mrg
3d08ad6ff0 add .../man to the .PATH to find moved manuals. 2011-07-23 06:06:40 +00:00
tsutsui
1cebe5b4a9 Build luna68k's X.Org server using wsfb driver.
(XXX: needs more hacks to make it actually functional)
2011-07-21 10:20:25 +00:00
mrg
3f11e25c49 build GMP, MPFR and MPC as private libraries just for GCC. don't
install the headers or librarys into the system.

someone who really cares could make them shlibs again and have them
installed into eg, /usr/lib/gcc.  not convinced it is worth it.
2011-07-21 03:13:30 +00:00
mrg
7eaea50bea regenerate. 2011-07-21 03:10:24 +00:00
mrg
9196b27585 add some missing dependancies. there are probably a bunch more make
hasn't spat at me yet.
2011-07-21 03:01:26 +00:00
tron
71477abcdc Fix uninitialized variables reported by GCC 4.5. 2011-07-20 19:51:57 +00:00
mrg
9a4bfc2852 re-generate various files after dl_iterate_phdr has been enabled. 2011-07-20 00:53:53 +00:00
tron
b6fc69b436 Fix remaining SSP build issues if GCC 4.5 is used. 2011-07-19 15:59:01 +00:00
dholland
dc7a4b1c8f Remove spurious trailing slash; PR 45067 from Henning Petersen. 2011-07-19 03:07:09 +00:00
mrg
2a978aa626 merge the common CPPFLAGS and HOST_CPPFLAGS. put -DGENERATOR_FILE
into HOST_CPPFLAGS, and remove the hacky list of files to build
with it.  this matches what the real GCC build does, and fixes build
problems seen on OSX.
2011-07-19 01:37:59 +00:00
drochner
63087a7ddd let gcc-4.5 use dl_iterate_phdr (which has been present for a while)
for exception handling rather than register_frame_info -- this is
what other OSes are doing, and what is supposedly more efficient.
committed generated files for i386 only
2011-07-18 21:48:03 +00:00
tron
d43e32f723 Turn SSP warnings for "dynstr_test.c" off, found by GCC 4.5. 2011-07-18 19:30:49 +00:00
tron
7b580b1338 Disable SSP warnings (not SSP itself) for this library as their are too
many source files with functions that use variable sized arrays.
2011-07-18 16:55:49 +00:00
christos
9b1cdf6a14 better fix for gcc uninitialized. 2011-07-18 02:47:52 +00:00
christos
6e03a05a94 fix gcc uninitialized warnings 2011-07-18 00:43:35 +00:00
christos
6c10492aaa fix uninitialized gcc variables 2011-07-18 00:42:40 +00:00
joerg
3eb244d801 Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
2011-07-17 20:54:30 +00:00
joerg
9777e8c193 Update to Clang/LLVM r135360. Most importantly, this adjusts the
cc -print-search-dirs output to expand sysroot-prefixed library paths to
make live easier for libtool.
2011-07-17 20:07:56 +00:00
christos
27ed5dfb1a - exit with ERROR_EXIT consistently
- don't use warnx() for things that set errno
- check result of setlogin()
- don't call setlogin() without calling setsid()
  should fix kernel warnings like:
	cron (pid NNNNN) changing logname from root to USER
	cron (pid MMMMM) changing logname from USER to root
2011-07-17 01:16:46 +00:00
christos
bd253b6939 calling setlogin() once is good enough. 2011-07-17 01:14:25 +00:00
joerg
63d609f274 Install cpp frontend link too 2011-07-14 21:38:56 +00:00
joerg
220d715bdc Update to LLVM/Clang r135100 to get past the type system rewrite. 2011-07-13 23:48:29 +00:00
matt
75e98e4690 Default to 128-bit long double. Next question is ieee or ibm long double. 2011-07-12 23:23:17 +00:00
drochner
ee65e1cf6e minor printf format fixes 2011-07-12 18:19:13 +00:00
matt
b82b5c51b9 Bring in gcc 4.5 changes. powerpc64 can at least build a compiler now. 2011-07-12 08:47:24 +00:00
mrg
bae714a51c regenerate, now sun2 libgcc links with applications fine. 2011-07-11 08:25:09 +00:00
mrg
3e3f99ad94 make this look more like the (working) gcc 4.1 configuration, and make
this actually work on netbsd/sun2.
2011-07-11 08:23:48 +00:00
mrg
4292af252e XXX: add a prototype for __cmpdf2() so this compiles with -Werror. 2011-07-11 08:23:16 +00:00
mrg
67e341bb50 use m68k/t-floatlib on netbsd m68* platforms. 2011-07-11 08:22:49 +00:00
mrg
fd2a48532a force HAVE_AS_SPARC_GOTDATA_OP to false, since those relocs seem
busted with our binutils.  now sparc64 seems to work fine.
2011-07-10 15:28:26 +00:00
mrg
c590ede942 make mips64 builds of gmp and mpfr work including compat libs. 2011-07-10 03:05:33 +00:00
mrg
1b7b730ff0 make these look more like the sparc/powerpc ones.
XXX: a big chunk of these Makefile.inc's should promoted to the
XXX: main Makefile.
2011-07-10 02:41:50 +00:00
mrg
ef65ebf1e0 add a hack for emips libgcc (32 bit mips with softfloat.) 2011-07-10 02:39:57 +00:00
mrg
4f6b39fb44 hint from scw: "bx" is a thumb instruction. add code to work with
non-thumb cpus.  now /usr/bin/cc on my shark actually runs properly
without crashing (but very very slowly.)
2011-07-09 15:00:08 +00:00
mrg
44399259a7 regenerate to remove MASK_64BIT. 2011-07-09 14:59:16 +00:00
mrg
abfdaed3ef take MASK_64BIT out of the default target flags.
how this did not break all sorts of stuff i don't know!
2011-07-09 14:58:34 +00:00
mrg
50d7346b7f XXX: like ppc, build sparc gmp files with -DPIC for now.
now /usr/bin/cc in a gcc 4.5.3 world works on a sparc.
2011-07-08 09:21:17 +00:00
joerg
1cb60d627b Update LLVM/Clang snapshot to r134635. This reduces the memory usage in
preprocessor heavy code and recognizes mipseb as alias for mips.
2011-07-07 21:59:14 +00:00
joerg
6873db4871 Invert def/undef condition to make LLVM_DEVELOPER=yes work as expected. 2011-07-07 21:46:50 +00:00
drochner
bd5f274d5d ignore error of "rmdir", to let "make clean" succeed in an already
clean directory
2011-07-07 17:55:26 +00:00
matt
c367154631 Get rid of the hack that limited long double to 64 bits. We support 128 bit
long doubles now.
2011-07-07 17:27:46 +00:00
mrg
9692f6d4a2 - un-obsolete a pair of files we want to remain installed (XXX i wonder
if a way to have "clean builds" not run "postinstall fix obsolete" in
  the $DESTDIR so that these sorts of errors will appear as set list
  errors instead of being skipped
- fix the list of headers to install for GCC 4.5, based upon the mknative
  ${G_EXTRA_HEADERS}.  XXX move the location of G_EXTRA_HEADERS.
2011-07-07 08:46:20 +00:00
mrg
bdf189d888 for now, compile all the powerpc asm files -DPIC. fix this properly by
either compiling the dynamic version in a other dir separately, or call
gcc on the fly with the right arguments without generating .S file at all.
2011-07-07 08:02:52 +00:00
mrg
fc24f81836 apply a couple of (int) before r_type switch usage. 2011-07-07 07:47:11 +00:00
mrg
dc1519dda0 remove CONFIG_TOP_SRCDIR definitions provided by our Makefile. 2011-07-07 06:30:02 +00:00
mrg
7335abb57a add missed mknative-gcc hppa file 2011-07-07 05:58:10 +00:00
mrg
3eb93c2d5b alpha and hppa mknative-gcc files. 2011-07-07 02:07:31 +00:00
mrg
c9663b8648 gmp files for alpha and hppa. 2011-07-07 02:06:32 +00:00
mrg
1307b14960 add ${G_LIB2ADD:H:O:u} to the .PATH to find all headers 2011-07-07 01:27:47 +00:00
mrg
3884174ae9 add hppa-netbsd support. 2011-07-07 01:27:30 +00:00