patchThe GNU Bourne-Again SHell - Patches: patch #7598, Fix multilib compilation error...


You are not allowed to post comments on this tracker with your current authentication level.

patch #7598: Fix multilib compilation error caused by inconsistency in _FOR_BUILD variables

Submitted by:  Nathan Phillip Brink <ohnobinki>
Submitted on:  Mon 15 Aug 2011 04:29:52 AM UTC  
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Open

Thu 07 May 2015 11:07:56 PM UTC, comment #1: 
Nathan Phillip Brink <ohnobinki>
Mon 15 Aug 2011 04:29:52 AM UTC, original submission:  

The LDFLAGS_FOR_BUILD variable is set to LDFLAGS when it is supposedly detected that crosscompilation is not occuring. But CFLAGS_FOR_BUILD is not set to CFLAGS. When -m32 is introduced into both CFLAGS and LDFLAGS on a 64-bit/32-bit multilib system, this causes a compilation error when builtins/mkbuiltins is being linked.

To support both the crosscompilation scenario and this casual not-quite-crosscompilation scenario, LDFLAGS_FOR_BUILD and CC_FOR_BUILD should both just be initialized to static values instead of to LDFLAGS and CC respectively.

This patch fixes

Nathan Phillip Brink <ohnobinki>


Attached Files
file #23808:  bash-for-build.patch added by ohnobinki (3KiB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by chet (Updated the item)
  • -email is unavailable- added by ohnobinki (Submitted the item)

    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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-05-04 chet StatusNone => Done
    2011-08-15 ohnobinki Attached File- => Added bash-for-build.patch, #23808

    Back to the top

    Powered by Savane 3.6