[Bug 18925] New: OS X build broken
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(a)winehq.org ReportedBy: austinenglish(a)gmail.com CC: julliard(a)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 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18925 --- Comment #1 from Alexandre Julliard <julliard(a)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. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18925 --- Comment #2 from Alexandre Julliard <julliard(a)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? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18925 --- Comment #3 from Austin English <austinenglish(a)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! -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18925 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from Austin English <austinenglish(a)gmail.com> 2009-06-16 11:41:11 --- Fixed by http://source.winehq.org/git/wine.git/?a=commitdiff;h=3fe51326cd84dafc7f5073... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18925 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Alexandre Julliard <julliard(a)winehq.org> 2009-06-19 11:10:28 --- Closing bugs fixed in 1.1.24. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18925 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Mac OS X 10.5 |Mac OS X -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org