Bug#730830: ocaml: Please add powerpcspe to the list of native architectures
Le 30/11/2013 19:54, Roland Stigge a écrit :
>> Aren't those registers also used by generated code?
>
> The registers can't be used since they don't exist and the assembler
> would show errors if someone would try to use them. Now (with my patch),
> the assembler doesn't show errors anymore.
>
>> Does ocamlopt
>> produce working executables with this patch? Does the whole test-suite pass?
>
> The package builds fine, including successful dh_auto_test target.
> Please tell what else I should run as test-suite.
The test suite is not run during the package build process with version
< 4. Please try with the version from experimental.
>>> Further, please add libiberty-dev to the build-deps since this prevents a build
>>> error.
>>
>> Why?
>
> Because it fails to build otherwise, e.g.:
>
> dh_ocaml -Xcompiler-libs -Xcamlp4-extra \
> --runtime-map ocaml-nox:ocaml-base-nox,ocaml:ocaml-base,camlp4 \
> --checksum 3.12.1
> BFD library unavailable, cannot print info on .cmxs files
> E: Error running OCAMLLIB=tools boot/ocamlrun tools/objinfo on
> debian/ocaml-base-nox/usr/lib/ocaml/unix.cmxs
>
> dh_ocaml: /usr/bin/ocaml-md5sums --checksum 3.12.1 --package ocaml-nox
> --version 3.12.1-4+powerpcspe1 --runtime ocaml-base-nox --dump-info
> debian/ocaml-nox.oinfo.debhelper --dump-provides
> debian/ocaml-nox.oprovides.debhelper compute <
> debian/ocaml-nox.olist.debhelper >
> debian/ocaml-nox//var/lib/ocaml/md5sums/ocaml-nox.md5sums returned exit
> code 2
> make[1]: *** [override_dh_gencontrol] Error 2
> make[1]: Leaving directory `/«PKGBUILDDIR»'
> make: *** [binary] Error 2
>
> I just checked that the same FTBFS bug is present on amd64 also.
This used to be in binutils-dev. The error is due to a very recent
change, thank you for the tip. I was wondering why the new dependency
would be powerpcspc-specific, but it actually is not.
Cheers,
--
Stéphane
Reply to: