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

bash mis-cross-built



Hello,

While cross-building hurd-amd64 from linux, I got a subtle issue with
bash, that was leading to perl FTBFS very oddly.

The issue essentially was in bash/builtins/Makefile.in:

pipesize.h:	psize.aux
	$(SHELL) $(srcdir)/psize.sh > $@

where bash/builtins/psize.sh is a shell script that detects at runtime
what the size of pipes is. The cross-build thus ends up taking the Linux
(build OS) value rather than the Hurd (host OS) value, or a fallback
value (512 in the script when it doesn't manage to work out the value).

Since rebuilding bash natively was easy enough, I just did that and
didn't try to submit a proper report. Here just letting d-cross know
about it.

Samuel


Reply to: