Using a recent 4.0 snapshot here's where gnash building stops (invalid inline asm): OpenBSD gamma.echo-net.net 4.0 GENERIC#0 amd64
Making all in libamf gmake[2]: Entering directory `/usr/ports/www/gnash/w-gnash-20060919/gnash-20060919/libamf' if /usr/local/bin/libtool --tag=disable-static --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../server -I../libbase -I/usr/local/include/libxml2 -I/usr/local/include -DQT_THREAD_SUPPORT -I/usr/local/include -O2 -pipe -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -I/usr/local/include/SDL -I.. -I. -I../server -I../libbase -I/usr/local/include/libxml2 -I/usr/local/include -O2 -pipe -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT amf.lo -MD -MP -MF ".deps/amf.Tpo" -c -o amf.lo amf.cpp; \ then mv -f ".deps/amf.Tpo" ".deps/amf.Plo"; else rm -f ".deps/amf.Tpo"; exit 1; fi c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../server -I../libbase -I/usr/local/include/libxml2 -I/usr/local/include -DQT_THREAD_SUPPORT -I/usr/local/include -O2 -pipe -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -I/usr/local/include/SDL -I.. -I. -I../server -I../libbase -I/usr/local/include/libxml2 -I/usr/local/include -O2 -pipe -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT amf.lo -MD -MP -MF .deps/amf.Tpo -c amf.cpp -fPIC -DPIC -o .libs/amf.o amf.cpp: In member function `void* amf::AMF::encodeElement(amf::AMF::astype_e, void*, int)': amf.cpp:311: warning: `int pktsize' might be used uninitialized in this function /usr/include/g++/amd64-unknown-openbsd4.0/bits/atomicity.h: In member function `int amf::AMF::parseBody(unsigned char*, int)': /usr/include/g++/amd64-unknown-openbsd4.0/bits/atomicity.h:40: error: inconsistent operand constraints in an `asm' gmake[2]: *** [amf.lo] Error 1 gmake[2]: Leaving directory `/usr/ports/www/gnash/w-gnash-20060919/gnash-20060919/libamf' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/www/gnash/w-gnash-20060919/gnash-20060919' gmake: *** [all] Error 2