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

Bug#862230: mplayer: error while loading shared libraries: R_PPC_REL24 relocation at 0x207ac54c for symbol `htonl' out of range



I can reproduce it with the 1.0.3-8 Debian package on a PPC MacMini.
However I cannot reproduce it when manually building MPlayer (from the debian source package). (I haven't tried rebuilding from source using the debian tools).
I think the package must have been built with a badly broken compiler (possibly the hardening options cause issues?), for 2 reasons:
- htonl is defined as a macro in netinet/in.h, we should never get a call to the function at all (I can confirm no such calls exist in the manual build). Digging deeper is hard since the debug symbol package seems to not longer exist?!
- REL24 should not be used for relocations against a dynamic library, at least not if ASLR might be active.

Maybe someone could try rebuilding it with the latest toolchain?

Reply to: