Ticket #1411 (closed bug: fixed)
[BUG] configure problem on the arm architecture
Reported by: | gerd | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | configure | Version: | 1.9.0 |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: |
Description
With the Fedora Build System I tried to build Parrot on the ARM architecture ( http://en.wikipedia.org/wiki/ARM_architecture).
The configuration stops wih a byteorder problem.
URL: http://arm.koji.fedoraproject.org/koji/getfile?taskID=96590&name=build.log
auto::byteorder - Compute native byteorder for wordsize... step auto::byteorder died during execution: Unsupported byte-order [126291410274]! at config/auto/byteorder.pm line 69.
at Configure.pl line 75
auto::va_ptr - Test the type of va_ptr...........................stack.
The second time I modified the file config/auto/byteorder.pm to use 'little-endian' like that:
sub _evaluate_byteorder {
my ($self, $conf, $byteorder) = @_; #if ( $byteorder =~ /1234/ ) {
$conf->data->set(
byteorder => $byteorder, bigendian => 0
); $self->set_result('little-endian');
return 1;
}
With that modification the next build ( http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=96592) works.
How to patch config/auto/byteorder.pm that it works with the arm architecture also?