359754 |
09-Apr-2020 |
kevans |
MFC -fno-common fixes: r359389, r359394, r359397-r359399, r359403-r359404, r359406, r359413-r359416, r359425, r359427, r359432-r359433, r359443, r359675-r359677
Note: this is not necessarily a complete fix to get these programs to build with -fno-common applied.
r359389: config(8): fixes for -fno-common
Move this handful of definitions into main.c, properly declare these as extern in config.h. This fixes the config(8) build with -fno-common.
Unexplained in my previous commit to gas, -fno-common will become the default in GCC10 and LLVM11, so it's worth addressing these in advance.
r359394: MFV r359393: tcsh: import 6974bc35a5cd
This removes an extra variable definition that causes the -fno-common build to fail, which will be a new default in GCC10/LLVM11.
r359397: zfs: fix -fno-common issues
A similar (or identical?) fix has already landed in OpenZFS.
-fno-common will become the default in GCC10/LLVM11.
r359398: sh: remove duplicate el definition
el is declared extern in myhistedit.h and defined in histedit.c. Remove the duplicate definition in input.c to appease the -fno-common build.
-fno-common will become the default in GCC10/LLVM11.
r359399: telnet: remove some duplicate definitions, mark terminaltype extern
Most of these were already properly declared and defined elsewhere, this is effectively just a minor cleanup that fixes the -fno-common build.
-fno-common will become the default in GCC10/LLVM11.
r359403: Revert 359399: telnet -fno-common bits
There was a large misfire from my local diff that I need to investigate, and this version committed did not build.
r359404: Re-apply r359399: telnet -fno-common fix
line and auth_level's redefinitions are just extraneous
telnetd will #define extern and then include ext.h to allocate storage for all of these extern'd vars; however, two of them are actually defined in libtelnet instead. Instead of doing an #ifdef extern dance around those function pointers, just add an EXTERN macro to make it easier to differentiate by sight which ones will get allocated in globals.c and which ones are defined elsewhere.
r359406: telnet: kill off remaining duplicate definition
r359413: ipfilter: remove duplicate definition of 'thishost'
thishost is already defined in lib/initparse.c; no need for this one. This fixes the ipfilter build with -fno-common.
-fno-common will become the default in GCC10/LLVM11.
r359414: iscontrol: move definition of vflag/iscsidev to iscontrol.c
Mark the declaration extern as these are used elsewhere; this fixes the build with -fno-common.
r359415: userboot: mark host_fsops as extern
This is already defined elsewhere; mark this declaration extern to the fix the -fno-common build.
r359416: systat: remove redundant definition of kd
kd is already properly declared in extern.h and defined in main.c, rendering this definition useless. This fixes the -fno-common build.
r359425: locate: fix -fno-common build
Just a single variable declaration to extern and define elsewhere here, myctype.
-fno-common will become a default in GCC10/LLVM11.
r359427: fsck_ffs/fsdb: fix -fno-common build
This one is also a small list:
- 3x duplicate definition (ufs2_zino, returntosingle, nflag) - 5x 'needs extern', 3/5 of which are referenced in fsdb
-fno-common will become the default in GCC10/LLVM11.
r359432: gdb: compile with -fcommon explicitly
As described in the comment, gdb relies on some of the linker magic that happens with -fcommon. I suspect the life expectancy of gdb-in-base is low enough that this isn't worth spending much time addressing, especially given the vintage. Hit it with the -fcommon hammer so that it continues to just work.
r359433: bmake: fix -fno-common build
debug was declared extern, but debug_file was not; correct this and define debug_file in main.c (as debug is) to fix the -fno-common build.
-fno-common will become the default with GCC10/LLVM11.
r359443: MFV r359442: bmake: import -fno-common fix build back from upstream
sjg@ committed the local patch previously committed upstream; pull it in to vendor/ to ease any potential stress of future imports.
r359675: kqueue tests: fix -fno-common build
vnode_fd and kqfd are both shared among multiple CU; define them exactly once.
In the case of vnode_fd, it was simply the declaration that needed correction.
-fno-common will become the default in GCC10/LLVM11.
r359676: ntpd: fix build with -fno-common
Only a small nit here: psl should be declared extern and defined exactly once.
-fno-common will become the default in GCC10/LLVM11.
r359677: yp*: fix -fno-common build
This is mostly two problems spread out far and wide: - ypldap_process should be declared properly - debug is defined differently in many programs
For the latter, just extern it and define it everywhere that actually needs it. This mostly works out nicely for ^/libexec/ypxfr, which can remove the assignment at the beginning of main in favor of defining it properly.
-fno-common will become the default in GCC10/LLVM11. |
331246 |
20-Mar-2018 |
sjg |
MFC bmake-20180222
PR: 226678 Submitted by: sjg |
321653 |
28-Jul-2017 |
sjg |
MFC bmake-20170720
PR: 221023 |
319884 |
13-Jun-2017 |
sjg |
Update bmake to 20170510
Approved by: re@ |
302408 |
08-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
302286 |
29-Jun-2016 |
bdrewery |
Flush every line when using meta mode and no -j or with -B.
Otherwise the output is buffered and it appears that make is stuck on something long-running. This problem is not present with -j as it uses different code that was already flushing.
Discussed with: sjg Approved by: re (blanket, META_MODE) Sponsored by: EMC / Isilon Storage Division
|
301900 |
15-Jun-2016 |
sjg |
meta_oodate: set needOODATE if oodate due to missing .meta file.
Reviewed by: bdrewery Approved by: re
|
301665 |
08-Jun-2016 |
sjg |
Merge bmake-20160606
o dir.c: extend mtimes cache to others via cached_stat()
|
301462 |
05-Jun-2016 |
sjg |
Import bmake-20160604
Performace improvements for meta mode.
|
300313 |
20-May-2016 |
sjg |
Merge bmake-20160512
|
297040 |
18-Mar-2016 |
sjg |
Update to bmake-20160315
Archive member handling works again meta mode, treat missing reads as for writes.
Update dirdeps.mk - much improved startup time. Update meta.stage.mk - avoid ln when chmod required.
|
296637 |
11-Mar-2016 |
sjg |
Merge bmake-20160307
|
292733 |
25-Dec-2015 |
sjg |
Merge bmake-20151220
Fixed clearing suffixes impact on null suffix
|
291978 |
08-Dec-2015 |
sjg |
Merge bmake-20151201
|
291342 |
26-Nov-2015 |
sjg |
ParseTrackInput: do not access beyond end of buffer.
Reviewed by: dim
|
290494 |
07-Nov-2015 |
bapt |
Improve collation string and locales support
Merge collation support from Illumos and DragonflyBSD.
Locales are now generated with the new localedef(1) tool from CLDR POSIX files. The generated files are now identified as "BSD 1.0" format.
The libc now only read "BSD 1.0" locales definitions, all other version will be set to "C" The localedef(1) tool has been imported from Illumos and modified to use tree(3) instead of the CDDL avl(3) A set of tool created by edwin@ and extended by marino@ for dragonfly has been added to be able to generate locales and the Makefiles from the vanilla CLDR unicode databases + a universal UTF-8 charmap (by marino@) Update the locales to unicode v27 Given our regex(3) does not support multibyte (yet) it has been forced to always use locale C Remove now unused colldef(1) and mklocale(1) Finish implementing the numeric BSD extension for ctypes The number of supported locales has grown from 175 to 250 locales. Among the new locales: 6 Arabic locales (AE EG JO MA QA SA), Different variations of spanish locales. Added new 3 components locales for mn_Cyrl_MN, sr_Cyrl_RS sr_Latn_RS, zh_Hans_CN, zh_Hant_HK and zh_Hant_TW. Some aliases has been for 2 components version when possible.
Thanks: Garrett D'Amore (Illumos) who made sure all his work was done under BSD license!, Edwin Groothuis (edwin@) for the work he made on tools to be able to generate locales definition usable in freebsd sources out of vanilla CLDR definitions, John Marino (DragonflyBSD) who first merge the Illumos work into Dragonfly and spent hours tracking down bugs.
|
290102 |
28-Oct-2015 |
bapt |
Merge mpsutil(8) branch
mpsutil(8)/mprutil(8) are new utilities for managing LSI Fusion-MPT 2/3 controllers (mps(4) and mpr(4))
For now only informational commands have been implemented.
This utility has been written by scottl@ [1] and polished by myself[2]
Submitted by: scottl Discussed with: scottl Relnotes: yes Sponsored by: Netflix [1] Sponsored by: Gandi.net [2]
|
289842 |
23-Oct-2015 |
sjg |
Merge bmake 20151020
|
288943 |
06-Oct-2015 |
dim |
Upgrade our copies of clang, llvm, lldb, compiler-rt and libc++ to 3.7.0 release.
Please note that from 3.5.0 onwards, clang, llvm and lldb require C++11 support to build; see UPDATING for more information.
Release notes for llvm and clang can be found here: <http://llvm.org/releases/3.7.0/docs/ReleaseNotes.html> <http://llvm.org/releases/3.7.0/tools/clang/docs/ReleaseNotes.html>
Thanks to Ed Maste, Andrew Turner and Antoine Brodin for their help.
Exp-run: antoine Relnotes: yes
|
285042 |
02-Jul-2015 |
emaste |
Update meta2deps example after i386-elf to i386 rename
|
284254 |
11-Jun-2015 |
sjg |
Merge bmake-20150606
Only change to bmake is man page - document .OBJDIR target. We also get latest dirdeps.mk and friends. > Description of fields to fill in above: 76 columns --| > PR: If a GNATS PR is affected by the change. > Differential Revision: https://reviews.freebsd.org/D### (*full* phabric URL needed). > Submitted by: If someone else sent in the change. > Reviewed by: If someone else reviewed your modification. > Approved by: If you needed approval for this commit. > Obtained from: If the change is from a third party. > MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email. > MFH: Ports tree branch name. Request approval for merge. > Relnotes: Set to 'yes' for mention in release notes. > Security: Vulnerability reference (one per line) or description. > Sponsored by: If the change was sponsored by an organization. > Empty fields above will be automatically removed.
_M contrib/bmake M contrib/bmake/ChangeLog M contrib/bmake/Makefile M contrib/bmake/bmake.1 M contrib/bmake/bmake.cat1 M contrib/bmake/make.1 M contrib/bmake/mk/ChangeLog M contrib/bmake/mk/dirdeps.mk M contrib/bmake/mk/gendirdeps.mk M contrib/bmake/mk/install-mk M contrib/bmake/mk/meta.stage.mk M contrib/bmake/mk/meta.sys.mk M contrib/bmake/mk/mkopt.sh M contrib/bmake/targ.c M usr.bin/bmake/Makefile
|
282740 |
10-May-2015 |
sjg |
Merge bmake-20150505 improve detection of malformed conditionals.
|
281812 |
21-Apr-2015 |
sjg |
Merge bmake-20150418
PR: 199486
|
280031 |
15-Mar-2015 |
dim |
Upgrade our copy of clang, llvm and lldb to 3.6.0 release.
Please note that from 3.5.0 onwards, clang/llvm/lldb require C++11 support to build; see UPDATING for more information.
Release notes for llvm and clang can be found here: <http://llvm.org/releases/3.6.0/docs/ReleaseNotes.html> <http://llvm.org/releases/3.6.0/tools/clang/docs/ReleaseNotes.html>
Thanks to Ed Maste for the lldb part of this upgrade.
Exp-run: antoine
|
279945 |
13-Mar-2015 |
sjg |
Make sure that -- filemon is at start of a line, so that it is found as expected.
|
276479 |
31-Dec-2014 |
dim |
Upgrade our copy of clang, llvm and lldb to 3.5.0 release.
Please note that this version now requires C++11 support to build; see UPDATING for more information.
Release notes for llvm and clang can be found here: <http://llvm.org/releases/3.5.0/docs/ReleaseNotes.html> <http://llvm.org/releases/3.5.0/tools/clang/docs/ReleaseNotes.html>
Thanks to Ed Maste, Roman Divacky, Andrew Turner, Justin Hibbits and Antoine Brodin for their invaluable help with this import.
Approved by: portmgr (antoine) MFC after: 1 month
|
268437 |
08-Jul-2014 |
sjg |
Update to bmake-20140620 Main change is detection of malformed variable references.
Reviewed by: obrien
|
266760 |
27-May-2014 |
sjg |
Portmgr no longer need the UL hack.
Reviewed by: obrien
|
261212 |
27-Jan-2014 |
sjg |
Merge bmake-20140101 from vendor
|
258114 |
14-Nov-2013 |
sjg |
Don't SEGV when Hash_Table is uninitialized
|
258113 |
14-Nov-2013 |
sjg |
Avoid SEGV when passed NULL for list
|
255916 |
27-Sep-2013 |
sjg |
Fix Fx syntax.
PR: 182269 Approved by: re@
|
255285 |
06-Sep-2013 |
sjg |
If MAKE_JOB_ERROR_TOKEN is set to false, do not put an error token ("E") into the job queue. This avoids closing down an entire build on failure of one branch. Probably has no use outside the context of universe/tinderbox.
Reviewed by: obrien
|
255253 |
05-Sep-2013 |
sjg |
Merge bmake-20130904
|
255127 |
01-Sep-2013 |
sjg |
Pay attention to errCheck!
PR: 181715
|
254419 |
16-Aug-2013 |
sjg |
Add .MAKE.ALWAYS_PASS_JOB_QUEUE knob (default yes) for backwards compatability.
|
254194 |
10-Aug-2013 |
sjg |
ParseGetLine: don't treat a zero byte as end of buffer if P_end says it isn't. Consume up to next newline, and issue a parse warning. If no newline found before P_end, carry on as before.
|
253925 |
04-Aug-2013 |
sjg |
Move the call to Job_SetPrefix() to Job_Init() so that makefiles have had a chance to set .MAKE.JOB.PREFIX
|
253883 |
02-Aug-2013 |
sjg |
Merge bmake-20130730 Main feature of interest is .MAKE.JOB.PREFIX= to suppress --- job --- tokens.
|
251958 |
18-Jun-2013 |
sjg |
Fix use after free bug. Parse_SetInput: curFile->fname was using the buffer passed to it - which ReadMakefile frees. This change makes the comment in ParseEOF about leaking curFile->fname true.
|
251422 |
05-Jun-2013 |
sjg |
Update to bmake-20130604 to fix file descriptor leak.
|
250837 |
20-May-2013 |
sjg |
Sync with upstream version (20130520) that includes same fixes made last week.
|
250773 |
18-May-2013 |
sjg |
Fix wildcard srcs for phony targets
|
250771 |
18-May-2013 |
sjg |
Match what is in netbsd.
|
250770 |
18-May-2013 |
sjg |
Var_Delete: expand name to delete if needed.
|
250750 |
17-May-2013 |
sjg |
We really need to get the bsd.own.mk from this tree so the correct options are set. Also defined NO_PWD_OVERRIDE to match behavior of fmake.
|
250164 |
02-May-2013 |
sjg |
Local hack to allow smooth transition for ports. bsd.port.mk can set .MAKE.FreeBSD_UL=yes to cause :L and :U to have their old behavior. This should be reverted when 8.3 is EOL.
PR: 173299 Reviewed by: obrien
|
249033 |
02-Apr-2013 |
sjg |
Update to bmake-20130330
|
246223 |
01-Feb-2013 |
sjg |
Merge bmake-20130123
Approved by: marcel (mentor)
|
243115 |
16-Nov-2012 |
sjg |
Merge bmake-20121111 Also pay attention to MK_SHARED_TOOLCHAIN.
Approved by: marcel (mentor)
|
242102 |
25-Oct-2012 |
sjg |
Merge bmake-20121010
Approved by: marcel (mentor)
|
241146 |
03-Oct-2012 |
marcel |
Merge bmake-20120831 from vendor/NetBSD/bmake/dist.
Provenance: ftp://ftp.netbsd.org/pub/NetBSD/misc/sjg
|
240330 |
11-Sep-2012 |
marcel |
Import the 20120831 release of the "Portable" BSD make tool (from NetBSD).
Submitted by: Simon Gerraty <sjg@juniper.net>
|
238152 |
06-Jul-2012 |
obrien |
Import the 20120704 release of the "Portable" BSD make tool (from NetBSD).
Submitted by: Simon Gerraty <sjg@juniper.net>
|
237578 |
25-Jun-2012 |
obrien |
Import the 20-June-2012 release of the "Portable" BSD make tool (from NetBSD).
Submitted by: sjg@juniper.net
|
236769 |
08-Jun-2012 |
obrien |
Import the 6-May-2012 release of the "Portable" BSD make tool (from NetBSD).
Submitted by: sjg@juniper.net
|