Bug 12202 - psim build failure due to -lz
Summary: psim build failure due to -lz
Status: RESOLVED FIXED
Alias: None
Product: gdb
Classification: Unclassified
Component: sim (show other bugs)
Version: 7.2
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-07 22:34 UTC by Andreas Färber
Modified: 2014-02-17 22:16 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Färber 2010-11-07 22:34:01 UTC
.../gdb-7.2/configure --target=powerpc64-linux-gnu
make

and

.../gdb-7.2/configure --target=powerpc-elf
make

both fail on Mac OS X v10.5 ppc host:

make[3]: *** No rule to make target `-lz', needed by `psim'.  Stop.
make[2]: *** [all] Error 1
make[1]: *** [all-sim] Error 2
make: *** [all] Error 2

Removing the $(LIBS) dependency of the psim target in sim/ppc/Makefile remedies this.