bugGNU Screen - Bugs: bug #43223, Patches for cross-compilation...

 
 

bug #43223: Patches for cross-compilation support

Submitted by:  Maarten ter Huurne <maartenth>
Submitted on:  Mon 15 Sep 2014 02:17:52 AM UTC  
 
Category:  Build/Install Severity:  3 - Normal
Priority:  5 - Normal Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  4.2.1
Fixed Release:  4.6.3 Planned Release:  None
Work Required:  None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 24 Feb 2018 04:20:27 PM UTC, comment #2:

Thanks a lot for patches to Maarten and Jussi. I applied all 4 patches to the 'screen-v4' branch and added you guys to CONTRIBUTORS list.

Also thank to Ben Kamen who tested it (using screen 4.6.2) on its ARM (Xilinx Zynq).

Alexander Naumov <anaumov>
Project Administrator
Fri 07 Aug 2015 12:43:16 PM UTC, comment #1:

As a followup after 4.3.1 release: this patchset still applies and works with small changes (patch configure.ac instead of configure.in, disable one more AC_TRY_RUN, etc). Thanks Maarten, your work saved quite a bit of time for me.

I'll try to attach the modified patches.

(file #34586, file #34587, file #34588, file #34589)

Jussi Kukkonen <jku>
Mon 15 Sep 2014 02:17:52 AM UTC, original submission:

To be able to cross-compile Screen, two restrictions must be applied to configure script:
- no compiled programs can be run, since they are probably for an incompatible architecture
- no information about the host file system must be used, since that information is not representative of the target

I modified the configure script (configure.in) to take these restrictions into account, see attached patches. I tried to provide sensible defaults for the information that can not be probed when cross-compiling.

Patch 0005 will also affect native builds, but I think it is for the better if Linux is not identified as SVR4. ;)

Note that patch 0003 relies on earlier patches being applied: there are AC_TRY_RUN instances removed by patch 0001 (see bug 43222) and patch 0002 (this bug). If for some reason you don't want to apply those patches, a cross-compile argument would have to be added to those AC_TRY_RUN instances in patch 0003.

Maarten ter Huurne <maartenth>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #34586:  Remove-redundant-compiler-sanity-checks.patch added by jku (2KiB - text/x-patch - Maartens patchset updated for 4.3.1)
file #34587:  Skip-host-file-system-checks-when-cross-compiling.patch added by jku (4KiB - text/x-patch - Maartens patchset updated for 4.3.1)
file #34588:  Provide-cross-compile-alternatives-for-AC_TRY_RUN.patch added by jku (4KiB - text/x-patch - Maartens patchset updated for 4.3.1)
file #34589:  Avoid-mis-identifying-systems-as-SVR4.patch added by jku (2KiB - text/x-patch - Maartens patchset updated for 4.3.1)
file #32097:  0002-Removed-redundant-compiler-sanity-checks.patch added by maartenth (2KiB - application/octet-stream - git formatted patches)
file #32098:  0004-When-cross-compiling-skip-checks-that-look-in-the-ho.patch added by maartenth (4KiB - application/octet-stream - git formatted patches)
file #32099:  0003-Provide-cross-compilation-alternatives-for-all-AC_TR.patch added by maartenth (4KiB - application/octet-stream - git formatted patches)
file #32100:  0005-Avoid-mis-identifying-systems-as-SVR4.patch added by maartenth (2KiB - application/octet-stream - git formatted patches)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by anaumov (Posted a comment)
  • -email is unavailable- added by jku (Updated the item)
  • -email is unavailable- added by maartenth (Submitted the item)
  • -email is unavailable- added by maartenth
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 12 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-02-24 anaumov StatusNone => Fixed
        Open/ClosedOpen => Closed
        Fixed ReleaseNone => 4.6.3
    2015-08-07 jku Attached File- => Added Remove-redundant-compiler-sanity-checks.patch, #34586
        Attached File- => Added Skip-host-file-system-checks-when-cross-compiling.patch, #34587
        Attached File- => Added Provide-cross-compile-alternatives-for-AC_TRY_RUN.patch, #34588
        Attached File- => Added Avoid-mis-identifying-systems-as-SVR4.patch, #34589
    2014-09-15 maartenth Attached File- => Added 0002-Removed-redundant-compiler-sanity-checks.patch, #32097
        Attached File- => Added 0004-When-cross-compiling-skip-checks-that-look-in-the-ho.patch, #32098
        Attached File- => Added 0003-Provide-cross-compilation-alternatives-for-all-AC_TR.patch, #32099
        Attached File- => Added 0005-Avoid-mis-identifying-systems-as-SVR4.patch, #32100
        Carbon-Copy- => Added maartenth

    Back to the top


    Powered by Savane 3.3