gcc-4.7 tries to build fortran when crossing, but no cross-fortran is available
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-4.7 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
cross building gcc4.7 for arm64/aarch64 (build !=host, host=target) fails because fortran is an enabled language but we don't build a cross-fortran to build it with, so the build fails.
When cross-building, fortran should be disabled (unless we also start building cross-fortran).
build/config.log says:
../src/configure -v --with-
simple patch attached which fixes this problem.
The attachment "gcc-4. 7_4.7.2- 22ubuntu2- reverse- cross-no- fortran. patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.
[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]