wine built with -g requires latest (20111012) prelink version when gcc >
4.5 so I suspect most or all of overlay problems on modern wine are
caused by that (see #30862). That also explains why new gcc doesn't
always cause problems and why any changes to CFLAGS (as long as they
drop -g) may fix the problem. Note that at least Debian and Ubuntu don't
have the new prelink and use -g by default.

There are two things to check:

1) The build logs will contain prelink errors after winegcc link
commands for kernel32.dll.so and/or ntdll.dll.so such as "prelink:
kernel32.dll.so: Unknown DWARF DW_AT_8465 with block DW_FORM"

2) The binaries (kernel32.dll.so and/or ntdll.dll.so) when examined with
objdump -h will have usual 0x00000000-based addresses in VMA fields for
their sections, instead of 0x7b800000- and 0x7bc00000-based
respectively.

Of course if the prelink version used is old and binaries were built
with -g there is nothing else to check, the reason is obvious.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/900901

Title:
  Steam overlay does not work due to GCC-4.6 issues

To manage notifications about this bug go to:
https://bugs.launchpad.net/wine/+bug/900901/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to