Ticket #865 (closed bug: fixed)
extra .pmc files in src/pmc cause silent pbc compatibility breaks
Reported by: | cotto | Owned by: | cotto |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | build | Version: | 1.3.0 |
Severity: | medium | Keywords: | pmc2c, makefile |
Cc: | Language: | ||
Patch status: | applied | Platform: |
Description
In TT #823, Coke experienced some mysterious test failures because he had a stray .pmc file in src/pmc. This PMC was silently built into Parrot even though it wasn't in MANIFEST and didn't belong.
A solution to this behavior is to have the generated Makefile explicitly list all PMCs rather than using the suffix rules (see config/gen/makefiles/root.in +655). Alternately, a big noisy warning when there are PMCs not listed in MANIFEST would be sufficient. The idea is that it should be hard for a user or developer to unknowingly build Parrot with extra PMCs
Change History
Note: See
TracTickets for help on using
tickets.