bug-bash
[Top][All Lists]
Advanced

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

Build problem with Bash-3.0


From: James Richard Tyrer
Subject: Build problem with Bash-3.0
Date: Tue, 15 Nov 2005 14:43:18 -0700
User-agent: Mozilla Thunderbird 1.0.7 (X11/20050923)

I have Linux built mostly from source. I upgraded to GLibc-2.3.6 and BinUtils-2.16.1. I am currently using GCC-3.4.4 due to some problems with GCC-4.0.2. I have applied all 16 Bash-3.0 patches.

Bash builds fine using shared libraries, but when I tried to upgrade my statically linked shell for the root user I had problems see attached.

Any suggestions would be appreciated, or should I file a bug report?

--
JRT

          ***********************************************************
          *                                                         *
          * GNU bash, version 3.00.16(6)-release (i586-pc-linux-gnu)
          *                                                         *
          ***********************************************************

make[1]: Entering directory `/usr/src/bash-3.0/builtins'
./mkbuiltins -externfile builtext.h -structfile builtins.c \
    -noproduction -D .  ./alias.def ./bind.def ./break.def ./builtin.def 
./caller.def ./cd.def ./colon.def ./command.def ./declare.def ./echo.def 
./enable.def ./eval.def ./getopts.def ./exec.def ./exit.def ./fc.def 
./fg_bg.def ./hash.def ./help.def ./history.def ./jobs.def ./kill.def ./let.def 
./read.def ./return.def ./set.def ./setattr.def ./shift.def ./source.def 
./suspend.def ./test.def ./times.def ./trap.def ./type.def ./ulimit.def 
./umask.def ./wait.def ./reserved.def ./pushd.def ./shopt.def ./printf.def 
./complete.def
make[1]: Leaving directory `/usr/src/bash-3.0/builtins'
rm -f bash
/usr/local/bin/gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob 
-L./lib/tilde -L./lib/malloc -L./lib/sh -static -static -rdynamic  -march=k6-3 
-mtune=k6-3 -O2 -o bash shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o 
 dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o expr.o flags.o 
jobs.o subst.o hashcmd.o hashlib.o mailcheck.o trap.o input.o unwind_prot.o 
pathexp.o sig.o test.o version.o alias.o array.o arrayfunc.o braces.o 
bracecomp.o bashhist.o bashline.o  list.o stringlib.o locale.o findcmd.o 
redir.o pcomplete.o pcomplib.o syntax.o xmalloc.o -lbuiltins -lsh -lreadline 
-lhistory -ltermcap -lglob -ltilde -lmalloc   
bashline.o: In function `bash_groupname_completion_function':
bashline.c:(.text+0x2822): warning: Using 'getgrent' in statically linked 
applications requires at runtime the shared libraries from the glibc version 
used for linking
bashline.c:(.text+0x281a): warning: Using 'setgrent' in statically linked 
applications requires at runtime the shared libraries from the glibc version 
used for linking
bashline.c:(.text+0x28a7): warning: Using 'endgrent' in statically linked 
applications requires at runtime the shared libraries from the glibc version 
used for linking
./lib/readline/libreadline.a(complete.o): In function 
`rl_username_completion_function':
complete.c:(.text+0x1df2): warning: Using 'getpwent' in statically linked 
applications requires at runtime the shared libraries from the glibc version 
used for linking
./lib/readline/libreadline.a(tilde.o): In function `tilde_expand_word':
tilde.c:(.text+0x1dc): warning: Using 'getpwnam' in statically linked 
applications requires at runtime the shared libraries from the glibc version 
used for linking
shell.o: In function `get_current_user_info':
shell.c:(.text+0x73d): warning: Using 'getpwuid' in statically linked 
applications requires at runtime the shared libraries from the glibc version 
used for linking
./lib/readline/libreadline.a(complete.o): In function 
`rl_username_completion_function':
complete.c:(.text+0x1dea): warning: Using 'setpwent' in statically linked 
applications requires at runtime the shared libraries from the glibc version 
used for linking
shell.o: In function `get_current_user_info':
shell.c:(.text+0x7ee): warning: Using 'endpwent' in statically linked 
applications requires at runtime the shared libraries from the glibc version 
used for linking
./lib/sh/libsh.a(netopen.o): In function `netopen':
netopen.c:(.text+0x87): warning: Using 'getaddrinfo' in statically linked 
applications requires at runtime the shared libraries from the glibc version 
used for linking
bashline.o: In function `bash_servicename_completion_function':
bashline.c:(.text+0x2690): warning: Using 'getservent' in statically linked 
applications requires at runtime the shared libraries from the glibc version 
used for linking
bashline.c:(.text+0x2688): warning: Using 'setservent' in statically linked 
applications requires at runtime the shared libraries from the glibc version 
used for linking
bashline.c:(.text+0x2796): warning: Using 'endservent' in statically linked 
applications requires at runtime the shared libraries from the glibc version 
used for linking
/usr/lib/libc.a(malloc.o): In function `free':
malloc.c:(.text+0x13a0): multiple definition of `free'
./lib/malloc/libmalloc.a(malloc.o):malloc.c:(.text+0xe00): first defined here
/usr/bin/ld: Warning: size of symbol `free' changed from 25 in 
./lib/malloc/libmalloc.a(malloc.o) to 146 in /usr/lib/libc.a(malloc.o)
/usr/lib/libc.a(malloc.o): In function `malloc':
malloc.c:(.text+0x2d00): multiple definition of `malloc'
./lib/malloc/libmalloc.a(malloc.o):malloc.c:(.text+0xdc0): first defined here
/usr/bin/ld: Warning: size of symbol `malloc' changed from 25 in 
./lib/malloc/libmalloc.a(malloc.o) to 357 in /usr/lib/libc.a(malloc.o)
/usr/lib/libc.a(malloc.o): In function `realloc':
malloc.c:(.text+0x3240): multiple definition of `realloc'
./lib/malloc/libmalloc.a(malloc.o):malloc.c:(.text+0xde0): first defined here
/usr/bin/ld: Warning: size of symbol `realloc' changed from 25 in 
./lib/malloc/libmalloc.a(malloc.o) to 425 in /usr/lib/libc.a(malloc.o)
collect2: ld returned 1 exit status
make: *** [bash] Error 1

reply via email to

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