From owner-freebsd-x11@FreeBSD.ORG Wed Apr 23 02:25:59 2014 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 17CE4697 for ; Wed, 23 Apr 2014 02:25:59 +0000 (UTC) Received: from mail-pa0-x233.google.com (mail-pa0-x233.google.com [IPv6:2607:f8b0:400e:c03::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DDBBA1AF1 for ; Wed, 23 Apr 2014 02:25:58 +0000 (UTC) Received: by mail-pa0-f51.google.com with SMTP id kl14so254708pab.38 for ; Tue, 22 Apr 2014 19:25:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=3fQ7tG6uVluPUP4+LvenPMd3VpPyArVOfPhrDNgvw8M=; b=rfXCCBxFdzwOiWQiw+l/CclXyOstaepNxzE8FO2MIp2PmdApfTUFzHw07VOUtdCuZg Lt4rVxbcZiBG38VqvGVS1SJdwMwyPA1jXbaNzDTAtc7UHMKw0Ya/GX3CGxEMbxH2aezC eBQwn/mzduplee/3NKy3byynR3r/oKCF0Rfigyk+UeVj7jQalIMHh3Lg9/+0wm5TeyR6 pHyTXClDcgfg4DnqIEQV3rxoJjkl6450V0jEUdZO4a143V9CIuwyMuvi1UUGAyeRPG4Q yzR0P9bQrJVNU8e6pM2hP5Vu3oWAXzEMyR+Rq/TuhdKSYB1m0FP+551yyMwqFrCaVX6d jzag== X-Received: by 10.68.240.5 with SMTP id vw5mr19766635pbc.113.1398219958485; Tue, 22 Apr 2014 19:25:58 -0700 (PDT) Received: from ?IPv6:2601:9:4700:17f1:a288:b4ff:fec2:e5d0? ([2601:9:4700:17f1:a288:b4ff:fec2:e5d0]) by mx.google.com with ESMTPSA id ff4sm209877695pad.24.2014.04.22.19.25.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Apr 2014 19:25:57 -0700 (PDT) Message-ID: <535724B2.2000304@gmail.com> Date: Tue, 22 Apr 2014 19:25:54 -0700 From: "Eric L. Camachat" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Ivan Klymenko , Volodymyr Kostyrko Subject: Re: [CFT] x11-servers/xorg-server with initial (GCD) Grand Central Dispatch support References: <20140420200534.72226779@nonamehost.local> <53564D07.7060100@b1t.name> <20140422145044.23b5bc6c@nonamehost.local> <535660C5.70308@b1t.name> <20140422154612.6771e487@nonamehost.local> In-Reply-To: <20140422154612.6771e487@nonamehost.local> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: x11@FreeBSD.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2014 02:25:59 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 04/22/2014 05:46, Ivan Klymenko wrote: > В Tue, 22 Apr 2014 15:29:57 +0300 > Volodymyr Kostyrko пишет: > >> 22.04.2014 14:50, Ivan Klymenko wrote: >>>>> Hi all. >>>>> >>>>> You are tired of frequent friezes xorg server? >>>>> Are you bored messages in /var/log/Xorg.0.log: >>>>> " >>>>> .... >>>>> [mi] EQ overflowing. Additional events will be discarded until >>>>> existing events are processed. .... >>>>> " >>>>> ? >>>>> >>>>> :) >>>>> >>>>> Then you here! :) >>>>> >>>>> Patch attached :) >>>> >>>> I have some problems with linking: >>>> >>>> CCLD Xorg >>>> /usr/bin/ld: ~: invalid DSO for symbol `_NSConcreteGlobalBlock' >>>> definition /usr/lib/libBlocksRuntime.so.0: could not read symbols: >>>> Bad value cc: error: linker command failed with exit code 1 (use -v >>>> to see invocation) >>>> >>>> # uname -a >>>> FreeBSD ar1l0u.maxima.local 10.0-STABLE FreeBSD 10.0-STABLE #11 >>>> r264642M: Fri Apr 18 12:14:59 EEST 2014 >>>> arcade@ar1l0u.maxima.local:/usr/obj/usr/src/sys/MINIMAL amd64 >>>> >>>> # cc -v >>>> FreeBSD clang version 3.4 (tags/RELEASE_34/final 197956) 20140216 >>>> Target: x86_64-unknown-freebsd10.0 >>>> Thread model: posix >>>> Selected GCC installation: >>>> >>> >>> Cadets I realized what the problem is you need to rebuild >>> devel/libdispatch with option "[x] CLANG Build with LLVM/Clang >>> (required for blocks support)" >> >> As per Makefile it utilizes devel/compiler-rt for systems older then >> 900024 and uses system compiler-rt library otherwise. No changes >> though. >> >> Bundled compiler-rt looks newer (at least r172839 MFC'd at r229413) >> then port version (r131639). >> >> Full build logs here: http://www.b1t.name/xorg.gcd.build.log >> > > 1. show me, please, /etc/make.conf > 2. show me ldd /usr/local/lib/libdispatch.so.0 I saw the same problem here is my ldd /usr/local/lib/libdispatch.so.0 and /etc/make.conf for you reference. root@ketagalan:~ # uname -a FreeBSD ketagalan 10.0-STABLE FreeBSD 10.0-STABLE #1 r264740: Mon Apr 21 13:05:22 PDT 2014 root@ketagalan:/usr/obj/usr/src/sys/KETAGALAN amd64 root@ketagalan:~ # ldd /usr/local/lib/libdispatch.so.0 /usr/local/lib/libdispatch.so.0: libBlocksRuntime.so.0 => /usr/lib/libBlocksRuntime.so.0 (0x801612000) libthr.so.3 => /lib/libthr.so.3 (0x801815000) libc.so.7 => /lib/libc.so.7 (0x80081b000) root@ketagalan:~ # cat /etc/make.conf CPUTYPE?=corei7-avx CFLAGS=-Os -pipe SSP_CFLAGS=-fstack-protector-all #DEBUG_FLAGS=-g MALLOC_PRODUCTION=yes WITH_PKGNG=yes WITH_SSP=yes #BATCH=yes .if ${.CURDIR:M/usr/ports/*} #WITH_DEBUG=yes #WRKDIRPREFIX=/usr/obj #OPTIONS_UNSET=NLS DOCS QT4_OPTIONS=CUPS QGTKSTYLE DEFAULT_VERSIONS= perl5=5.18 ruby=2.1 tcltk=8.6 apache=2.2 WITH_BDB_VER=5 OPTIONS_SET=CLANG VAAPI KMS IPV6 GL XCB CUPS OSS PULSEAUDIO CJK LCD_FILTERING GSTREAMER1 WITH=CLANG VAAPI KMS IPV6 GL XCB CUPS OSS PULSEAUDIO CJK LCD_FILTERING GSTREAMER1 #WITHOUT= If they are global options set in your make.conf, you should replace them with: NO_WERROR=yes NO_PROFILE=yes #NOPORTEXAMPLES=yes #NOPORTDOCS=yes WITHOUT_PERL=yes .if ${.CURDIR:M*/usr/ports/lang/python*} WITHOUT_NIS=yes .elif ${.CURDIR:M*/usr/ports/graphics/clutter-gtk*} || \ ${.CURDIR:M*/usr/ports/graphics/libchamplain*} CFLAGS += -DG_CONST_RETURN=const .endif .endif -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iF4EAREIAAYFAlNXJLIACgkQSfBQu3oOwYwXugD7BUBg+MbPiJ2BrEBUUGc0Kb1v qvT9d70JrgvA8ecc4J8BAIlyXOSpoU41rN1Ft+m3mSZLtA7EFgP0H0FjifyQNnHo =h4Mk -----END PGP SIGNATURE-----