Perl 2.0.#17 makefile bug

Johan Vromans jv at mhres.mh.nl
Tue Nov 22 09:08:28 AEST 1988


Perl 2.0 patchlevel 17 contains a serious bug in the Makefile.

It creates 2 or 3 variations on perl: "perl", "taintperl" and
"suidperl". "perl" depends on *.o (e.g. perl.o as dereived from
perl.c), the other perls depend on t*.o (e.g. tperl.o as dereived
from tperl.c, which is a link to perl.c, compiled with -DTAINT).

However, when make depend is executed, no dependencies are
generated for the t*.o files.

In my situation: I tried to compile perl w/o suid-emulation, got a
compile error, fixed it, and finally got "perl" and "taintperl".
Then I changed the configuration defaults to include
suid-emulation, reran configure, make depend and make, and
ended up with incorrectly linked taint/suidperls because no
dependencies were generated for the t*.o files.
-- 
	Johan



More information about the Comp.sources.bugs mailing list