| Summary: | module-init-tools fails on 'ac-cv-host' when cross compiling | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Paul Hewlett <phewlett76> |
| Component: | [OLD] Core system | Assignee: | Embedded Gentoo Team <embedded> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | 2008.0 | ||
| Hardware: | sh | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Paul Hewlett
2009-08-06 10:03:02 UTC
I have fixed this - some misunderstanding on my part. Setting ac_cv_target=sh4-unknown-linux-gnu in my build environment solved the problem. The configure script for module-init-tools was executing config.sub $target_alias which is failing because target=unknown is passed to the configure script. Comparison with the configure script for coreutils shows that the coreutils configure script executes config.sub $host_alias which succeeds. Both the coreutils and module-init-tools configure scripts pass target=unknown on the command line - in module-init-tools this fails. AFAICS, either the configure script for module-init-tools is calling config.sub incorrectly or the cross compilation environment is incorrectly passing target=unknown to the configure script. Sorry about the noise. |