Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Oct 2014 05:38:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-emulation@FreeBSD.org
Subject:   [Bug 192842] [patch][linux] linux_ppoll syscall required by linux apps that use pulseaudio (on linux_base-f20)
Message-ID:  <bug-192842-4075-fvVwVaVjTK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-192842-4075@https.bugs.freebsd.org/bugzilla/>
References:  <bug-192842-4075@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192842

Ruslan Makhmatkhanov <rm@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rm@FreeBSD.org

--- Comment #9 from Ruslan Makhmatkhanov <rm@FreeBSD.org> ---
Hi,

I tried the second revision of this patch on -current r273290 and it doesn't
builds:

cc  -O2 -pipe  -DCOMPAT_FREEBSD32 -DCOMPAT_LINUX32 -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include
/mnt/media/d1/obj/mnt/media/d1/src/sys/Z1/opt_global.h -I. -I@ -I@/contrib/altq
-fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-I/mnt/media/d1/obj/mnt/media/d1/src/sys/Z1  -mcmodel=kernel -mno-red-zone
-mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fstack-protector -mno-aes -mno-avx -Qunused-arguments -std=iso9899:1999
-fstack-protector -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  -mno-aes -mno-avx -Qunused-arguments -c
/mnt/media/d1/src/sys/modules/linux/../../compat/linux/linux_misc.c
/mnt/media/d1/src/sys/modules/linux/../../compat/linux/linux_misc.c:581:13:
error: no member named 'timeout_ts' in 'struct linux_ppoll_args'
        if (pargs->timeout_ts != NULL)
            ~~~~~  ^
/mnt/media/d1/src/sys/modules/linux/../../compat/linux/linux_misc.c:583:25:
error: no member named 'timeout_ts' in 'struct linux_ppoll_args'
                error = copyin(pargs->timeout_ts, &lts, sizeof(lts));
                               ~~~~~  ^
/mnt/media/d1/src/sys/modules/linux/../../compat/linux/linux_misc.c:598:13:
error: no member named 'sigmask' in 'struct linux_ppoll_args'
        if (pargs->sigmask != NULL) {
            ~~~~~  ^
/mnt/media/d1/src/sys/modules/linux/../../compat/linux/linux_misc.c:599:25:
error: no member named 'sigmask' in 'struct linux_ppoll_args'
                error = copyin(pargs->sigmask, &lsigmask, sizeof(lsigmask));
                               ~~~~~  ^
/mnt/media/d1/src/sys/modules/linux/../../compat/linux/linux_misc.c:612:18:
error: no member named 'fds' in 'struct linux_ppoll_args'
        pa.fds = pargs->fds;
                 ~~~~~  ^
/mnt/media/d1/src/sys/modules/linux/../../compat/linux/linux_misc.c:613:19:
error: no member named 'nfds' in 'struct linux_ppoll_args'
        pa.nfds = pargs->nfds;
                  ~~~~~  ^
/mnt/media/d1/src/sys/modules/linux/../../compat/linux/linux_misc.c:648:28:
error: no member named 'timeout_ts' in 'struct linux_ppoll_args'
        if (retval == 0 && pargs->timeout_ts) {
                           ~~~~~  ^
/mnt/media/d1/src/sys/modules/linux/../../compat/linux/linux_misc.c:666:32:
error: no member named 'timeout_ts' in 'struct linux_ppoll_args'
                error = copyout(&lts, pargs->timeout_ts, sizeof(lts));
                                      ~~~~~  ^
8 errors generated.
*** Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192842-4075-fvVwVaVjTK>