Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
Squelch casts from pointer to different sized int warnings
|
|
|
|
Squelch a GCC warning about a cast from an integer to a pointer of a
different size (presumed to be an implicit 32bits before).
|
|
As a GCC extension, GCC used to define 'extern inline' to mean that a
function was only ever emitted inline and no visible symbol was emitted.
C99, however, made 'extern inline' mean pretty much the reverse of this, and
GCC 4.3 and above in C99 or GNU99 modes follow the standard, so we have to
decorate each definition to indicate we want the non-standard behaviour.
|
|
|
|
GCC 4.x warn about this, and because elfsign is built as part of the
tools, it is built with the cw(1) installed on the system, not the one
built in the workspace, and thus doesn't know to ignore these warnings.
|
|
CTF tools include /usr/include first by necessity since they run on the
build machine, but we need a hack to bootstrap builds on systems without a
fixed va_impl.h.
|
|
OS-463 dtest should fail if dependencies are missing
|
|
Reviewed by: Gordon Ross <gwr@nexenta.com>
Reviewed by: Eric Schrock <eric.schrock@delphix.com>
Approved by: Garrett D'Amore <garrett@nexenta.com>
|
|
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Garrett D'Amore <garrett@nexenta.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
|
|
1409 dis is overly restrictive when looking for it's next symbol
Reviewed by: Rich Lowe <richlowe@richlowe.net>
Reviewed by: Eric Schrock <eric.schrock@delphix.com>
Approved by: Albert Lee <trisk@nexenta.com>
|
|
1146 find should support -iname
1448 find should support -mindepth, -maxdepth
1449 Add -useracl, -groupacl primaries to find
1468 find should support -print0
Reviewed by: Dan McDonald <danmcd@nexenta.com>
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Approved by: Albert Lee <trisk@nexenta.com>
|
|
|
|
In the same spirit as cw(1) passing -fno-inline-functions, we also need
to pass -fno-inline-small-functions and
-fno-inline-functions-called-once to newer GCC to prevent functions
which it deems to be "small enough", or functions only called once being
automatically inlined at most optimization levels.
(Un)fortunately the use of -fno-inline-small-functions bandaids a
problem during boot on amd64 where kcf`rndbytes_cnt would underflow, and
leave us scribbling over much of kernel memory eventually panicking most
often in clock() with cpu_list being garbage.
|
|
Define new conditionals which control the GCC version to be used, and
default them appropriately.
__GNUC3 - GCC 3.x
__GNUC4 - GCC 4.x
These are in effect regardless of __GNUC, as they control settings
meaningful to shadow compilation as well as primary.
|
|
Define __SUNC to be POUND_SIGN if __GNUC is true such that we can use it
for conditional make assignments, make use of it to define the -lCstd
-lCrun settings to avoid the need to reset CCNEEDED in the __GNUC case,
duplicating the rules
|
|
|
|
is missing
|
|
|
|
|
|
Reviewed by: David Gwynne <dlg@openbsd.org>
Reviewed by: Piotr Jasiukajtis <estseg@gmail.com>
Reviewed by: Eric Schrock <eric.schrock@delphix.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
|
|
Reviewed by: Garrett D'Amore <garrett@nexenta.com>
Reviewed by: Albert Lee <trisk@nexenta.com>
Approved by: Eric Schrock <Eric.Schrock@delphix.com>
|
|
Reviewed by: Garrett D'Amore <garrett@nexenta.com>
Reviewed by: Gordon Ross <gwr@nexenta.com>
Reviewed by: Jason King <jason.brian.king@gmail.com>
Reviewed by: Joshua M. Clulow <josh@sysmgr.org>
Approved by: Gordon Ross <gwr@nexenta.com>
|
|
Reviewed by: Jason King <jason.brian.king@gmail.com>
Reviewed by: Gordon Ross <gwr@nexenta.com>
Approved by: Eric Schrock <eric.schrock@delphix.com>
|
|
|
|
Reviewed by: Gordon Ross <gwr@nexenta.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Albert Lee <trisk@nexenta.com>
|
|
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Garrett D'Amore <garrett@nexenta.com>
Reviewed by: Jason King <jason.brian.king@gmail.com>
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Approved by: Gordon Ross <gwr@nexenta.com>
|
|
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Reviewed by: Stepan Zastupov <stepan.zastupov@gmail.com>
Approved by: Garrett D'Amore <garrett@nexenta.com>
|
|
Reviewed by: jason.brian.king@gmail.com
Reviewed by: Dan Kruchinin <dkruchinin@acm.org>
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Approved by: Garrett D'Amore <garrett@nexenta.com>
|
|
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com>
Reviewed by: Jason King <jason.brian.king@gmail.com>
Reviewed by: Gary Mills <mills@cc.umanitoba.ca>
Reviewed by: Garrett D'Amore <garrett.damore@gmail.com>
Approved by: Eric Schrock <Eric.Schrock@delphix.com>
|
|
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com>
Reviewed by: Garrett D'Amore <garrett.damore@gmail.com>
Approved by: Eric Schrock <eric.schrock@delphix.com>
|
|
|
|
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com>
Reviewed by: Dan McDonald <danmcd@nexenta.com>
Approved by: Eric Schrock <Eric.Schrock@delphix.com>
|
|
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com>
Reviewed by: Dan McDonald <danmcd@nexenta.com>
Approved by: Eric Schrock <Eric.Schrock@delphix.com>
|
|
|
|
|
|
|
|
|
|
Reviewed by: Alexander Eremin <alexander.eremin@nexenta.com>
Reviewed by: Kartik Mistry <kartik.mistry@gmail.com>
Reviewed by: Gordon Ross <gwr@nexenta.com>
Reviewed by: Garrett D`Amore <garrett@nexenta.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
|
|
|
|
|
|
Reviewed by: Garrett D'Amore <garrett@nexenta.com>
Reviewed by: Dan McDonald <danmcd@nexenta.com>
Approved by: Albert Lee <trisk@nexenta.com>
|
|
Reviewed by: George Wilson <George.Wilson@delphix.com>
Reviewed by: Adam Leventhal <Adam.Leventhal@delphix.com>
Reviewed by: Dan McDonald <danmcd@nexenta.com>
Reviewed by: Richard Elling <richard.elling@richardelling.com>
Reviewed by: Mark Musante <Mark.Musante@oracle.com>
Reviewed by: Garrett D'Amore <garrett@nexenta.com>
Approved by: Garrett D'Amore <garrett@nexenta.com>
|
|
Reviewed by: Gordon Ross <gwr@nexenta.com>
Reviewed by: Garrett D'Amore <garrett@nexenta.com>
Approved by: Eric Schrock <eric.schrock@delphix.com>
--HG--
rename : usr/src/tools/ctf/dwarf/dwarf.h => usr/src/tools/ctf/dwarf/common/dwarf.h
rename : usr/src/tools/ctf/dwarf/libdwarf.h => usr/src/tools/ctf/dwarf/common/libdwarf.h
|
|
Reviewed by: Garrett D'Amore <garrett@nexenta.com>
Reviewed by: Dan McDonald <danmcd@nexenta.com>
Approved by: Gordon Ross <gwr@nexenta.com>
|
|
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Matt Ahrens <mahrens@delphix.com>
Reviewed by: Eric Schrock <eric.schrock@delphix.com>
Reviewed by: Dan McDonald <danmcd@nexenta.com>
Reviewed by: Garrett D'Amore <garrett@nexenta.com>
Approved by: Eric Schrock <eric.schrock@delphix.com>
|