Hello,

it seems that this change:

http://lists.gnu.org/archive/html/qemu-devel/2007-04/msg00023.html

breaks linking in Mac OS X (PPC in my case):

/usr/bin/ld: warning multiple definitions of symbol _ldexpl$LDBL128
libqemu.a(softfloat-native.o) definition of _ldexpl$LDBL128 in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libmx.dylib(single module) definition of _ldexpl$LDBL128
/usr/bin/ld: warning multiple definitions of symbol _llrintl$LDBL128
libqemu.a(softfloat-native.o) definition of _llrintl$LDBL128 in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libmx.dylib(single module) definition of _llrintl$LDBL128
/usr/bin/ld: warning multiple definitions of symbol _lrintl$LDBL128
libqemu.a(softfloat-native.o) definition of _lrintl$LDBL128 in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libmx.dylib(single module) definition of _lrintl$LDBL128


The attached patch works for me.


Kind regards,

Jo


--
Joachim Henke
http://base91.sourceforge.net/j-o/

Attachment: softfloat.diff
Description: Binary data



Reply via email to