Re: Building wine with profile generation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have the following:


Code:

./configure CFLAGS="-O2 -fprofile-generate" LDFLAGS="-fprofile-generate" --prefix=/home/ema/winepf



OK

Code:

make depend



OK

Code:

make -j2



OK - using dual core

Code:

gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -O2 -fprofile-generate  -o main.o main.c
../../tools/winegcc/winegcc  -B../../tools/winebuild -shared ./acledit.spec    main.o       -o acledit.dll.so  -lkernel32  ../../libs/port/libwine_port.a  -fprofile-generate 
main.o: In function `FMExtensionProcW':
main.c:(.text+0x49): undefined reference to `__gcov_indirect_call_profiler'
main.o: In function `DllMain':
main.c:(.text+0x114): undefined reference to `__gcov_indirect_call_profiler'
main.o: In function `global constructors keyed to 65535_0_main.c':
main.c:(.text+0x21c): undefined reference to `__gcov_init'
main.o:(.data.rel+0x24): undefined reference to `__gcov_merge_add'
../../dlls/winecrt0/libwinecrt0.a(dll_entry.o): In function `__wine_spec_dll_entry':
dll_entry.c:(.text+0x4e): undefined reference to `__gcov_indirect_call_profiler'
../../dlls/winecrt0/libwinecrt0.a(dll_entry.o): In function `global constructors keyed to 65535_0_dll_entry.c':
dll_entry.c:(.text+0x19c): undefined reference to `__gcov_init'
../../dlls/winecrt0/libwinecrt0.a(dll_entry.o):(.data.rel+0x24): undefined reference to `__gcov_merge_add'
../../dlls/winecrt0/libwinecrt0.a(init.o): In function `__wine_spec_init':
init.c:(.text+0x40): undefined reference to `__gcov_indirect_call_profiler'
../../dlls/winecrt0/libwinecrt0.a(init.o): In function `__wine_spec_init_ctor':
init.c:(.text+0xd0): undefined reference to `__gcov_indirect_call_profiler'
init.c:(.text+0x12c): undefined reference to `__gcov_indirect_call_profiler'
../../dlls/winecrt0/libwinecrt0.a(init.o): In function `global constructors keyed to 65535_0_init.c':
init.c:(.text+0x1ac): undefined reference to `__gcov_init'
../../dlls/winecrt0/libwinecrt0.a(init.o):(.data.rel+0x24): undefined reference to `__gcov_merge_add'
../../dlls/winecrt0/libwinecrt0.a(stub.o): In function `__wine_spec_unimplemented_stub':
stub.c:(.text+0x44): undefined reference to `__gcov_indirect_call_profiler'
../../dlls/winecrt0/libwinecrt0.a(stub.o): In function `global constructors keyed to 65535_0_stub.c':
stub.c:(.text+0xbc): undefined reference to `__gcov_init'
../../dlls/winecrt0/libwinecrt0.a(stub.o):(.data.rel+0x24): undefined reference to `__gcov_merge_add'
collect2: ld returned 1 exit status
winegcc: gcc failed
make[2]: *** [acledit.dll.so] Error 2
make[2]: Leaving directory `/home/ema/wine-git/dlls/acledit'
make[1]: *** [acledit/__install__] Error 2
make[1]: Leaving directory `/home/ema/wine-git/dlls'
make: *** [dlls/__install__] Error 2



Failed

Anyone knows why?
Cheers,






[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux