[Bug 46695] Linking atl fails on ppc64el with undefined reference to SetWindowLongPtrW

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Feb 22 04:07:08 CST 2019


https://bugs.winehq.org/show_bug.cgi?id=46695

--- Comment #1 from Timothy Pearson <tpearson at raptorengineering.com> ---
Digging further, the user32 DLL exports the missing symbols, but atl is being
built before user32.  Is wine supposed to be using lazy linking here, or is
something else obviously amiss?

Output from build:

../../tools/winegcc/winegcc -o atl.dll.so -B../../tools/winebuild
-fasynchronous-unwind-tables -shared atl.spec \
  atl.o atl30.o atl_ax.o registrar.o atl_classes_r.res atl_lib_t.res
atl_lib_r.res \
  ../../dlls/uuid/libuuid.a -loleaut32 -lole32 -luser32 -lgdi32 -ladvapi32
-lshlwapi \
  ../../libs/port/libwine_port.a
/usr/bin/ld: atl_ax.o: in function `IOCS_Detach':
/root/WINE_GIT/wine/dlls/atl/atl_ax.c:155: undefined reference to
`SetWindowLongPtrW'
/usr/bin/ld: atl_ax.o: in function `IOCS_Create':
/root/WINE_GIT/wine/dlls/atl/atl_ax.c:920: undefined reference to
`SetWindowLongPtrW'
/usr/bin/ld: atl.dll.so: hidden symbol `SetWindowLongPtrW' isn't defined
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
winegcc: gcc failed

-- 
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.



More information about the wine-bugs mailing list