[Bug 236207] devel/mdb: fails to build with clang 8
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Mar 4 12:50:39 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236207
Bug ID: 236207
Summary: devel/mdb: fails to build with clang 8
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: needs-patch
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: jhb at FreeBSD.org
Reporter: jbeich at FreeBSD.org
Blocks: 236062
Assignee: jhb at FreeBSD.org
Flags: maintainer-feedback?(jhb at FreeBSD.org)
$ poudriere jail -cj clang8 -v projects/clang800-import -m svn+https
$ poudriere testport -j clang8 devel/mdb
[...]
In file included from findstack_subr.c:35:
modules/kernel/kernel.h:45:3: error: declaration shadows a variable in the
global scope [-Werror,-Wshadow]
TDS_INACTIVE = 0x0,
^
/usr/include/sys/proc.h:330:3: note: previous declaration is here
TDS_INACTIVE = 0x0,
^
In file included from findstack_subr.c:35:
modules/kernel/kernel.h:45:3: error: redefinition of enumerator 'TDS_INACTIVE'
TDS_INACTIVE = 0x0,
^
/usr/include/sys/proc.h:330:3: note: previous definition is here
TDS_INACTIVE = 0x0,
^
In file included from findstack_subr.c:35:
modules/kernel/kernel.h:46:3: error: declaration shadows a variable in the
global scope [-Werror,-Wshadow]
TDS_INHIBITED,
^
/usr/include/sys/proc.h:331:3: note: previous declaration is here
TDS_INHIBITED,
^
In file included from findstack_subr.c:35:
modules/kernel/kernel.h:46:3: error: redefinition of enumerator 'TDS_INHIBITED'
TDS_INHIBITED,
^
/usr/include/sys/proc.h:331:3: note: previous definition is here
TDS_INHIBITED,
^
In file included from findstack_subr.c:35:
modules/kernel/kernel.h:47:3: error: declaration shadows a variable in the
global scope [-Werror,-Wshadow]
TDS_CAN_RUN,
^
/usr/include/sys/proc.h:332:3: note: previous declaration is here
TDS_CAN_RUN,
^
In file included from findstack_subr.c:35:
modules/kernel/kernel.h:47:3: error: redefinition of enumerator 'TDS_CAN_RUN'
TDS_CAN_RUN,
^
/usr/include/sys/proc.h:332:3: note: previous definition is here
TDS_CAN_RUN,
^
In file included from findstack_subr.c:35:
modules/kernel/kernel.h:48:3: error: declaration shadows a variable in the
global scope [-Werror,-Wshadow]
TDS_RUNQ,
^
/usr/include/sys/proc.h:333:3: note: previous declaration is here
TDS_RUNQ,
^
In file included from findstack_subr.c:35:
modules/kernel/kernel.h:48:3: error: redefinition of enumerator 'TDS_RUNQ'
TDS_RUNQ,
^
/usr/include/sys/proc.h:333:3: note: previous definition is here
TDS_RUNQ,
^
In file included from findstack_subr.c:35:
modules/kernel/kernel.h:49:3: error: declaration shadows a variable in the
global scope [-Werror,-Wshadow]
TDS_RUNNING
^
/usr/include/sys/proc.h:334:3: note: previous declaration is here
TDS_RUNNING
^
In file included from findstack_subr.c:35:
modules/kernel/kernel.h:49:3: error: redefinition of enumerator 'TDS_RUNNING'
TDS_RUNNING
^
/usr/include/sys/proc.h:334:3: note: previous definition is here
TDS_RUNNING
^
In file included from findstack_subr.c:35:
modules/kernel/kernel.h:63:3: error: declaration shadows a variable in the
global scope [-Werror,-Wshadow]
PRS_NEW = 0,
^
/usr/include/sys/proc.h:577:3: note: previous declaration is here
PRS_NEW = 0, /* In creation */
^
In file included from findstack_subr.c:35:
modules/kernel/kernel.h:63:3: error: redefinition of enumerator 'PRS_NEW'
PRS_NEW = 0,
^
/usr/include/sys/proc.h:577:3: note: previous definition is here
PRS_NEW = 0, /* In creation */
^
In file included from findstack_subr.c:35:
modules/kernel/kernel.h:64:3: error: declaration shadows a variable in the
global scope [-Werror,-Wshadow]
PRS_NORMAL,
^
/usr/include/sys/proc.h:578:3: note: previous declaration is here
PRS_NORMAL, /* threads can be run. */
^
In file included from findstack_subr.c:35:
modules/kernel/kernel.h:64:3: error: redefinition of enumerator 'PRS_NORMAL'
PRS_NORMAL,
^
/usr/include/sys/proc.h:578:3: note: previous definition is here
PRS_NORMAL, /* threads can be run. */
^
In file included from findstack_subr.c:35:
modules/kernel/kernel.h:65:3: error: declaration shadows a variable in the
global scope [-Werror,-Wshadow]
PRS_ZOMBIE
^
/usr/include/sys/proc.h:579:3: note: previous declaration is here
PRS_ZOMBIE
^
In file included from findstack_subr.c:35:
modules/kernel/kernel.h:65:3: error: redefinition of enumerator 'PRS_ZOMBIE'
PRS_ZOMBIE
^
/usr/include/sys/proc.h:579:3: note: previous definition is here
PRS_ZOMBIE
^
findstack_subr.c:219:8: error: case value not in enumerated type 'enum
(anonymous enum at modules/kernel/kernel.h:44:2)' [-Werror,-Wswitch]
case TDS_INACTIVE:
^
findstack_subr.c:221:8: error: case value not in enumerated type 'enum
(anonymous enum at modules/kernel/kernel.h:44:2)' [-Werror,-Wswitch]
case TDS_INHIBITED:
^
findstack_subr.c:217:8: error: case value not in enumerated type 'enum
(anonymous enum at modules/kernel/kernel.h:44:2)' [-Werror,-Wswitch]
case TDS_CAN_RUN:
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
http://package18.nyi.freebsd.org/data/headamd64PR236062-default/2019-03-01_06h42m53s/logs/errors/mdb-0.3_1.log
Referenced Bugs:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236062
[Bug 236062] [exp-run] Against projects/clang800-import branch
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list