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

Submitter:  Nathan Phillip Brink <ohnobinki>
Submitted:  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 https://bugs.gentoo.org/378941

Nathan Phillip Brink <ohnobinki>

 

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

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)
  •  

    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.

     

    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.13-3230.
    Corresponding source code