mainAutoconf - Support: sr #110348, Simplify rules for when configure...

 
 

sr #110348: Simplify rules for when configure enters cross-compiling mode

Submitter:  Zack Weinberg <zackw>
Submitted:  Fri 30 Oct 2020 09:12:43 PM UTC
   
 
Priority:  * 3 - Release N+1 Severity:  3 - Normal
Status:  Need Info Privacy:  Public
Assigned to:  None Open/Closed:  Open
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 08 Dec 2023 06:24:53 PM UTC, comment #2: 

Nick Bowler raised a serious concern about this change in email:

> You can already force cross-compilation mode today by running
>
>   ./configure cross_compiling=yes
>
> I think it would be better to simply document this more clearly.
> Changing the behaviour of --host (without --build) to force cross
> compilation mode seems ill-advised.  As I recall, this was tried before
> some years back and there were complaints by people cross-building with
> mingw on GNU/Linux build systems, who actually wanted the runtime tests
> to be done.
>
> I think the current wording in the manual (which de-emphasized the
> recommendation to always specify --build and --host together) came as a
> result of those complaints, and it explicitly mentions the mingw use case.


I'm going to leave this open for now, but when we come back to this
during the 2.73 cycle we should investigate whether the proposed change
can still break cross-builds for mingw, or anyone else.

Zack Weinberg <zackw>
Group administrator
Fri 08 Dec 2023 02:27:31 AM UTC, comment #1: 

2.71 wound up being a hotfix release for 2.70, and 2.72 is too close to release to put in a change this risky.  [bullwinkle] 2.73 for sure!

Zack Weinberg <zackw>
Group administrator
Fri 30 Oct 2020 09:12:43 PM UTC, original submission:  

Remove the "FIXME: To remove some day" code at the end of _AC_INIT_PARSE_ARGS that can set $cross_compiling to "maybe", and the corresponding code in _AC_COMPILER_EXEEXT_CROSS. The new behavior would be that if you specify --host=<anything> and
don't also say --build=<same anything>, cross compilation mode is
engaged.

This should not be done for 2.70, but maybe it should be done early in the 2.71 cycle.

Zack Weinberg <zackw>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by zackw (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-12-08 zackw StatusNone Need Info
    2023-12-08 zackw Priority1 - Blocked 3 - Release N+1
    2020-10-30 zackw Priority5 - Unprioritized 1 - Blocked

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code