Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It does not compile on Alpine #15

Open
mathieurousseau opened this issue Nov 24, 2023 · 3 comments
Open

It does not compile on Alpine #15

mathieurousseau opened this issue Nov 24, 2023 · 3 comments

Comments

@mathieurousseau
Copy link

Hi

It does not compile on alpine.

How to reproduce:

docker run -it hexpm/elixir:1.14.5-erlang-25.3.2.6-alpine-3.17.5 sh
# or 
docker run -it elixir:1.15-otp-26-alpine sh

apk add build-base curl

cd ~
mix new test
cd test
# add  {:lz4b, "~> 0.0.11"} to your mix.exs deps
mix deps.get
mix deps.compile

Error:

~/test # mix deps.compile
Could not find "rebar3", which is needed to build dependency :lz4b
I can install a local copy which is just used by Mix
Shall I install rebar3? (if running non-interactively, use "mix local.rebar --force") [Yn] y
* creating /root/.mix/elixir/1-14/rebar3
===> Fetching rebar3_hex v7.0.7
===> Fetching hex_core v0.8.4
===> Fetching verl v1.1.1
===> Analyzing applications...
===> Compiling hex_core
===> Compiling verl
===> Compiling rebar3_hex
make: Entering directory '/root/test/deps/lz4b/c_src'
curl -L -f -o v1.9.2.tar.gz https://github.com/lz4/lz4/archive/v1.9.2.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  298k    0  298k    0     0   627k      0 --:--:-- --:--:-- --:--:--  627k
tar zxf v1.9.2.tar.gz
make CFLAGS='-O3 -fPIC -save-temps' -C lz4-1.9.2 BUILD_STATIC=no
make[1]: Entering directory '/root/test/deps/lz4b/c_src/lz4-1.9.2'
make[2]: Entering directory '/root/test/deps/lz4b/c_src/lz4-1.9.2/lib'
compiling dynamic library 1.9.2
creating versioned links
make[2]: Leaving directory '/root/test/deps/lz4b/c_src/lz4-1.9.2/lib'
make[2]: Entering directory '/root/test/deps/lz4b/c_src/lz4-1.9.2/programs'
cc -O3 -fPIC -save-temps -I../lib -DXXH_NAMESPACE=LZ4_  -c -o ../lib/lz4.o ../lib/lz4.c
cc -O3 -fPIC -save-temps -I../lib -DXXH_NAMESPACE=LZ4_  -c -o ../lib/lz4frame.o ../lib/lz4frame.c
cc -O3 -fPIC -save-temps -I../lib -DXXH_NAMESPACE=LZ4_  -c -o ../lib/lz4hc.o ../lib/lz4hc.c
cc -O3 -fPIC -save-temps -I../lib -DXXH_NAMESPACE=LZ4_  -c -o ../lib/xxhash.o ../lib/xxhash.c
cc -O3 -fPIC -save-temps -I../lib -DXXH_NAMESPACE=LZ4_  -c -o bench.o bench.c
cc -O3 -fPIC -save-temps -I../lib -DXXH_NAMESPACE=LZ4_  -c -o datagen.o datagen.c
cc -O3 -fPIC -save-temps -I../lib -DXXH_NAMESPACE=LZ4_  -c -o lz4cli.o lz4cli.c
cc -O3 -fPIC -save-temps -I../lib -DXXH_NAMESPACE=LZ4_  -c -o lz4io.o lz4io.c
cc -O3 -fPIC -save-temps -I../lib -DXXH_NAMESPACE=LZ4_  ../lib/lz4.o ../lib/lz4frame.o ../lib/lz4hc.o ../lib/xxhash.o bench.o datagen.o lz4cli.o lz4io.o -o lz4
make[2]: Leaving directory '/root/test/deps/lz4b/c_src/lz4-1.9.2/programs'
make[1]: Leaving directory '/root/test/deps/lz4b/c_src/lz4-1.9.2'
cc -O3 -std=c99 -finline-functions -Wall -Wmissing-prototypes -fPIC -I /usr/local/lib/erlang/erts-13.2.2.3/include/ -I /usr/local/lib/erlang/lib/erl_interface-5.3.2/include -I/root/test/deps/lz4b/c_src/lz4-1.9.2/lib/  -c -o /root/test/deps/lz4b/c_src/lz4b.o /root/test/deps/lz4b/c_src/lz4b.c
cc lz4-1.9.2/lib/*.o /root/test/deps/lz4b/c_src/lz4b.o -shared -L /usr/local/lib/erlang/lib/erl_interface-5.3.2/lib -lei -o /root/test/deps/lz4b/c_src/../priv/lz4b_nif.so
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_versionNumber':
lz4.c:(.text+0x19b0): multiple definition of `LZ4_versionNumber'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x19b0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_versionString':
lz4.c:(.text+0x19c0): multiple definition of `LZ4_versionString'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x19c0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_compressBound':
lz4.c:(.text+0x19d0): multiple definition of `LZ4_compressBound'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x19d0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_sizeofState':
lz4.c:(.text+0x1a10): multiple definition of `LZ4_sizeofState'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x1a10): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_compress_fast_extState_fastReset':
lz4.c:(.text+0x1a20): multiple definition of `LZ4_compress_fast_extState_fastReset'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x1a20): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_initStream':
lz4.c:(.text+0x5680): multiple definition of `LZ4_initStream'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x5680): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_compress_fast_extState':
lz4.c:(.text+0x56e0): multiple definition of `LZ4_compress_fast_extState'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x56e0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_compress_fast':
lz4.c:(.text+0x7dc0): multiple definition of `LZ4_compress_fast'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x7dc0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_compress_default':
lz4.c:(.text+0x7e40): multiple definition of `LZ4_compress_default'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x7e40): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_compress_fast_force':
lz4.c:(.text+0x7e50): multiple definition of `LZ4_compress_fast_force'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x7e50): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_compress_destSize':
lz4.c:(.text+0x90d0): multiple definition of `LZ4_compress_destSize'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x90d0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_createStream':
lz4.c:(.text+0xa720): multiple definition of `LZ4_createStream'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0xa720): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_resetStream':
lz4.c:(.text+0xa754): multiple definition of `LZ4_resetStream'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0xa754): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_resetStream_fast':
lz4.c:(.text+0xa760): multiple definition of `LZ4_resetStream_fast'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0xa760): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_freeStream':
lz4.c:(.text+0xa804): multiple definition of `LZ4_freeStream'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0xa804): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_loadDict':
lz4.c:(.text+0xa830): multiple definition of `LZ4_loadDict'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0xa830): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_attach_dictionary':
lz4.c:(.text+0xa8f0): multiple definition of `LZ4_attach_dictionary'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0xa8f0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_compress_fast_continue':
lz4.c:(.text+0xa950): multiple definition of `LZ4_compress_fast_continue'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0xa950): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_compress_forceExtDict':
lz4.c:(.text+0xeff0): multiple definition of `LZ4_compress_forceExtDict'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0xeff0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_saveDict':
lz4.c:(.text+0x108e4): multiple definition of `LZ4_saveDict'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x108e4): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_decompress_safe':
lz4.c:(.text+0x10970): multiple definition of `LZ4_decompress_safe'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x10970): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_decompress_safe_partial':
lz4.c:(.text+0x11284): multiple definition of `LZ4_decompress_safe_partial'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x11284): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_decompress_fast':
lz4.c:(.text+0x11b90): multiple definition of `LZ4_decompress_fast'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x11b90): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_decompress_safe_withPrefix64k':
lz4.c:(.text+0x123d0): multiple definition of `LZ4_decompress_safe_withPrefix64k'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x123d0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_decompress_fast_withPrefix64k':
lz4.c:(.text+0x12ce0): multiple definition of `LZ4_decompress_fast_withPrefix64k'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x12ce0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_decompress_safe_forceExtDict':
lz4.c:(.text+0x12ce4): multiple definition of `LZ4_decompress_safe_forceExtDict'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x12ce4): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_createStreamDecode':
lz4.c:(.text+0x13a70): multiple definition of `LZ4_createStreamDecode'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x13a70): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_freeStreamDecode':
lz4.c:(.text+0x13a80): multiple definition of `LZ4_freeStreamDecode'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x13a80): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_setStreamDecode':
lz4.c:(.text+0x13aa4): multiple definition of `LZ4_setStreamDecode'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x13aa4): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_decoderRingBufferSize':
lz4.c:(.text+0x13ac0): multiple definition of `LZ4_decoderRingBufferSize'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x13ac0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_decompress_safe_continue':
lz4.c:(.text+0x13af0): multiple definition of `LZ4_decompress_safe_continue'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x13af0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_decompress_fast_continue':
lz4.c:(.text+0x148d4): multiple definition of `LZ4_decompress_fast_continue'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x148d4): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_decompress_safe_usingDict':
lz4.c:(.text+0x155d0): multiple definition of `LZ4_decompress_safe_usingDict'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x155d0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_decompress_fast_usingDict':
lz4.c:(.text+0x15610): multiple definition of `LZ4_decompress_fast_usingDict'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x15610): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_compress_limitedOutput':
lz4.c:(.text+0x15644): multiple definition of `LZ4_compress_limitedOutput'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x15644): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_compress':
lz4.c:(.text+0x15650): multiple definition of `LZ4_compress'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x15650): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_compress_limitedOutput_withState':
lz4.c:(.text+0x15694): multiple definition of `LZ4_compress_limitedOutput_withState'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x15694): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_compress_withState':
lz4.c:(.text+0x156a0): multiple definition of `LZ4_compress_withState'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x156a0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_compress_limitedOutput_continue':
lz4.c:(.text+0x156f0): multiple definition of `LZ4_compress_limitedOutput_continue'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x156f0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_compress_continue':
lz4.c:(.text+0x15700): multiple definition of `LZ4_compress_continue'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x15700): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_uncompress':
lz4.c:(.text+0x15750): multiple definition of `LZ4_uncompress'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x15750): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_uncompress_unknownOutputSize':
lz4.c:(.text+0x15754): multiple definition of `LZ4_uncompress_unknownOutputSize'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x15754): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_sizeofStreamState':
lz4.c:(.text+0x15760): multiple definition of `LZ4_sizeofStreamState'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x15760): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_resetStreamState':
lz4.c:(.text+0x15770): multiple definition of `LZ4_resetStreamState'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x15770): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_create':
lz4.c:(.text+0x15790): multiple definition of `LZ4_create'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x15790): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4.o: in function `LZ4_slideInputBuffer':
lz4.c:(.text+0x15794): multiple definition of `LZ4_slideInputBuffer'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4.o:lz4.c:(.text+0x15794): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4frame.o: in function `LZ4F_isError':
lz4frame.c:(.text+0x560): multiple definition of `LZ4F_isError'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4frame.o:lz4frame.c:(.text+0x7e0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4frame.o: in function `LZ4F_getErrorName':
lz4frame.c:(.text+0x570): multiple definition of `LZ4F_getErrorName'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4frame.o:lz4frame.c:(.text+0x7f0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4frame.o: in function `LZ4F_getErrorCode':
lz4frame.c:(.text+0x5c0): multiple definition of `LZ4F_getErrorCode'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4frame.o:lz4frame.c:(.text+0x840): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4frame.o: in function `LZ4F_getVersion':
lz4frame.c:(.text+0x5f0): multiple definition of `LZ4F_getVersion'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4frame.o:lz4frame.c:(.text+0x870): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4frame.o: in function `LZ4F_compressionLevel_max':
lz4frame.c:(.text+0x600): multiple definition of `LZ4F_compressionLevel_max'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4frame.o:lz4frame.c:(.text+0x880): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4frame.o: in function `LZ4F_getBlockSize':
lz4frame.c:(.text+0x610): multiple definition of `LZ4F_getBlockSize'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4frame.o:lz4frame.c:(.text+0x890): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4frame.o: in function `LZ4F_compressFrameBound':
lz4frame.c:(.text+0x8a0): multiple definition of `LZ4F_compressFrameBound'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4frame.o:lz4frame.c:(.text+0x8c0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4frame.o: in function `LZ4F_freeCDict':
lz4frame.c:(.text+0x970): multiple definition of `LZ4F_freeCDict'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4frame.o:lz4frame.c:(.text+0xad0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4frame.o: in function `LZ4F_createCDict':
lz4frame.c:(.text+0x9b0): multiple definition of `LZ4F_createCDict'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4frame.o:lz4frame.c:(.text+0x9b0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4frame.o: in function `LZ4F_createCompressionContext':
lz4frame.c:(.text+0xac0): multiple definition of `LZ4F_createCompressionContext'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4frame.o:lz4frame.c:(.text+0xb10): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4frame.o: in function `LZ4F_freeCompressionContext':
lz4frame.c:(.text+0xb10): multiple definition of `LZ4F_freeCompressionContext'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4frame.o:lz4frame.c:(.text+0xb60): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4frame.o: in function `LZ4F_compressBegin_usingCDict':
lz4frame.c:(.text+0xb54): multiple definition of `LZ4F_compressBegin_usingCDict'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4frame.o:lz4frame.c:(.text+0xba4): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4frame.o: in function `LZ4F_compressBegin':
lz4frame.c:(.text+0xea0): multiple definition of `LZ4F_compressBegin'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4frame.o:lz4frame.c:(.text+0xf24): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4frame.o: in function `LZ4F_compressBound':
lz4frame.c:(.text+0xeb0): multiple definition of `LZ4F_compressBound'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4frame.o:lz4frame.c:(.text+0x1280): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4frame.o: in function `LZ4F_compressUpdate':
lz4frame.c:(.text+0xfa0): multiple definition of `LZ4F_compressUpdate'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4frame.o:lz4frame.c:(.text+0x1330): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4frame.o: in function `LZ4F_flush':
lz4frame.c:(.text+0x14d0): multiple definition of `LZ4F_flush'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4frame.o:lz4frame.c:(.text+0x1894): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4frame.o: in function `LZ4F_compressEnd':
lz4frame.c:(.text+0x16a0): multiple definition of `LZ4F_compressEnd'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4frame.o:lz4frame.c:(.text+0x1a60): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4frame.o: in function `LZ4F_compressFrame_usingCDict':
lz4frame.c:(.text+0x1770): multiple definition of `LZ4F_compressFrame_usingCDict'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4frame.o:lz4frame.c:(.text+0x1b30): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4frame.o: in function `LZ4F_compressFrame':
lz4frame.c:(.text+0x1960): multiple definition of `LZ4F_compressFrame'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4frame.o:lz4frame.c:(.text+0x2000): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4frame.o: in function `LZ4F_createDecompressionContext':
lz4frame.c:(.text+0x1b00): multiple definition of `LZ4F_createDecompressionContext'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4frame.o:lz4frame.c:(.text+0x21a0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4frame.o: in function `LZ4F_freeDecompressionContext':
lz4frame.c:(.text+0x1b50): multiple definition of `LZ4F_freeDecompressionContext'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4frame.o:lz4frame.c:(.text+0x21f0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4frame.o: in function `LZ4F_resetDecompressionContext':
lz4frame.c:(.text+0x1b94): multiple definition of `LZ4F_resetDecompressionContext'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4frame.o:lz4frame.c:(.text+0x2234): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4frame.o: in function `LZ4F_headerSize':
lz4frame.c:(.text+0x1ba0): multiple definition of `LZ4F_headerSize'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4frame.o:lz4frame.c:(.text+0x2240): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4frame.o: in function `LZ4F_decompress':
lz4frame.c:(.text+0x1c10): multiple definition of `LZ4F_decompress'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4frame.o:lz4frame.c:(.text+0x22b0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4frame.o: in function `LZ4F_getFrameInfo':
lz4frame.c:(.text+0x28b4): multiple definition of `LZ4F_getFrameInfo'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4frame.o:lz4frame.c:(.text+0x2f54): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4frame.o: in function `LZ4F_decompress_usingDict':
lz4frame.c:(.text+0x29e0): multiple definition of `LZ4F_decompress_usingDict'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4frame.o:lz4frame.c:(.text+0x30d0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_sizeofStateHC':
lz4hc.c:(.text+0xd1d0): multiple definition of `LZ4_sizeofStateHC'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xd1d0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_freeStreamHC':
lz4hc.c:(.text+0xd1e0): multiple definition of `LZ4_freeStreamHC'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xd1e0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_setCompressionLevel':
lz4hc.c:(.text+0xd204): multiple definition of `LZ4_setCompressionLevel'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xd7d0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_initStreamHC':
lz4hc.c:(.text+0xd230): multiple definition of `LZ4_initStreamHC'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xd204): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_createStreamHC':
lz4hc.c:(.text+0xd2a0): multiple definition of `LZ4_createStreamHC'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xd250): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_compress_HC_destSize':
lz4hc.c:(.text+0xd2e0): multiple definition of `LZ4_compress_HC_destSize'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xd290): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_resetStreamHC':
lz4hc.c:(.text+0xd420): multiple definition of `LZ4_resetStreamHC'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xd3e0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_resetStreamHC_fast':
lz4hc.c:(.text+0xd454): multiple definition of `LZ4_resetStreamHC_fast'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xd430): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_compress_HC_extStateHC_fastReset':
lz4hc.c:(.text+0xd4c0): multiple definition of `LZ4_compress_HC_extStateHC_fastReset'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xd494): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_compress_HC_extStateHC':
lz4hc.c:(.text+0xd600): multiple definition of `LZ4_compress_HC_extStateHC'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xd5d0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_compress_HC':
lz4hc.c:(.text+0xd680): multiple definition of `LZ4_compress_HC'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xd754): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_favorDecompressionSpeed':
lz4hc.c:(.text+0xd6f4): multiple definition of `LZ4_favorDecompressionSpeed'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xd7f4): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_loadDictHC':
lz4hc.c:(.text+0xd710): multiple definition of `LZ4_loadDictHC'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xd810): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_attach_HC_dictionary':
lz4hc.c:(.text+0xdac4): multiple definition of `LZ4_attach_HC_dictionary'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xdbe0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_compress_HC_continue':
lz4hc.c:(.text+0xdad0): multiple definition of `LZ4_compress_HC_continue'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xdbf0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_compress_HC_continue_destSize':
lz4hc.c:(.text+0xdb50): multiple definition of `LZ4_compress_HC_continue_destSize'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xdc70): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_saveDictHC':
lz4hc.c:(.text+0xddb0): multiple definition of `LZ4_saveDictHC'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xded0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_compressHC':
lz4hc.c:(.text+0xde54): multiple definition of `LZ4_compressHC'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xdf74): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_compressHC_limitedOutput':
lz4hc.c:(.text+0xdea0): multiple definition of `LZ4_compressHC_limitedOutput'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xdfc0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_compressHC2':
lz4hc.c:(.text+0xdeb0): multiple definition of `LZ4_compressHC2'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xdfd0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_compressHC2_limitedOutput':
lz4hc.c:(.text+0xdf00): multiple definition of `LZ4_compressHC2_limitedOutput'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xe020): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_compressHC_withStateHC':
lz4hc.c:(.text+0xdf04): multiple definition of `LZ4_compressHC_withStateHC'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xe024): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_compressHC_limitedOutput_withStateHC':
lz4hc.c:(.text+0xdf54): multiple definition of `LZ4_compressHC_limitedOutput_withStateHC'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xe074): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_compressHC2_withStateHC':
lz4hc.c:(.text+0xdf60): multiple definition of `LZ4_compressHC2_withStateHC'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xe080): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_compressHC2_limitedOutput_withStateHC':
lz4hc.c:(.text+0xdfc0): multiple definition of `LZ4_compressHC2_limitedOutput_withStateHC'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xe0e0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_compressHC_continue':
lz4hc.c:(.text+0xdfc4): multiple definition of `LZ4_compressHC_continue'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xe0e4): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_compressHC_limitedOutput_continue':
lz4hc.c:(.text+0xe010): multiple definition of `LZ4_compressHC_limitedOutput_continue'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xe130): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_sizeofStreamStateHC':
lz4hc.c:(.text+0xe014): multiple definition of `LZ4_sizeofStreamStateHC'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xe134): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_resetStreamStateHC':
lz4hc.c:(.text+0xe020): multiple definition of `LZ4_resetStreamStateHC'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xe140): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_createHC':
lz4hc.c:(.text+0xe0d0): multiple definition of `LZ4_createHC'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xe1f0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_freeHC':
lz4hc.c:(.text+0xe164): multiple definition of `LZ4_freeHC'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xe284): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_compressHC2_continue':
lz4hc.c:(.text+0xe190): multiple definition of `LZ4_compressHC2_continue'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xe2b0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_compressHC2_limitedOutput_continue':
lz4hc.c:(.text+0xe1d4): multiple definition of `LZ4_compressHC2_limitedOutput_continue'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xe2f4): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/lz4hc.o: in function `LZ4_slideInputBufferHC':
lz4hc.c:(.text+0xe210): multiple definition of `LZ4_slideInputBufferHC'; lz4-1.9.2/lib/liblz4.so.1.9.2-lz4hc.o:lz4hc.c:(.text+0xe330): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/xxhash.o: in function `LZ4_XXH_versionNumber':
xxhash.c:(.text+0x18c0): multiple definition of `LZ4_XXH_versionNumber'; lz4-1.9.2/lib/liblz4.so.1.9.2-xxhash.o:xxhash.c:(.text+0x18c0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/xxhash.o: in function `LZ4_XXH32':
xxhash.c:(.text+0x18d0): multiple definition of `LZ4_XXH32'; lz4-1.9.2/lib/liblz4.so.1.9.2-xxhash.o:xxhash.c:(.text+0x18d0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/xxhash.o: in function `LZ4_XXH32_createState':
xxhash.c:(.text+0x1b90): multiple definition of `LZ4_XXH32_createState'; lz4-1.9.2/lib/liblz4.so.1.9.2-xxhash.o:xxhash.c:(.text+0x1b90): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/xxhash.o: in function `LZ4_XXH32_freeState':
xxhash.c:(.text+0x1ba0): multiple definition of `LZ4_XXH32_freeState'; lz4-1.9.2/lib/liblz4.so.1.9.2-xxhash.o:xxhash.c:(.text+0x1ba0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/xxhash.o: in function `LZ4_XXH32_copyState':
xxhash.c:(.text+0x1bc0): multiple definition of `LZ4_XXH32_copyState'; lz4-1.9.2/lib/liblz4.so.1.9.2-xxhash.o:xxhash.c:(.text+0x1bc0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/xxhash.o: in function `LZ4_XXH32_reset':
xxhash.c:(.text+0x1c00): multiple definition of `LZ4_XXH32_reset'; lz4-1.9.2/lib/liblz4.so.1.9.2-xxhash.o:xxhash.c:(.text+0x1c00): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/xxhash.o: in function `LZ4_XXH32_update':
xxhash.c:(.text+0x1cc0): multiple definition of `LZ4_XXH32_update'; lz4-1.9.2/lib/liblz4.so.1.9.2-xxhash.o:xxhash.c:(.text+0x1cc0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/xxhash.o: in function `LZ4_XXH32_digest':
xxhash.c:(.text+0x2090): multiple definition of `LZ4_XXH32_digest'; lz4-1.9.2/lib/liblz4.so.1.9.2-xxhash.o:xxhash.c:(.text+0x2090): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/xxhash.o: in function `LZ4_XXH32_canonicalFromHash':
xxhash.c:(.text+0x23d4): multiple definition of `LZ4_XXH32_canonicalFromHash'; lz4-1.9.2/lib/liblz4.so.1.9.2-xxhash.o:xxhash.c:(.text+0x23d4): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/xxhash.o: in function `LZ4_XXH32_hashFromCanonical':
xxhash.c:(.text+0x2414): multiple definition of `LZ4_XXH32_hashFromCanonical'; lz4-1.9.2/lib/liblz4.so.1.9.2-xxhash.o:xxhash.c:(.text+0x2414): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/xxhash.o: in function `LZ4_XXH64':
xxhash.c:(.text+0x2490): multiple definition of `LZ4_XXH64'; lz4-1.9.2/lib/liblz4.so.1.9.2-xxhash.o:xxhash.c:(.text+0x2490): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/xxhash.o: in function `LZ4_XXH64_createState':
xxhash.c:(.text+0x2890): multiple definition of `LZ4_XXH64_createState'; lz4-1.9.2/lib/liblz4.so.1.9.2-xxhash.o:xxhash.c:(.text+0x2890): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/xxhash.o: in function `LZ4_XXH64_freeState':
xxhash.c:(.text+0x28a0): multiple definition of `LZ4_XXH64_freeState'; lz4-1.9.2/lib/liblz4.so.1.9.2-xxhash.o:xxhash.c:(.text+0x28a0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/xxhash.o: in function `LZ4_XXH64_copyState':
xxhash.c:(.text+0x28c0): multiple definition of `LZ4_XXH64_copyState'; lz4-1.9.2/lib/liblz4.so.1.9.2-xxhash.o:xxhash.c:(.text+0x28c0): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/xxhash.o: in function `LZ4_XXH64_reset':
xxhash.c:(.text+0x2910): multiple definition of `LZ4_XXH64_reset'; lz4-1.9.2/lib/liblz4.so.1.9.2-xxhash.o:xxhash.c:(.text+0x2910): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/xxhash.o: in function `LZ4_XXH64_update':
xxhash.c:(.text+0x2a00): multiple definition of `LZ4_XXH64_update'; lz4-1.9.2/lib/liblz4.so.1.9.2-xxhash.o:xxhash.c:(.text+0x2a00): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/xxhash.o: in function `LZ4_XXH64_digest':
xxhash.c:(.text+0x2e30): multiple definition of `LZ4_XXH64_digest'; lz4-1.9.2/lib/liblz4.so.1.9.2-xxhash.o:xxhash.c:(.text+0x2e30): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/xxhash.o: in function `LZ4_XXH64_canonicalFromHash':
xxhash.c:(.text+0x2f20): multiple definition of `LZ4_XXH64_canonicalFromHash'; lz4-1.9.2/lib/liblz4.so.1.9.2-xxhash.o:xxhash.c:(.text+0x2f20): first defined here
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: lz4-1.9.2/lib/xxhash.o: in function `LZ4_XXH64_hashFromCanonical':
xxhash.c:(.text+0x2f60): multiple definition of `LZ4_XXH64_hashFromCanonical'; lz4-1.9.2/lib/liblz4.so.1.9.2-xxhash.o:xxhash.c:(.text+0x2f60): first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:67: /root/test/deps/lz4b/c_src/../priv/lz4b_nif.so] Error 1
make: Leaving directory '/root/test/deps/lz4b/c_src'
===> Hook for compile failed!

** (Mix) Could not compile dependency :lz4b, "/root/.mix/elixir/1-14/rebar3 bare compile --paths /root/test/_build/dev/lib/*/ebin" command failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile lz4b", update it with "mix deps.update lz4b" or clean it with "mix deps.clean lz4b"
~/test #
@mathieurousseau
Copy link
Author

mathieurousseau commented Nov 24, 2023

I have no clue about C. but the issue is with the -save-temps CC flag.
the error goes away when I remove it

@mathieurousseau
Copy link
Author

@mathieurousseau
Copy link
Author

Seems it also has pb on some debian distro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant