|Anonymous | Login | Signup for a new account||2016-09-26 14:21 CEST|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0006268||OCaml||OCaml internal build/install (Makefiles, configure)||public||2013-12-13 02:27||2015-12-11 19:28|
|Target Version||4.02.0+dev||Fixed in Version||4.02.0+dev|
|Summary||0006268: -DMODEL_$(MODEL) not passed when building .p.o|
|Description||I am one of the primary maintainers of raspbian, a project to rebuild a hard float version of debian for the raspberry pi and other armv6+vfpv2 devices. Note that while we target armv6 devices we build on armv7 devices.|
The source package for ocaml 4.01.0-3 was imported from debian jessie to raspbian jessie and one of our autobuilders built it. However the binaries did not make it to the archive because they set of our armv7 contamination checker.
The first issue I ran into was that "--host arm-linux-gnueabihf" which was passed by the debian packaging when building on armhf results in an armv7 build. Some may argue over whether such behaviour is a bug but it isn't the subject of this bug.
After some testing and configure script reading I deduced that "--host armv6-unknown-linux-gnueabihf" was what was needed to do an armv6 hardfloat build. I modified the packaging, built the package and ran it through the contamination checker and it failed again. Further investigation revealed that -DMODEL_armv6 was being passed for the build of arm.o arm.p.o. I enquired on irc about whether this was deliberate or an oversight and was advised it was probablly an oversight.
So after a little digging in the build system I added the -DMODEL to the rule for building .p.o files from .S files and built again. This time it came out clean so I uploaded to raspbian.
A debdiff of what I uploaded to raspbian can be found at http://debdiffs.raspbian.org/main/o/ocaml/ocaml_4.01.0-3%2brpi1.debdiff [^]
P.S. I am not an ocaml programmer.
|Attached Files||pass-model-p.o.patch [^] (1,212 bytes) 2013-12-16 11:18 [Show Content]|
Extracted and uploaded the part of the patch that applies to our sources.
This was an oversight, indeed. Thanks for the patch. Committed in 4.02 (r14978) and on trunk (r14979).
|2013-12-13 02:27||plugwash||New Issue|
|2013-12-16 11:17||doligez||Tag Attached: patch|
|2013-12-16 11:18||doligez||File Added: pass-model-p.o.patch|
|2013-12-16 11:19||doligez||Note Added: 0010716|
|2013-12-16 11:19||doligez||Status||new => acknowledged|
|2013-12-16 11:25||doligez||Priority||normal => high|
|2013-12-16 11:25||doligez||Target Version||=> 4.01.1+dev|
|2014-05-25 20:20||doligez||Target Version||4.01.1+dev => 4.02.0+dev|
|2014-06-10 10:47||xleroy||Note Added: 0011716|
|2014-06-10 10:47||xleroy||Status||acknowledged => resolved|
|2014-06-10 10:47||xleroy||Resolution||open => fixed|
|2014-06-10 10:47||xleroy||Fixed in Version||=> 4.02.0+dev|
|2015-12-11 19:28||xleroy||Status||resolved => closed|
|Copyright © 2000 - 2011 MantisBT Group|