bug-guix
[Top][All Lists]
Advanced

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

Re: Porting to mips64el


From: Nikita Karetnikov
Subject: Re: Porting to mips64el
Date: Wed, 23 Jan 2013 00:01:18 -0500

> I'll try to build statically-linked Bash.

Could anyone advise on this?  Which flags and options should be used?

The ones from the corresponding recipe look a bit complex for me.  I
tried this instead:

# ./configure --enable-readline --enable-static-link
# make

[...]

execute_cmd.c: In function 'execute_in_subshell':
execute_cmd.c:1507:5: warning: passing argument 1 of 'execute_command_internal' 
discards 'volatile' qualifier from pointer target type [enabled by default]
execute_cmd.c:522:1: note: expected 'struct COMMAND *' but argument is of type 
'volatile struct COMMAND *'
execute_cmd.c: In function 'execute_function':
execute_cmd.c:4243:3: warning: passing argument 1 of 'array_rshift' discards 
'volatile' qualifier from pointer target type [enabled by default]
In file included from variables.h:25:0,
                 from shell.h:31,
                 from execute_cmd.c:66:
array.h:56:12: note: expected 'struct ARRAY *' but argument is of type 
'volatile struct ARRAY *'
execute_cmd.c:4245:3: warning: passing argument 1 of 'array_rshift' discards 
'volatile' qualifier from pointer target type [enabled by default]
In file included from variables.h:25:0,
                 from shell.h:31,
                 from execute_cmd.c:66:
array.h:56:12: note: expected 'struct ARRAY *' but argument is of type 
'volatile struct ARRAY *'
execute_cmd.c:4320:3: warning: passing argument 1 of 'array_shift' discards 
'volatile' qualifier from pointer target type [enabled by default]
In file included from variables.h:25:0,
                 from shell.h:31,
                 from execute_cmd.c:66:
array.h:55:23: note: expected 'struct ARRAY *' but argument is of type 
'volatile struct ARRAY *'
execute_cmd.c:4321:3: warning: passing argument 1 of 'array_shift' discards 
'volatile' qualifier from pointer target type [enabled by default]
In file included from variables.h:25:0,
                 from shell.h:31,
                 from execute_cmd.c:66:
array.h:55:23: note: expected 'struct ARRAY *' but argument is of type 
'volatile struct ARRAY *'

[...]

expr.c:207:17: warning: conflicting types for built-in function 'exp2' [enabled 
by default]

[...]

bashline.o: In function `bash_groupname_completion_function':
/home/bash/bash-4.2/bashline.c:2139: warning: Using 'getgrent' in statically 
linked applications requires at runtime the shared libraries from the glibc 
version used for linking
/home/bash/bash-4.2/bashline.c:2136: warning: Using 'setgrent' in statically 
linked applications requires at runtime the shared libraries from the glibc 
version used for linking
/home/bash/bash-4.2/bashline.c:2147: 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':
/home/bash/bash-4.2/lib/readline/complete.c:2045: 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':
/home/bash/bash-4.2/lib/readline/./tilde.c:374: 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':
/home/bash/bash-4.2/shell.c:1641: 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':
/home/bash/bash-4.2/lib/readline/complete.c:2041: 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':
/home/bash/bash-4.2/shell.c:1657: 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':
/home/bash/bash-4.2/lib/sh/netopen.c:304: 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':
/home/bash/bash-4.2/bashline.c:2083: warning: Using 'getservent' in statically 
linked applications requires at runtime the shared libraries from the glibc 
version used for linking
/home/bash/bash-4.2/bashline.c:2080: warning: Using 'setservent' in statically 
linked applications requires at runtime the shared libraries from the glibc 
version used for linking
/home/bash/bash-4.2/bashline.c:2105: warning: Using 'endservent' in statically 
linked applications requires at runtime the shared libraries from the glibc 
version used for linking
/nix/store/zcfiac107h1nji9sdiv2m1dzpvvagrh5-glibc-2.13/lib/../lib/libc.a(malloc.o):
 In function `__libc_free':
(.text+0x6380): multiple definition of `free'
./lib/malloc/libmalloc.a(malloc.o):/home/bash/bash-4.2/lib/malloc/malloc.c:1269:
 first defined here
/nix/store/zcfiac107h1nji9sdiv2m1dzpvvagrh5-glibc-2.13/lib/../lib/libc.a(malloc.o):
 In function `__libc_malloc':
(.text+0x5c48): multiple definition of `malloc'
./lib/malloc/libmalloc.a(malloc.o):/home/bash/bash-4.2/lib/malloc/malloc.c:1254:
 first defined here
/nix/store/zcfiac107h1nji9sdiv2m1dzpvvagrh5-glibc-2.13/lib/../lib/libc.a(malloc.o):
 In function `__libc_realloc':
(.text+0x6500): multiple definition of `realloc'
./lib/malloc/libmalloc.a(malloc.o):/home/bash/bash-4.2/lib/malloc/malloc.c:1262:
 first defined here
collect2: error: ld returned 1 exit status
make: *** [bash] Error 1

Nikita

Attachment: pgpdB8GkRVo1U.pgp
Description: PGP signature


reply via email to

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