On Monday, February 17, 2014 22:09:22 Aaro Koskinen wrote: > When cross-compiling GDB for PPC, there's a prerequisite "-lz" for psim > that results in a build failure. With such prerequisite, GNU Make will > try to search the library from build machine's /usr/lib which is wrong. > On 64-bit Linux build machines the compilation will fail because of this. > This has been also reported on other operating systems, see e.g. > https://sourceware.org/bugzilla/show_bug.cgi?id=12202. > > The fix is to delete system library linker options from > prerequisite/dependency list as they are not really useful anyway. > > > 2014-02-17 Aaro Koskinen > > * PR gdb/12202. Fix cross-compilation on PPC by removing compiler > library options from psim dependencies. correct format for this i think would be: +2014-02-17 Aaro Koskinen + + PR gdb/12202 + * Makefile.in (psim): Delete $(LIBS) from dependency. i've pushed our fix with that entry. thanks! -mike