[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug in 64bit build process
From: |
Chet Ramey |
Subject: |
Re: bug in 64bit build process |
Date: |
Tue, 06 Jul 2010 21:34:59 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 |
On 7/5/10 9:36 AM, kunert@cms.hu-berlin.de wrote:
> Bash Version: 4.1
> Patch Level: 0
> Release Status: release
>
> Description:
> compiling bash for 64bit architectures fails due to mkbuiltins.o is
> being compiled as 32bit binary
> the CFLAG -m64 is'nt passed correctly to the submake
>
> Repeat-By:
> env LDFLAGS="-L/usr/lib/64" CFLAGS="-m64" ./configure
> gmake
Try adding CFLAGS_FOR_BUILD=-m64 to the set of assignments preceding
`./configure'. CFLAGS is the set of flags used to build bash, possibly
in a cross-compilation environment. CFLAGS_FOR_BUILD is the set of flags
native to the machine, used to build tools used by the build process
itself, and should not be part of any cross-compilation flags.
If that doesn't work, let me know. I suppose I could set CFLAGS_FOR_BUILD
to CFLAGS if $cross_compiling != "yes", but that's not how it is right now.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/