Re: [kde-freebsd] Clang 3.2 causes a machine code error on qt4-webkit build
On Tue, 12 Feb 2013 16:36:48 +0900 RyōTa SimaMoto wrote: > Clang 3.2 causes a machine code error on qt4-webkit build > > Hi, > Compilation a C++ file of www/qt4-webkit fails with an error of "Bad > machine code". This happens on the base llvm/clang (3.2 of 9-STABLE). > I do not know whether it is an bug or not, and where it comes from. > > Two months ago, qt4-webkit-4.8.4 can be built successfully by Clang 3.1. > Now I tried it again with the upgraded version (3.2), it stops with a > fatal error message as following (wrapped snippet) during creation of a > object file from the source file > src/3rdparty/webkit/Source/WebCore/html/parser/HTMLScriptRunner.cpp: > > # Machine code for function > _ZN3WTF5DequeIN7WebCore13PendingScriptELj0EE14expand > CapacityEv: Post SSA > Frame Objects: > fi#-1: size=4, align=4, fixed, at location [SP+4] > > BB#0: derived from LLVM BB %entry > %vreg185 = MOVPC32r 0, %ESP; GR32:%vreg185 > %vreg77 = COPY %vreg185; GR32_NOSP:%vreg77 GR32:%vreg185 > Snip a long sequence of machine codes. > Full log (784 lines) is in the attached archive file > BB#61: derived from LLVM BB %unwind_resume > Predecessors according to CFG: BB#17 BB#32 BB#54 > %vreg70 = COPY %vreg198; GR32:%vreg70,%vreg198 > ADJCALLSTACKDOWN32 4, %ESP, %EFLAGS, > %ESP > %vreg178 = COPY %ESP; GR32:%vreg178 > MOV32mr %vreg178, 1, %noreg, 0, %noreg, %vreg70; \ > mem:ST4[Stack] GR32:%vreg178,%vreg70 > %EBX = COPY %vreg77; GR32_NOSP:%vreg77 > CALLpcrel32 [TF=6], , %ESP, \ > %EBX, %ESP > ADJCALLSTACKUP32 4, 0, %ESP, %EFLAGS, > %ESP > > *** Bad machine code: Using an undefined physical register *** > - function: > _ZN3WTF5DequeIN7WebCore13PendingScriptELj0EE14expandCapacityEv > - basic block: BB#46 lpad7.i.i (0x2bc8a320) > - instruction: %vreg157 = COPY %EAX; GR32:%vreg157 > - operand 1: %EAX > fatal error: error in backend: Found 1 machine code errors. > > This can be reporduced in four steps: > $ cd /usr/ports/www/qt4-webkit > $ make configure > $ cd work/qt-everywhere-opensource-src-4.8.4/src/3rdparty/webkit/Source > $ gmake .obj/release-static/HTMLScriptRunner.o > > // I did a workaround as borrowing the same object file from another build > tree > // that was configured with qt4/mkspecs/freebsd-g++. src/3rdparty/webkit/Source/.obj/release-static/HTMLScriptRunner.o is not a make target (on the config created by ports). The error you are getting is likely a bug in clang, compiler-rt, or somewhere else in the clang world. Please file a bug report on this. Alonso ___ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information
[kde-freebsd] Current problem reports assigned to k...@freebsd.org
Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description o ports/176046 kdedeskutils/kdepim44 - kalarm crashed when trying to cre o ports/174728 kdeLet textproc/soprano know about different odbc f ports/173771 kdeCONFLICTS_BUILD for deskutils/superkaramba s ports/173770 kdeCorrect CONFLICTS_BUILD for editors/calligra f ports/172359 kde[PATCH] editors/calligra: Fix build with clang++ -stdl f ports/169671 kdeeditors/calligra Spreadsheet throws and exception on e s ports/169348 kdeUnable to build: "devel/kdebindings4-ruby-korundum" f ports/165642 kdex11/kde4: keeps locking the screen. o ports/165213 kdedevel/cmake: Reinplacement of paths in Modules is bad o ports/156901 kde[patch] devel/cmake breaks with CC containing spaces f ports/151154 kdeaudio/amarok-kde4 crashes on network activity if ports 11 problems total. ___ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information
Re: [kde-freebsd] Trouble with kleopatra
On Sat, 16 Feb 2013 23:39:29 -0500 Andre Goree wrote: > Also posting this to questions as it's regarding the building of a port > and possibly modifying a makefile. > > So I'm having trouble getting Kleopatra to work correctly on my > 8.3-STABLE/kde4.9.5 system. There are a three errors posted, the first > of which is my main concern. Please see this [1] screenshot. > > Now, I've built gpgme w/GNUPG2 support, which -- as far as I can tell -- > should also enable gpgsm by the looks of this section of the Makefile: It will, but you need to build security/gnupg with GPGSM option first. > .if ${PORT_OPTIONS:MGNUPG2} > BUILD_DEPENDS+= gpg2:${PORTSDIR}/security/gnupg > RUN_DEPENDS+= gpg2:${PORTSDIR}/security/gnupg > CONFIGURE_ARGS+=--with-gpg=${LOCALBASE}/bin/gpg2 \ > --with-gpgconf=${LOCALBASE}/bin/gpgconf > .if exists(${LOCALBASE}/bin/gpgsm) > CONFIGURE_ARGS+=--with-gpgsm=${LOCALBASE}/bin/gpgsm > .else > CONFIGURE_ARGS+=--with-gpgsm=no > .endif > .endif > > So I can't understand why I'm receiving the error "A problem was > detected with the gpgsm backend. It seems that the gpgme library was > compiled without support for this backend...Replace the gpgme library > with a version compiled with gpgsm support." > > Can/should I explicitly enable gpgsm by editing the Makefile? The > binary doesn't appear to be generated after compiling the port: > [agoree@desktop agoree]$ ll /usr/local/bin/gpgsm > ls: /usr/local/bin/gpgsm: No such file or directory > > Though, there is "/usr/local/bin/gpgsm-gencert.sh" > > Just looking to be pointed in the right direction here, thanks everyone. > The other errors we'll deal with if I cannot figure it out on my own :) > > [1]http://drenet.net/images/snapshot2.png > > > > EDIT: Just realized that section of the Makefile does NOT install > gpgsm, it only enables gpgsm support if it already currently exists. > Should I [somehow] build gpgsm from source (if possible), then retry > building gpgme? Toeing a 'psearch gpgsm' returns no results, even with > '-s' option, so I'm assuming this is my only recourse to get gpgsm > installed... ___ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information
Re: [kde-freebsd] Clang 3.2 causes a machine code error on qt4-webkit build
Re: Clang 3.2 causes a machine code error on qt4-webkit build Schaich Alonso wrote at 2013-02-18 17:14+0900: > src/3rdparty/webkit/Source/.obj/release-static/HTMLScriptRunner.o > is not a make target (on the config created by ports). I am sorry for wrong instruction about reproducing this error. The correct procedure to get the same result on my setup is like this: $ cd /usr/ports/www/qt4-webkit $ make configure $ cd work/qt-everywhere-opensource-src-4.8.4/src/3rdparty/webkit/Source/WebCore $ gmake .obj/release-static/HTMLScriptRunner.o Would you mind to run that test again to see if you could bump aginst this error? I am warrying that this error might be caused by my unusual settings of CONFIGURE_ARGS on Mk/bsd.qt.mk like as -no-3dnow for disabling several cpu features to avoid assertion errors of Clang, because my old machine does not support 3DNOW, SSE, SSE2, SSE3, SSSE3, SSE4_1, and SSE4_2, > The error you are getting is likely a bug in clang, compiler-rt, or somewhere > else in the clang world. Please file a bug report on this. Thank you for nice advice. ___ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information