[Bug 201445] bsd.prog.mk explicitly spams CFLAGS with -g if MK_DEBUG_FILES!= no, but bsd.lib.mk doesn't

2015-10-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201445

Garrett Cooper,425-314-3911  changed:

   What|Removed |Added

 Status|New |Closed
 Resolution|--- |Works As Intended

--- Comment #3 from Garrett Cooper,425-314-3911  ---
(In reply to Ed Maste from comment #2)

Yeah, it does make sense. Closing (and thanks for the explanation -- would be
nice if
there was a comment noting the inconsistency..)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 192671] [cam] cam_close_device/cam_close_spec_device can trash valid file descriptors if called more than once on a device

2015-10-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192671

Garrett Cooper,425-314-3911  changed:

   What|Removed |Added

   Assignee|freebsd-bugs@FreeBSD.org|n...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 203832] clang crash: frontend command failed due to signal

2015-10-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203832

Bug ID: 203832
   Summary: clang crash: frontend command failed due to signal
   Product: Base System
   Version: 11.0-CURRENT
  Hardware: amd64
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: bin
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: melif...@freebsd.org

clang crashed when parsing source with source errors:

/usr/src/sys/netinet/if_ether.c:1181:16: error: use of undeclared identifier
'ifa'; did you mean 'ifp'?
TAILQ_FOREACH(ifa, &ifp->if_addrhead, ifa_link) {
  ^~~
  ifp
/usr/src/sys/sys/queue.h:617:8: note: expanded from macro 'TAILQ_FOREACH'
for ((var) = TAILQ_FIRST((head));   \
  ^
/usr/src/sys/netinet/if_ether.c:1172:48: note: 'ifp' declared here
arp_iflladdr(void *arg __unused, struct ifnet *ifp)
   ^
/usr/src/sys/netinet/if_ether.c:1181:2: error: incompatible pointer types
assigning to 'struct ifnet *' from 'struct ifaddr *'
[-Werror,-Wincompatible-pointer-types]
TAILQ_FOREACH(ifa, &ifp->if_addrhead, ifa_link) {
^~~
/usr/src/sys/sys/queue.h:617:13: note: expanded from macro 'TAILQ_FOREACH'
for ((var) = TAILQ_FIRST((head));   \
   ^ ~~~
/usr/src/sys/netinet/if_ether.c:1181:16: error: use of undeclared identifier
'ifa'; did you mean 'ifp'?
TAILQ_FOREACH(ifa, &ifp->if_addrhead, ifa_link) {
  ^~~
  ifp
/usr/src/sys/sys/queue.h:618:7: note: expanded from macro 'TAILQ_FOREACH'
(var);  \
 ^
/usr/src/sys/netinet/if_ether.c:1172:48: note: 'ifp' declared here
arp_iflladdr(void *arg __unused, struct ifnet *ifp)
   ^
/usr/src/sys/netinet/if_ether.c:1181:16: error: use of undeclared identifier
'ifa'; did you mean 'ifp'?
TAILQ_FOREACH(ifa, &ifp->if_addrhead, ifa_link) {
  ^~~
  ifp
/usr/src/sys/sys/queue.h:619:7: note: expanded from macro 'TAILQ_FOREACH'
(var) = TAILQ_NEXT((var), field))
 ^
/usr/src/sys/netinet/if_ether.c:1172:48: note: 'ifp' declared here
arp_iflladdr(void *arg __unused, struct ifnet *ifp)
   ^
/usr/src/sys/netinet/if_ether.c:1181:16: error: use of undeclared identifier
'ifa'; did you mean 'ifp'?
TAILQ_FOREACH(ifa, &ifp->if_addrhead, ifa_link) {
  ^~~
  ifp
/usr/src/sys/sys/queue.h:619:26: note: expanded from macro 'TAILQ_FOREACH'
(var) = TAILQ_NEXT((var), field))
^
/usr/src/sys/sys/queue.h:713:34: note: expanded from macro 'TAILQ_NEXT'
#define TAILQ_NEXT(elm, field) ((elm)->field.tqe_next)
 ^
/usr/src/sys/netinet/if_ether.c:1172:48: note: 'ifp' declared here
arp_iflladdr(void *arg __unused, struct ifnet *ifp)
   ^
can't implicitly cast lvalue to rvalue with this cast kind
UNREACHABLE executed at
/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema/Sema.cpp:323!
Stack dump:
0.  Program arguments: /usr/obj/usr/src/tmp/usr/bin/cc -cc1 -triple
x86_64-unknown-freebsd11.0 -emit-obj -disable-free -main-file-name if_ether.c
-mrelocation-model static -mthread-model posix -mdisable-fp-elim
-relaxed-aliasing -masm-verbose -mconstructor-aliases -mcode-model kernel
-target-cpu x86-64 -target-feature -mmx -target-feature -sse -target-feature
-aes -target-feature -avx -disable-red-zone -no-implicit-float -gdwarf-2
-dwarf-column-info -coverage-file /usr/obj/usr/src/sys/DEVEL/if_ether.c
-nostdsysteminc -nobuiltininc -resource-dir
/usr/obj/usr/src/tmp/usr/bin/../lib/clang/3.6.1 -include opt_global.h -D
_KERNEL -D HAVE_KERNEL_OPTION_HEADERS -D __printf__=__freebsd_kprintf__ -I . -I
/usr/src/sys -I /usr/src/sys/contrib/libfdt -isysroot /usr/obj/usr/src/tmp -O2
-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef
-Wno-pointer-sign -Wmissing-include-dirs -Wno-unknown-pragmas
-Wno-error-tautological-compare -Wno-error-empty-body
-Wno-error-parentheses-equality -Wno-error-unused-function
-Wno-error-pointer-sign -Werror -std=iso9899:1999 -fdebug-compilation-dir
/usr/obj/usr/src/sys/DEVEL -ferror-limit 19 -fmessage-length 0 -ffreestanding
-fwrapv -stack-protector 1 -mstackrealign -fobjc-runtime=gnustep
-fdiagnostics-show-option -vectorize-loops -vectorize-slp -o if_ether.o -x c
/usr/src/sys/netinet/if_ether.c 
1.  /usr/src/sys/netinet/if_ether.c:1181:2
: current parser token ')'
2.  /usr/src/sys/netine

[Bug 203832] clang crash: frontend command failed due to signal

2015-10-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203832

--- Comment #2 from Alexander V. Chernikov  ---
Created attachment 162145
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=162145&action=edit
clang-generated run script

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 203832] clang crash: frontend command failed due to signal

2015-10-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203832

--- Comment #1 from Alexander V. Chernikov  ---
Created attachment 162144
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=162144&action=edit
clang-generated source

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"