'Protocol not supported' on linux socket call ( r313313 amd64 )
Oleg V. Nauman
oleg at opentransfer.com
Wed Feb 8 20:31:33 UTC 2017
On Wednesday 08 February 2017 09:06:43 Conrad Meyer wrote:
> Hi Oleg,
>
> It seems likely it is related to r313284.
Kernel compilation fails
cc -O2 -pipe -DCOMPAT_FREEBSD32 -DCOMPAT_LINUX32 -march=nehalem -fno-strict-
aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -
DHAVE_KERNEL_OPTION_HEADERS -include
/usr/src/sys/amd64/compile/oleg3/opt_global.h -I. -I/usr/src/sys -fno-common -
g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -
I/usr/src/sys/amd64/compile/oleg3 -MD -MF.depend.linux32_dummy.o -
MTlinux32_dummy.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -
gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -
Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-
sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-
show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-
empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-
error-pointer-sign -Wno-error-shift-negative-value -mno-aes -mno-avx -
std=iso9899:1999 -c
/usr/src/sys/modules/linux/../../amd64/linux32/linux32_dummy.c -o
linux32_dummy.o
/usr/src/sys/modules/linux/../../amd64/linux32/linux32_dummy.c:117:1: error:
declaration of
'struct linux_rt_tsigqueueinfo_args' will not be visible outside of this
function
[-Werror,-Wvisibility]
DUMMY(rt_tsigqueueinfo);
^
/usr/src/sys/compat/linux/linux_util.h:79:39: note: expanded from macro
'DUMMY'
linux_ ## s(struct thread *td, struct linux_ ## s ## _args *args) \
^
<scratch space>:162:1: note: expanded from here
linux_rt_tsigqueueinfo_args
^
/usr/src/sys/modules/linux/../../amd64/linux32/linux32_dummy.c:117:1: error:
no previous
prototype for function 'linux_rt_tsigqueueinfo' [-Werror,-Wmissing-
prototypes]
/usr/src/sys/compat/linux/linux_util.h:78:13: note: expanded from macro
'DUMMY'
int \
^
<scratch space>:160:1: note: expanded from here
linux_rt_tsigqueueinfo
^
2 errors generated.
*** Error code 1
It is sources revision 313313 with reverted 313284.
>
> Best,
> Conrad
>
> On Wed, Feb 8, 2017 at 7:44 AM, Oleg V. Nauman <oleg at opentransfer.com>
wrote:
> > After upgrading of current on amd64 box to r313313 I noticed that skype
> > has
> >
> > stopped working.
> >
> > Below is the end of 'truss' output for skype:
> > 36723: linux_socketcall(1,{ LINUX_SOCKET, 0x0 }) ERR#-93 'Protocol not
> > supported'
> > 36723: write(6,"@",1) = 1 (0x1)
> > 36723: close(6) = 0 (0x0)
> > 36723: close(5) = 0 (0x0)
> > 36723: linux_rt_sigaction(0x11,0xffffbaf8,0xffffba6c,0x8) = 0 (0x0)
> > 36723: linux_exit_group(0x1)
> > 36723: process exit, rval = 1
> >
> > My second current box ( r313090 i386 ) runs skype successfully.
> >
> > _______________________________________________
> > freebsd-current at freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
More information about the freebsd-current
mailing list