The NetBSD Project

CVS log for src/lib/libc/Makefile.inc

[BACK] Up to [cvs.NetBSD.org] / src / lib / libc

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.22 / (download) - annotate - [select for diffs], Tue Jan 23 17:24:38 2024 UTC (2 months, 3 weeks ago) by christos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.21: +1 -3 lines
Diff to previous 1.21 (colored) to selected 1.12 (colored)

fix nested extern warnings

Revision 1.21 / (download) - annotate - [select for diffs], Sat Jan 20 14:52:45 2024 UTC (2 months, 4 weeks ago) by christos
Branch: MAIN
Changes since 1.20: +7 -3 lines
Diff to previous 1.20 (colored) to selected 1.12 (colored)

Catch up with all the lint warnings since exit on warning was disabled.
Disable 'missing header declaration' and 'nested extern' warnings for now.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Apr 20 21:42:31 2021 UTC (2 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-10-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: netbsd-10
Changes since 1.19: +3 -1 lines
Diff to previous 1.19 (colored) to selected 1.12 (colored)

Instead of compiling files with -fcommon, create an include file and declare
the 3 symbols that need to be common using an attribute. Put all the 3 symbol
definitions in libc in one place (initfini.c). Reviewed by joerg@

Revision 1.19 / (download) - annotate - [select for diffs], Sat Jun 9 22:41:55 2018 UTC (5 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, netbsd-9-base, is-mlppp-base, is-mlppp
Branch point for: netbsd-9
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored) to selected 1.12 (colored)

We can't build those three with MKSANITIZER, they are used too early.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Aug 28 11:45:02 2015 UTC (8 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat, netbsd-8
Changes since 1.17: +5 -2 lines
Diff to previous 1.17 (colored) to selected 1.12 (colored)

Don't unconditionally pass MLIBDIR via CPPFLAGS. Drop now dead branch.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Dec 10 00:37:30 2014 UTC (9 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.16: +5 -1 lines
Diff to previous 1.16 (colored) to selected 1.12 (colored)

Add hooks for RUMPRUN build of libc

If "yes", does the following (default "no"):
  * prevents ASM syscalls from being built (librump provides syscalls)
  * does not include compat (useless when application is linked with libc)
  * does not build tags (no /var/db to install them to)
  * does not include tls

==> libc for rumprun can now be built against unmodified NetBSD sources

Revision 1.16 / (download) - annotate - [select for diffs], Thu Sep 19 21:18:17 2013 UTC (10 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored) to selected 1.12 (colored)

Pass MLIBDIR to CPPFLAGS.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Aug 20 23:19:28 2013 UTC (10 years, 8 months ago) by joerg
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored) to selected 1.12 (colored)

Disable -w for lint again. It clearly creates more issues than it ever
solved.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Mar 21 14:52:40 2012 UTC (12 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored) to selected 1.12 (colored)

welcome to WARNS=5

Revision 1.13 / (download) - annotate - [select for diffs], Mon Mar 19 22:32:16 2012 UTC (12 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored)

Move -D_DIAGNOSTIC to a separate line (makes it easier to comment out).

Revision 1.12 / (download) - annotate - [selected], Sat Mar 17 18:00:50 2012 UTC (12 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

make lint exit on warnings

Revision 1.11 / (download) - annotate - [select for diffs], Tue Mar 13 22:37:51 2012 UTC (12 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.10: +1 -2 lines
Diff to previous 1.10 (colored) to selected 1.12 (colored)

Fix all the issues lint is too dumb to warn about and re-enable
-Wconstant-conversion.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Mar 13 22:12:40 2012 UTC (12 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.9: +3 -2 lines
Diff to previous 1.9 (colored) to selected 1.12 (colored)

Disable -w again until the complains are resolved.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Mar 13 21:13:30 2012 UTC (12 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.8: +2 -4 lines
Diff to previous 1.8 (colored) to selected 1.12 (colored)

PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
  would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
  builds)

approved by core@

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jan 20 16:31:29 2012 UTC (12 years, 3 months ago) by joerg
Branch: MAIN
CVS Tags: netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.7: +1 -3 lines
Diff to previous 1.7 (colored) to selected 1.12 (colored)

Remove code for CITRUS!=yes.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Nov 10 00:36:54 2011 UTC (12 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base3
Changes since 1.6: +1 -4 lines
Diff to previous 1.6 (colored) to selected 1.12 (colored)

G/C -nostdinc usage, --sysroot is provided automatically.

Revision 1.6 / (download) - annotate - [select for diffs], Sun May 30 08:28:53 2010 UTC (13 years, 10 months ago) by tnozaki
Branch: MAIN
CVS Tags: yamt-pagecache-base2, yamt-pagecache-base, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache
Changes since 1.5: +3 -1 lines
Diff to previous 1.5 (colored) to selected 1.12 (colored)

1. fix build problem CITRUS=no
2. make CITRUS={yes,no} knob friendly with libc/compat.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Mar 22 01:29:29 2010 UTC (14 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored) to selected 1.12 (colored)

convert -idirafter to -isystem, as recommended by cgd in PR 11843.
most of the list in that PR were already done.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Oct 26 07:42:09 2008 UTC (15 years, 5 months ago) by mrg
Branch: MAIN
CVS Tags: netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, christos-time_t-nbase, christos-time_t-base
Branch point for: christos-time_t
Changes since 1.3: +2 -10 lines
Diff to previous 1.3 (colored) to selected 1.12 (colored)

use libcincludes.mk

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jun 3 17:36:08 2007 UTC (16 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, mjf-devfs2-base, mjf-devfs2, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored) to selected 1.12 (colored)

We can USE_FORT now.

Revision 1.2 / (download) - annotate - [select for diffs], Mon May 28 12:06:18 2007 UTC (16 years, 10 months ago) by tls
Branch: MAIN
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored) to selected 1.12 (colored)

Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry.  RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros.  Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default.  Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Mar 11 21:07:18 2006 UTC (18 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to selected 1.12 (colored)

Add glue to build the compat library as a separate "libcold" turned off by
default. Clean up the libc Makefile and remove obsolete stuff such as copy
to libkern.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>