[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: strtoimax test still broken
From: |
Dag-Erling Smørgrav |
Subject: |
Re: strtoimax test still broken |
Date: |
Tue, 09 Apr 2024 16:57:36 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Chet Ramey <chet.ramey@case.edu> writes:
> The fixed version of strtoimax.m4 has been in the devel branch since
> October 3, 2022. Since bash-5.2 built fine on FreeBSD 13 before I released
> it, I assume the link problem exist only on systems using musl.
des@crash13 ~/src/bash-5.2% uname -r
13.3-STABLE
des@crash13 ~/src/bash-5.2% ./configure --enable-static-link && make
[...]
cc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob -L./lib/tilde
-L./lib/malloc -L./lib/sh -static -g -O2 -static -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 assoc.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 -lglob -lsh -lreadline -lhistory
-ltermcap -ltilde -lmalloc lib/intl/libintl.a
ld: error: duplicate symbol: strtoimax
>>> defined at strtoimax.c:67
>>> strtoimax.o:(strtoimax) in archive ./lib/sh/libsh.a
>>> defined at xlocale_private.h:201
>>> (/usr/src/lib/libc/locale/xlocale_private.h:201)
>>> strtoimax.o:(.text+0x230) in archive /usr/lib/libc.a
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
Stop.
make: stopped in /home/des/src/bash-5.2
DES
--
Dag-Erling Smørgrav - des@des.no