[Webkit-unassigned] [Bug 33451] error: 'asm' operand requires impossible reload" on OpenBSD/macppc/g++ 4.2.4

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 30 13:40:02 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=33451





--- Comment #10 from Landry Breuil <landry at openbsd.org>  2012-03-30 13:40:02 PST ---
I've digged a bit more  while updating to 1.8.l0, and that patch is still needed for OpenBSD/ppc. With pristine source (ie =o asm codepath) i get :

Source/JavaScriptCore/wtf/TCSpinLock.h:113: error: 'asm' operand requires impossible reload

Note that line 113 is on 'memory' line, not 'lockword'...

I've searched history (esp https://bugs.webkit.org/show_bug.cgi?id=14521 and https://bugs.webkit.org/show_bug.cgi?id=17449) and i've tried making it take the other codepath (ie  : "=m" (lockword_) ) and it failed with more vomit:

c++ -DHAVE_CONFIG_H -I. -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DENABLE_GLIB_SUPPORT=1 -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1 -DWTF_CHANGES -DXP_UNIX -DWTF_USE_ICU_UNICODE=1 -DWTF_USE_GSTREAMER=1 -DGTK_API_VERSION_2=1 -DNDEBUG -I./Source -I./Source/JavaScriptCore -I./Source/JavaScriptCore/API -I./Source/JavaScriptCore/assembler -I./Source/JavaScriptCore/bytecode -I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/dfg -I./Source/JavaScriptCore/heap -I./Source/JavaScriptCore/debugger -I./Source/JavaScriptCore/ForwardingHeaders -I./Source/JavaScriptCore/interpreter
 -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime -I./Source/JavaScriptCore/tools -I./Source/JavaScriptCore/wtf -I./Source/JavaScriptCore/wtf
 -I./Source/JavaScriptCore/wtf/gobject -I./Source/JavaScriptCore/wtf/gtk -I./Source/JavaScriptCore/wtf/text -I./Source/JavaScriptCore/wtf/unicode -I./Source/JavaScriptCore/yarr -I./DerivedSources/JavaScriptCore -I./Source/WTF -I/usr/local/include/libpng 
-I/usr/local/include -I/usr/X11R6/include -fno-rtti -fstrict-aliasing -O3 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_REENTRANT -I/usr/local/include -O2 -pipe -Wall -MT Source/JavaScriptCore/wtf/libjav
ascriptcoregtk_1_0_la-FastMalloc.lo -MD -MP -MF Source/JavaScriptCore/wtf/.deps/libjavascriptcoregtk_1_0_la-FastMalloc.Tpo -c Source/JavaScriptCore/wtf/FastMalloc.cpp -fPIC -DPIC -o Source/JavaScriptCore/wtf/.libs/libjavascriptcoregtk_1_0_la-FastMalloc.o
In file included from /usr/include/g++/iosfwd:45,
                 from /usr/include/g++/bits/stl_algobase.h:70,
                 from /usr/include/g++/algorithm:65,
                 from Source/JavaScriptCore/wtf/FastMalloc.cpp:422:
/usr/include/g++/powerpc-unknown-openbsd5.1/bits/c++locale.h: In function 'int std::__convert_from_v(int* const&, char*, int, c
onst char*, ...)':
/usr/include/g++/powerpc-unknown-openbsd5.1/bits/c++locale.h:81: warning: function might be possible candidate for 'printf' for
mat attribute
{standard input}: Assembler messages:
{standard input}:1561: Error: syntax error; found `,' but expected `('
{standard input}:1561: Error: junk at end of line: `,24'
{standard input}:1578: Error: syntax error; found `,' but expected `('
{standard input}:1578: Error: junk at end of line: `,22'
{standard input}:1607: Error: syntax error; found `,' but expected `('
{standard input}:1607: Error: junk at end of line: `,24'
{standard input}:5280: Error: syntax error; found `,' but expected `('
{standard input}:5280: Error: junk at end of line: `,11'

So it seems either way i still need to use the portable version..

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list