Bug#335578: ocamlopt.opt segfaults on Alpha
(Falk, please tell us if you don't want to be CC'ed to further answers)
Quoting Sven Luther (sven.luther@wanadoo.fr):
> On Tue, Oct 25, 2005 at 08:39:26AM +0200, Christian Perrier wrote:
> > Quoting Falk Hueffner (falk@debian.org):
> >
> > > This breaks building geneweb and probably a whole bunch of other
> >
> > Which could be ween as "breaks unrelated software" by the way.
> >
> > I'm not fond of overflated severities but, well, my pet package
> > (geneweb) is actually blocked by this....so I really hope that someone
> > will be able to take care of this.
>
> Christian, can you rebuild geneweb using bytecode on alpha, and downgrade this
> bug to important ?
The bug actually *is* important and I do not really intent to make it
"serious".
I'm not sure about the right way to recompile geneweb with bytecode on
alpha.
Actually, this is done in debian/rules with:
PACKAGE=geneweb
WAY=$(shell if [ -f "/usr/bin/ocamlc.opt" ]; then echo "opt"; \
else echo "out"; \
fi)
Then $WAY is used to compile one way or another.
I guess that adding a specific test for Alpha architecture here would
be the Right Hack.
Something like:
DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
ifeq ($(DEB_HOST_ARCH_OS),alpha)
WAY=out
else
WAY=$(shell if [ -f "/usr/bin/ocamlc.opt" ]; then echo "opt"; \
else echo "out"; \
fi)
endif
Reply to: