From owner-freebsd-current@freebsd.org Wed Feb 8 20:31:33 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6C954CD6470 for ; Wed, 8 Feb 2017 20:31:33 +0000 (UTC) (envelope-from oleg@opentransfer.com) Received: from oleg.opentransfer.com (oleg.opentransfer.com [91.217.144.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "oleg-10.opentransfer.com", Issuer "oleg-10.opentransfer.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0BFB7BE1; Wed, 8 Feb 2017 20:31:32 +0000 (UTC) (envelope-from oleg@opentransfer.com) Received: from asus.theweb.org.ua ([10.0.8.4]) by oleg.opentransfer.com (8.15.2/8.15.2) with ESMTPS id v18Kaeqq047764 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 8 Feb 2017 22:36:44 +0200 (EET) (envelope-from oleg@opentransfer.com) Received: from asus.theweb.org.ua (localhost [127.0.0.1]) by asus.theweb.org.ua (8.15.2/8.15.2) with ESMTPS id v18KVPMr034461 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 8 Feb 2017 22:31:26 +0200 (EET) (envelope-from oleg@opentransfer.com) Received: (from oleg@localhost) by asus.theweb.org.ua (8.15.2/8.15.2/Submit) id v18KVPjd034460; Wed, 8 Feb 2017 22:31:25 +0200 (EET) (envelope-from oleg@opentransfer.com) X-Authentication-Warning: asus.theweb.org.ua: oleg set sender to oleg@opentransfer.com using -f From: "Oleg V. Nauman" To: cem@freebsd.org Cc: freebsd-current , dchagin@freebsd.org Subject: Re: 'Protocol not supported' on linux socket call ( r313313 amd64 ) Date: Wed, 08 Feb 2017 22:31:25 +0200 Message-ID: <3672530.AN0bPEA49V@asus.theweb.org.ua> Organization: Ecommerce LLC User-Agent: KMail/4.14.10 (FreeBSD/12.0-CURRENT; KDE/4.14.10; amd64; ; ) In-Reply-To: References: <2628207.fWzAjJv2TV@asus.theweb.org.ua> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 20:31:33 -0000 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) \ ^ :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 \ ^ :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 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@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"