Date: Tue, 22 Apr 2014 19:25:54 -0700 From: "Eric L. Camachat" <eric.camachat@gmail.com> To: Ivan Klymenko <fidaj@ukr.net>, Volodymyr Kostyrko <c.kworr@gmail.com> Cc: x11@FreeBSD.org Subject: Re: [CFT] x11-servers/xorg-server with initial (GCD) Grand Central Dispatch support Message-ID: <535724B2.2000304@gmail.com> In-Reply-To: <20140422154612.6771e487@nonamehost.local> References: <20140420200534.72226779@nonamehost.local> <53564D07.7060100@b1t.name> <20140422145044.23b5bc6c@nonamehost.local> <535660C5.70308@b1t.name> <20140422154612.6771e487@nonamehost.local>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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 <c.kworr@gmail.com> пишет: > >> 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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?535724B2.2000304>