Apparantly this was fixed a good while ago:
xorg-server (2:1.2.0-4) experimental; urgency=low
[ Julien Cristau ]
* Don't strip modules when DEB_BUILD_OPTIONS contains nostrip. Thanks,
Cyril Brulebois!
** Changed in: xorg-server (Ubuntu)
Status: New = Fix Released
--
libraries
(gosh - just realized that log was 3 MB long.) Here is the interesting
part:
dh_strip --exclude=usr/lib/xorg/modules
find debian/xserver-xorg-core/usr/lib/xorg/modules -name lib*.so | \
xargs --no-run-if-empty \
strip --strip-debug --remove-section=.note
This can be seen in this build log. (search for strip towards the
end).
** Attachment added: xorg-server build log with nostrip
http://librarian.launchpad.net/5622110/xorg-server_1.1.1-0ubuntu12tormod_i386.build
--
libraries get stripped even with debug build