AJ, looks like your 'configure: Detect the appropriate form for the __ASM_GLOBAL_FUNC macro.' patch broke the compile on OS X. Could you have a look?
gcc -m32 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -I/Users/austin/wine-deps/usr/include -I/Users/austin/wine-deps/usr/include/libxml2 -I/Users/austin/wine-deps/usr/include/libxslt -I/Users/austin/wine-deps/usr/include/libpng12 -I/Users/austin/wine-deps/usr/include/gphoto2 -I/Users/austin/wine-deps/usr/include/sane -I/Users/austin/wine-deps/usr/include -o writer.o writer.c ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -foversion.res version.rc ../../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
On Thu, Jun 11, 2009 at 11:39 PM, Austin Englishaustinenglish@gmail.com wrote:
AJ, looks like your 'configure: Detect the appropriate form for the __ASM_GLOBAL_FUNC macro.' patch broke the compile on OS X. Could you have a look?
Bah you beat me reporting this by 13mins!
:P
Austin English austinenglish@gmail.com writes:
AJ, looks like your 'configure: Detect the appropriate form for the __ASM_GLOBAL_FUNC macro.' patch broke the compile on OS X. Could you have a look?
It works fine here. What does your __ASM_GLOBAL_FUNC macro look like in include/config.h?
On Fri, Jun 12, 2009 at 4:12 AM, Alexandre Julliardjulliard@winehq.org wrote:
Austin English austinenglish@gmail.com writes:
AJ, looks like your 'configure: Detect the appropriate form for the __ASM_GLOBAL_FUNC macro.' patch broke the compile on OS X. Could you have a look?
It works fine here. What does your __ASM_GLOBAL_FUNC macro look like in include/config.h?
This is what I have,
/* Define to a macro to generate an assembly function */ #define __ASM_GLOBAL_FUNC(name,code) asm(".text\n\t.align 4\n\t.globl _" #name " \n\t\n_" #name ":\n\t" code "");
On Thu, Jun 11, 2009 at 10:39 PM, Austin Englishaustinenglish@gmail.com wrote:
AJ, looks like your 'configure: Detect the appropriate form for the __ASM_GLOBAL_FUNC macro.' patch broke the compile on OS X. Could you have a look?
gcc -m32 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -I/Users/austin/wine-deps/usr/include -I/Users/austin/wine-deps/usr/include/libxml2 -I/Users/austin/wine-deps/usr/include/libxslt -I/Users/austin/wine-deps/usr/include/libpng12 -I/Users/austin/wine-deps/usr/include/gphoto2 -I/Users/austin/wine-deps/usr/include/sane -I/Users/austin/wine-deps/usr/include -o writer.o writer.c ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -foversion.res version.rc ../../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
-- -Austin
And actually, I'm getting a compiler error on my work machine: austin@SERVER1:~/wine-git/dlls/kernel32$ make gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_KERNEL32_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -o ne_module.o ne_module.c ne_module.c:2214: error: expected ‘)’ before string constant make: *** [ne_module.o] Error 1
austin@SERVER1:~/wine-git/dlls/kernel32$ gcc -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
On Fri, Jun 12, 2009 at 12:03 PM, Austin Englishaustinenglish@gmail.com wrote:
And actually, I'm getting a compiler error on my work machine: austin@SERVER1:~/wine-git/dlls/kernel32$ make gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_KERNEL32_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -o ne_module.o ne_module.c ne_module.c:2214: error: expected ‘)’ before string constant make: *** [ne_module.o] Error 1
Cancel that, looks like cruft in my tree...Sorry for the noise.
Filed http://bugs.winehq.org/show_bug.cgi?id=18925 for the OS X build regression.