bug-bash
[Top][All Lists]
Advanced

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

support for GNU/FreeBSD


From: Robert Millan
Subject: support for GNU/FreeBSD
Date: Wed, 14 May 2003 20:27:03 +0200

Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: freebsd-gnu
Compiler: cc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' 
-DCONF_OSTYPE='freebsd-gnu' -DCONF_MACHTYPE='i386-pc-freebsd-gnu' 
-DCONF_VENDOR='pc' -DSHELL -DHAVE_CONFIG_H  -I.  -I/home/bash/bash-2.05b 
-I/home/bash/bash-2.05b/include -I/home/bash/bash-2.05b/lib  -g -O2
uname output: GNU/FreeBSD aragorn 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Thu Jan 
16 22:16:53 GMT 2003     
root@hollin.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 i386 AMD 
Athlon(TM) XP 2000+ FreeBSD
Machine Type: i386-pc-freebsd-gnu

Bash Version: 2.05b
Patch Level: 0
Release Status: release

Description:
        This patch adds GNU/FreeBSD systems (ie, GNU userland with Glibc
        on a FreeBSD kernel) to configure.in to be set for using the
        system's malloc() instead of the built-in one.

        For building on GNU/FreeBSD you also have to update
        config.{guess,sub} to the latest one that can detect it properly.

Repeat-By:
        building bash on GNU/FreeBSD :)

Fix:
        update ./support/config.{guess,sub} and apply this:

--- old/bash-2.05b/configure.in 2002-07-16 13:31:25.000000000 +0000
+++ bash-2.05b/configure.in     2003-05-08 17:14:48.000000000 +0000
@@ -70,6 +70,7 @@
 mips-irix6*)   opt_bash_malloc=no ;;   # needs 8-byte alignment
 m68k-sysv)     opt_bash_malloc=no ;;   # fixes file descriptor leak in 
closedir sparc-linux*)  opt_bash_malloc=no ;;   # sparc running linux; requires 
ELF
+*-freebsd*-gnu)        opt_bash_malloc=no ;;   # must go first to parse "-gnu"
 #*-freebsd*)   opt_bash_malloc=no ;;   # they claim it's better; I disagree
 *-openbsd*)    opt_bash_malloc=no ;;   # they claim it needs eight-bit 
alignment
 *-aix*)                opt_bash_malloc=no ;;   # AIX machines




reply via email to

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