Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

flashplugin

0 views
Skip to first unread message

Jeroen Ruigrok/Asmodai

unread,
Nov 20, 1999, 3:00:00 AM11/20/99
to
Just to inform you,

www/flashplugin dies under CURRENT's gcc 2.95.2 with:

===> Building for flashplugin-0.4.3
c++ -O2 -pipe -I/usr/X11R6/include -I./Lib -I./Plugin -fpic -fno-rtti
-DXP_UNIX -O2 -DCHECK_TEXT_PLAIN -c ./Lib/bitmap.cc
{standard input}: Assembler messages:
{standard input}:1211: Error: no such 386 instruction: `fild'
*** Error code 1

Does not matter if I use -O or -O2 happens on both.

Funy thing is I tried grepping in the sources for fild but couldn't find
it.

Ideas are welcome to solve this since I am a little in the dark now.

--
Jeroen Ruigrok van der Werven/Asmodai asmodai(at)wxs.nl
The BSD Programmer's Documentation Project <http://home.wxs.nl/~asmodai>
Network/Security Specialist BSD: Technical excellence at its best
Learn e-mail netiquette: http://www.lemis.com/email.html
By thy words thou shalt be condemned...


To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message

David O'Brien

unread,
Nov 22, 1999, 3:00:00 AM11/22/99
to
On Mon, Nov 22, 1999 at 12:40:19AM +0900, Motoyuki Konno wrote:
> Gcc 2.95.2 output asmcodes which contain 'fild' opcode, but
> /usr/libexec/aout/as (a.out version of as) does not support 'fild'.

Please try this diff:

Index: i386.h
===================================================================
RCS file: /home/ncvs/src/gnu/usr.bin/as/opcode/i386.h,v
retrieving revision 1.10
diff -u -r1.10 i386.h
--- i386.h 1999/08/27 23:34:33 1.10
+++ i386.h 1999/11/22 20:40:41
@@ -468,12 +468,13 @@
/* load */
{"fld", 1, 0xd9c0, _, ShortForm, FloatReg, 0, 0}, /* register */
{"flds", 1, 0xd9, 0, Modrm, Mem, 0, 0}, /* %st0 <-- mem float */
-{"fildl", 1, 0xdb, 0, Modrm, Mem, 0, 0}, /* %st0 <-- mem word */
{"fldl", 1, 0xdd, 0, Modrm, Mem, 0, 0}, /* %st0 <-- mem double */
{"fldl", 1, 0xd9c0, _, ShortForm, FloatReg, 0, 0}, /* register */
+{"fild", 1, 0xdf, 0, Modrm, Mem, 0, 0}, /* %st0 <-- mem word (16) */
+{"fildl", 1, 0xdb, 0, Modrm, Mem, 0, 0}, /* %st0 <-- mem word */
{"filds", 1, 0xdf, 0, Modrm, Mem, 0, 0}, /* %st0 <-- mem dword */
-{"fildll", 1, 0xdf, 5, Modrm, Mem, 0, 0}, /* %st0 <-- mem qword */
{"fildq", 1, 0xdf, 5, Modrm, Mem, 0, 0}, /* %st0 <-- mem qword */
+{"fildll", 1, 0xdf, 5, Modrm, Mem, 0, 0}, /* %st0 <-- mem qword */
{"fldt", 1, 0xdb, 5, Modrm, Mem, 0, 0}, /* %st0 <-- mem efloat */
{"fbld", 1, 0xdf, 4, Modrm, Mem, 0, 0}, /* %st0 <-- mem bcd */

Jeroen Ruigrok/Asmodai

unread,
Nov 22, 1999, 3:00:00 AM11/22/99
to
-On [19991122 22:07], David O'Brien (obr...@freebsd.org) wrote:
>On Mon, Nov 22, 1999 at 12:40:19AM +0900, Motoyuki Konno wrote:
>> Gcc 2.95.2 output asmcodes which contain 'fild' opcode, but
>> /usr/libexec/aout/as (a.out version of as) does not support 'fild'.
>
>Please try this diff:

Compiles flashplugin for me.

Flash also works now.

But then when you try to load a page with flash it dies with:

/usr/libexec/ld.so: Undefined symbol "___get_eh_context" called from
navigator-4.7.bin:/usr/local/lib/netscape/plugins/libswf.so at
0x208c22b4

This happened both before and after the gcc upgrade and with navigator
4.6 and 4.7, native FreeBSD versions.

But that's probably not your problem David. =)

--
Jeroen Ruigrok van der Werven/Asmodai asmodai(at)wxs.nl
The BSD Programmer's Documentation Project <http://home.wxs.nl/~asmodai>
Network/Security Specialist BSD: Technical excellence at its best
Learn e-mail netiquette: http://www.lemis.com/email.html

Once sent from the Golden Hall...

0 new messages