Skip to content

Build fails with autoconf master #5126

@rossburton

Description

@rossburton

When cross-compiling curl 7.69.0 with autoconf master, the build fails:

| checking for inline... inline
| checking if cpp -P is needed... yes
| checking if cpp -P works... yes
| checking if compiler is DEC/Compaq/HP C... no
| checking if compiler is HP-UX C... no
| checking if compiler is IBM C... no
| checking if compiler is Intel C... no
| checking if compiler is clang... no
| checking if compiler is GNU C... yes
| checking if compiler is LCC... no
| checking if compiler is SGI MIPSpro C... no
| checking if compiler is SGI MIPS C... no
| checking if compiler is SunPro C... no
| checking if compiler is Tiny C... no
| checking if compiler is Watcom C... no
| configure: error: in `/scratch/poky/work/corei7-64-poky-linux/curl/7.69.0-r0/build':
| configure: error: cannot run test program while cross compiling

The build works fine with autoconf 2.69. This is OpenEmbedded, cross-compiling using gcc to a Linux platform.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions