I suspect this may have to do with -Wl,-znocombreloc. If I change the debian/rules to
LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) -Wl,-znocombreloc then the emacs24-lucid package works. The emacs configure checks for and adds -Wl,-znocombreloc to LDFLAGS. But the way the "build_cmd" forces $(MAKE) LDFLAGS=... loses that configure -Wl from the actual compile. Perhaps either build_cmd could not force the flags on the make, but only on the configure invocation, or else ensure -Wl,-znocombreloc is included in the overridden flags. It seems configure uses -Wl,-znocombreloc whenever it works, which for debian would mean always I expect. Dunno what -Wl,-znocombreloc actually does. Something hairy affecting unexec I suppose. Dunno why it only affects the athena build. The relocations which are broken without it are related to structs copied from the shared library into the program data area. Perhaps the gtk build doesn't have any of those. -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org