bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug in 64bit build process


From: kunert
Subject: bug in 64bit build process
Date: Mon, 5 Jul 2010 15:36:11 +0200 (CEST)

Configuration Information [Automatically generated, do not change]:
Machine: sparc
OS: solaris2.10
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='sparc' 
-DCONF_OSTYPE='solaris2.10' -DCONF_MACHTYPE='sparc-sun-solaris2.10' 
-DCONF_VENDOR='sun' 
-DLOCALEDIR='/vol/home-vol1/simulant/kunert/testbed/bash/share/locale' 
-DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -DSOLARIS   -I.  -I. -I./include 
-I./lib -I./lib/intl 
-I/vol/home-vol1/simulant/kunert/testbed/bash/bash-4.1/lib/intl  -m64
uname output: SunOS olymp 5.10 Generic_137137-09 sun4u sparc SUNW,Netra-T12
Machine Type: sparc-sun-solaris2.10

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

Fix:
        compile mkbuiltins.o by hand with -m64:

        cd builtins
        gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. 
-I../lib/intl -I/vol/home-vol1/simulant/kunert/testbed/bash/bash-4.1/lib/intl 
-DSOLARIS -g -m64 mkbuiltins.c
        cd..
        make



reply via email to

[Prev in Thread] Current Thread [Next in Thread]