http://bugs.winehq.org/show_bug.cgi?id=18925
Summary: OS X build broken Product: Wine Version: unspecified Platform: PC OS/Version: Mac OS X 10.5 Status: NEW Keywords: regression, source Severity: blocker Priority: P2 Component: build-env AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com CC: julliard@winehq.org
../../tools/winegcc/winegcc -m32 -B../../tools/winebuild --sysroot=../.. -shared ./riched20.spec caret.o clipboard.o context.o editor.o list.o paint.o para.o reader.o richole.o row.o run.o string.o style.o table.o txthost.o txtsrv.o undo.o wrap.o writer.o version.res -o riched20.dll.so -luuid -lole32 -loleaut32 -limm32 -luser32 -lgdi32 -lkernel32 ../../libs/port/libwine_port.a -L/Users/austin/wine-deps/usr/lib ld: absolute addressing (perhaps -mdynamic-no-pic) used in _itextHostStdcallVtbl from txthost.o not allowed in slidable image collect2: ld returned 1 exit status winegcc: gcc failed make[2]: *** [riched20.dll.so] Error 2 make[1]: *** [riched20] Error 2 make: *** [dlls] Error 2
Regression caused by: configure: Detect the appropriate form for the __ASM_GLOBAL_FUNC macro. http://source.winehq.org/git/wine.git/?a=commitdiff;h=857f1e0924f23865038a60...
Build script is: #!/bin/sh
export BUILDDIRECTORY=$HOME/wine-deps
export CPPFLAGS="-I$BUILDDIRECTORY/usr/include -I$BUILDDIRECTORY/usr/include/libxml2 -I$BUILDDIRECTORY/usr/include/libxslt -I$BUILDDIRECTORY/usr/include/libpng12 -I$BUILDDIRECTORY/usr/include/gphoto2 -I$BUILDDIRECTORY/usr/include/sane" export CFLAGS="-I$BUILDDIRECTORY/usr/include" export LDFLAGS="-L$BUILDDIRECTORY/usr/lib" export PATH=$PATH:"$BUILDDIRECTORY/usr/bin" export PKG_CONFIG_PATH="$BUILDDIRECTORY/usr/lib/pkgconfig"
export CONFIGUREFLAGS='--without-hal --without-gnutls --without-capi'
./configure $CONFIGUREFLAGS && make depend && make && exit
http://bugs.winehq.org/show_bug.cgi?id=18925
--- Comment #1 from Alexandre Julliard julliard@winehq.org 2009-06-13 04:01:39 --- It's probably the fact that the previous version was wrapped in a function, but I don't see why that would make a difference, and I can't reproduce this here.
Does this happen for other files using __ASM_GLOBAL_FUNC too or is it the only one in the tree?
Please generate the asm output for txthost.c with gcc -S with and without the patch and look for differences.
http://bugs.winehq.org/show_bug.cgi?id=18925
--- Comment #2 from Alexandre Julliard julliard@winehq.org 2009-06-13 04:53:41 --- Created an attachment (id=21769) --> (http://bugs.winehq.org/attachment.cgi?id=21769) Move vtbl definition
Does this make a difference?
http://bugs.winehq.org/show_bug.cgi?id=18925
--- Comment #3 from Austin English austinenglish@gmail.com 2009-06-13 05:14:04 --- (In reply to comment #1)
Does this happen for other files using __ASM_GLOBAL_FUNC too or is it the only one in the tree?
This is the only file.
Please generate the asm output for txthost.c with gcc -S with and without the patch and look for differences.
Didn't see anything different..
(In reply to comment #2)
Created an attachment (id=21769)
--> (http://bugs.winehq.org/attachment.cgi?id=21769) [details]
Move vtbl definition
Does this make a difference?
Yep, works great!
http://bugs.winehq.org/show_bug.cgi?id=18925
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #4 from Austin English austinenglish@gmail.com 2009-06-16 11:41:11 --- Fixed by http://source.winehq.org/git/wine.git/?a=commitdiff;h=3fe51326cd84dafc7f5073...
http://bugs.winehq.org/show_bug.cgi?id=18925
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2009-06-19 11:10:28 --- Closing bugs fixed in 1.1.24.
http://bugs.winehq.org/show_bug.cgi?id=18925
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Mac OS X 10.5 |Mac OS X