Build failed in Jenkins: FreeBSD_HEAD #1835

2014-11-13 Thread jenkins-admin
See https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/1835/changes

Changes:

[dim] The fix imported into llvm in r274442 contains some C++11 constructs,
which gcc in base cannot handle.  Replace these with C++98 equivalents.

While here, add the patch for the adapted fix.

Reported by:bz, kib
Pointy hat to:  dim
MFC after:  1 week
X-MFC-With: r274442

[mjg] filedesc: fixup fdinit to lock fdp and preapare files conditinally

Not all consumers providing fdp to copy from want files.

Perhaps these functions should be reorganized to better express the outcome.

This fixes up panics after r273895 .

Reported by:markj

[jhb] Drop mention of ISA cards.  Note that I have no idea what to cull from the
supported hardware list.  Judging by the PCI driver attachment, dpt_pci.c
only supports a single adapter rather than the various PCI adapters listed.
The list of EISA adapters listed somewhat overlaps with the device IDs in
dpt_eisa.c.  It's not clear which devices are ISA-only devices.

[jhb] Remove dpt_isa.c and commented out references to it.  It was never 
connected
to the build in either sys/conf/files* or sys/modules/dpt/Makefile.  Also,
it was denoted as doesn't quite work yet when the file was initially added
(which may account for it never having been hooked up to the build).

[jhb] Remove reference to sys/dev/dpt/dpt_control.c.  It was removed back in 
2001 after having
never been updated for CAM changes in 1998.

[kib] Fix assertion, uc-uc_busy is never zero, the intent is to test the
uc_busy value, and not its address [1].

Remove the single use of the macro, write KASSERT() explicitely in the
code of umtxq_sleep_pi().

Submitted by:   Eric van Gyzen e...@vangyzen.net [1]
MFC after:  1 week

--
[...truncated 281713 lines...]
ctfconvert -L VERSION -g bus_if.o
--- md.o ---
cc  -c -O2 -pipe -fno-strict-aliasing  -std=c99 -g -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option  
-Wno-error-tautological-compare -Wno-error-empty-body  
-Wno-error-parentheses-equality -Wno-error-unused-function -nostdinc  -I. 
-Ihttps://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/ws/sys 
-Ihttps://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/ws/sys/contrib/altq 
-Ihttps://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/ws/sys/contrib/libfdt 
-D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h  
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mcmodel=kernel 
-mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables 
-ffreestanding -fstack-protector -gdwarf-2 -mno-aes -mno-avx -Werror  
https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/ws/sys/dev/md/md.c
--- virtio_if.o ---
ctfconvert -L VERSION -g virtio_if.o
--- usb_dev.o ---
cc  -c -O2 -pipe -fno-strict-aliasing  -std=c99 -g -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option  
-Wno-error-tautological-compare -Wno-error-empty-body  
-Wno-error-parentheses-equality -Wno-error-unused-function -nostdinc  -I. 
-Ihttps://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/ws/sys 
-Ihttps://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/ws/sys/contrib/altq 
-Ihttps://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/ws/sys/contrib/libfdt 
-D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h  
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mcmodel=kernel 
-mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables 
-ffreestanding -fstack-protector -gdwarf-2 -mno-aes -mno-avx -Werror  
https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/ws/sys/dev/usb/usb_dev.c
--- acpi_wmi_if.o ---
ctfconvert -L VERSION -g acpi_wmi_if.o
--- evtchn_dev.o ---
cc  -c -O2 -pipe -fno-strict-aliasing  -std=c99 -g -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option  
-Wno-error-tautological-compare -Wno-error-empty-body  
-Wno-error-parentheses-equality -Wno-error-unused-function -nostdinc  -I. 
-Ihttps://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/ws/sys 
-Ihttps://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/ws/sys/contrib/altq 
-Ihttps://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/ws/sys/contrib/libfdt 
-D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h  
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mcmodel=kernel 
-mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables 
-ffreestanding -fstack-protector -gdwarf-2 -mno-aes -mno-avx -Werror  
https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/ws/sys/dev/xen/evtchn/evtchn_dev.c
ctfconvert -L VERSION -g 

Re: Build failed in Jenkins: FreeBSD_HEAD #1835

2014-11-13 Thread Mateusz Guzik
On Thu, Nov 13, 2014 at 10:40:48PM +, jenkins-ad...@freebsd.org wrote:
 --- imgact_shell.o ---
 ctfconvert -L VERSION -g imgact_shell.o
 --- init_main.o ---
 https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/ws/sys/kern/init_main.c:530:25:
  error: too many arguments to function call, expected single argument 'fdp', 
 have 2 arguments
 p-p_fd = fdinit(NULL, false);
   ~~   ^
 https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/ws/sys/sys/types.h:272:15:
  note: expanded from macro 'false'
 #define false   0
 ^
 https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/ws/sys/sys/filedesc.h:161:1:
  note: 'fdinit' declared here
 struct  filedesc *fdinit(struct filedesc *fdp);
 ^

That's my fault, fixed in
https://svnweb.freebsd.org/changeset/base/274485

-- 
Mateusz Guzik mjguzik gmail.com
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org