Commits
- Commit:
9444b8e4bc847f8fd9d02466976b962288cedf31
- From:
- Russ Cox <rsc@swtch.com>
- Date:
9c, 9l: accept CC9FLAGS from config
Also, if CC9FLAGS includes -fsanitize=address (ASAN),
predefine PLAN9PORT_ASAN for use by programs that need
to know (mainly libthread).
The 9c script used to have a variable called ngflags, which
was ccflags except -g (ng stood for "no g"), but nothing needs
it split out anymore, so simplify to just ccflags.
- Commit:
4982d4ebc3bd4924d73f2f2ad584309e9ec97435
- From:
- Ben Huntsman <BHuntsman@mail2.cu-portland.edu>
- Via:
- Russ Cox <rsc@swtch.com>
- Date:
all: update build scripts to fix AIX XL/C compatibility
- Commit:
c1c1b5267fd5e14be531a4b22ed0124b35d427cb
- From:
- sean <phonologus@gmail.com>
- Via:
- David du Colombier <0intro@gmail.com>
- Date:
9c: added explicit -fcommon to gcc defaults.
Version 10 of gcc enforces -fno-common which breaks a lot of things.
This fix reverts to the pre-10 behaviour. The real fix is to clean up
stray redefinitions which should be declarations.
- Commit:
cb8f7357867a2a5d0bd742ceeb77bce9ad5f435c
- From:
- Russ Cox <rsc@swtch.com>
- Date:
all: remove Linux 2.4 vs 2.6 detection
Linux 2.4 is dead.
(The libthread code hasn't worked for Linux 2.4 for a long time.)
- Commit:
fafa622a5bdf71adfbb4334541c3b65f29c89ca9
- From:
- Russ Cox <rsc@golang.org>
- Via:
- Russ Cox <rsc@swtch.com>
- Date:
all: fix or silence various gcc warnings
As usual, gcc finds some real problems but also reports a ton
of noise. Fix the problems and quiet the noise.
- Commit:
194178b5788a09379e01e8ff8bff391b8a8d5c18
- From:
- Martin Kühl <martin.kuehl@posteo.net>
- Via:
- Dan Cross <crossd@gmail.com>
- Date:
9c: Fix case patterns for DragonFly and other BSDs
POSIX does not support grouping in case item patterns.
Installing with a strict POSIX shell fails with:
/usr/local/plan9/bin/9c: line 82: syntax error near unexpected token `('
/usr/local/plan9/bin/9c: line 82: `*(DragonFly|BSD)*gcc*) usegcc ;;'
This change expands the patterns to work around the limitation.
See https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_10
(and search for case_clause)
- Commit:
cf6b778799edf4ebc2331d12707e66e7d38331ea
- From:
- Leonid Bobrov <goleo@disroot.org>
- Via:
- Dan Cross <crossd@gmail.com>
- Date:
INSTALL, 9c, 9l: improve handling of *BSD (#302)
- Commit:
436ff26c3688198de8e8e48121296eace0b5d119
- From:
- Jason Felice <jason.m.felice@gmail.com>
- Via:
- Dan Cross <crossd@gmail.com>
- Date:
9c, 9l: use $TMPDIR if available (#272)
NixOS sandboxed builds (at least on Mac) don't have access to /tmp,
and this should be better POSIX.
- Commit:
310ae03327a815e721166b64aa3af27b1cc8c2ff
- From:
- Russ Cox <rsc@swtch.com>
- Date:
all: fix or silence all INSTALL warnings on macOS
Should be a clean build now.
Change-Id: Id3460371cb5e8d4071f8faa9c2aec870d213a067
Reviewed-on: https://plan9port-review.googlesource.com/2781
Reviewed-by: Russ Cox <rsc@swtch.com>
- Commit:
6c7443a65369d0bd236d9eb19e59df6639c91eec
- From:
- David du Colombier <0intro@gmail.com>
- Date:
fix clang 3.4 warnings and ignore uninteresting ones
fixed warnings:
src/cmd/fossil/disk.c:37:14: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
src/cmd/fossil/disk.c:38:14: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
src/cmd/fossil/disk.c:39:14: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
src/cmd/fossil/disk.c:40:13: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
src/cmd/fossil/disk.c:41:14: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
src/libndb/ndbreorder.c:41:55: warning: for loop has empty body [-Wempty-body]
ignored warnings:
src/cmd/acid/dbg.y:393:9: warning: array index -1 is before the beginning of the array [-Warray-bounds]
src/cmd/bc.y:1327:9: warning: array index -1 is before the beginning of the array [-Warray-bounds]
src/cmd/bc.y:1327:9: warning: array index -1 is before the beginning of the array [-Warray-bounds]
src/cmd/grep/grep.y:420:9: warning: array index -1 is before the beginning of the array [-Warray-bounds]
src/cmd/grep/grep.y:420:9: warning: array index -1 is before the beginning of the array [-Warray-bounds]
src/cmd/hoc/hoc.y:692:9: warning: array index -1 is before the beginning of the array [-Warray-bounds]
src/cmd/hoc/hoc.y:692:9: warning: array index -1 is before the beginning of the array [-Warray-bounds]
src/cmd/lex/parser.y:886:9: warning: array index -1 is before the beginning of the array [-Warray-bounds]
src/cmd/rc/syn.y:303:9: warning: array index -1 is before the beginning of the array [-Warray-bounds]
src/cmd/units.y:1003:9: warning: array index -1 is before the beginning of the array [-Warray-bounds]
src/libregexp/regcomp.c:19:16: warning: variable 'reprog' is not needed and will not be emitted [-Wunneeded-internal-declaration]
LGTM=rsc
R=rsc
https://codereview.appspot.com/158250043
- Commit:
20035ed43cfd67cddd01969e155794e1e057d9e6
- From:
- Shenghou Ma <minux.ma@gmail.com>
- Date:
all: DragonFly port.
Fix compilation problems, libdraw still doesn't work right yet.
LGTM=rsc
R=rsc
https://codereview.appspot.com/67820046
- Commit:
b0ae8a46a0e40773d306906dd0fd9b33832e7086
- From:
- Russ Cox <rsc@swtch.com>
- Date:
9c: support clang on Mac
R=rsc
http://codereview.appspot.com/6744055
- Commit:
34d629c8572518afe0a1d5698d7b184938e35a8f
- From:
- Russ Cox <rsc@swtch.com>
- Date:
9c: add more clang warning silencers, use signed chars
R=rsc
http://codereview.appspot.com/6741053
- Commit:
fc567f476a9cb381a50a94a355c4e0dd990b2539
- From:
- Russ Cox <rsc@swtch.com>
- Date:
build: OS X 64-bit build
R=rsc
http://codereview.appspot.com/4838047
- Commit:
af0dea45319aaa8aad011feac472c367165e9020
- From:
- Russ Cox <rsc@swtch.com>
- Date:
SunOS fixes (thanks Aram Hăvărneanu)
R=rsc, rsc
http://codereview.appspot.com/4271084