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 authentification 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: NonePriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: NoneOpen/Closed: Open

Thu 07 May 2015 11:07:56 PM UTC, comment #1:

(A note to myself: OK, I see something in .)

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 (3kB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


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

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

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 04 May 2015 10:26:29 PM UTCchetStatusNone=>Done
    Mon 15 Aug 2011 04:29:52 AM UTCohnobinkiAttached File-=>Added bash-for-build.patch, #23808

    Back to the top

    Powered by Savane 3.1-cleanup