[MacPorts] #64113: xxhashlib @0.8.1_0: error: Undefined symbols for architecture x86_64
MacPorts
noreply at macports.org
Thu Dec 2 08:03:57 UTC 2021
#64113: xxhashlib @0.8.1_0: error: Undefined symbols for architecture x86_64
-----------------------+-----------------------
Reporter: macdeport | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: yosemite | Port: xxhashlib
-----------------------+-----------------------
{{{
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_xxhash/xxhashlib/work/compwrap/cc/usr/bin/clang
-Os -arch x86_64 -Wall -Wextra -Wconversion -Wcast-qual -Wcast-align
-Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement
-Wstrict-prototypes -Wundef -Wpointer-arith -Wformat-security -Wvla
-Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings -Wredundant-decls
-Wstrict-overflow=2 -I/opt/local/include -DXXH_INLINE_ALL cli/xxhsum.c -o
xxhsum_inlinedXXH
:info:build In file included from xxhash.c:43:
:info:build ./xxhash.h:2266:5: warning: implicit declaration of function
'static_assert' is invalid in C99 [-Wimplicit-function-declaration]
:info:build XXH_STATIC_ASSERT(sizeof(XXH32_canonical_t) ==
sizeof(XXH32_hash_t));In file included from xxhash.c:43:
:info:build ./xxhash.h:2266:5 ^
:info:build : warning: ./xxhash.h:1556:32: implicit declaration of
function 'static_assert' is invalid in C99 [-Wimplicit-function-
declaration]note
:info:build : expanded from macro 'XXH_STATIC_ASSERT'
:info:build # define XXH_STATIC_ASSERT(c)
XXH_STATIC_ASSERT_WITH_MESSAGE((c),#c)
:info:build ^
:info:build ./xxhash.h:1550:54: note: expanded from macro
'XXH_STATIC_ASSERT_WITH_MESSAGE'
:info:build # define XXH_STATIC_ASSERT_WITH_MESSAGE(c,m) do {
static_assert((c),m); } while(0)
:info:build ^
:info:build XXH_STATIC_ASSERT(sizeof(XXH32_canonical_t) ==
sizeof(XXH32_hash_t));
:info:build ^
:info:build ./xxhash.h:1556:32: note: expanded from macro
'XXH_STATIC_ASSERT'
:info:build # define XXH_STATIC_ASSERT(c)
XXH_STATIC_ASSERT_WITH_MESSAGE((c),#c)
:info:build ^
:info:build ./xxhash.h:1550:54: note: expanded from macro
'XXH_STATIC_ASSERT_WITH_MESSAGE'
:info:build # define XXH_STATIC_ASSERT_WITH_MESSAGE(c,m) do {
static_assert((c),m); } while(0)
:info:build ^
:info:build In file included from cli/xxhsum.c:41:
:info:build In file included from cli/xsum_sanity_check.c:31:
:info:build cli/../xxhash.h:2266:5: warning: implicit declaration of
function 'static_assert' is invalid in C99 [-Wimplicit-function-
declaration]
:info:build XXH_STATIC_ASSERT(sizeof(XXH32_canonical_t) ==
sizeof(XXH32_hash_t));
:info:build ^
:info:build cli/../xxhash.h:1556:32: note: expanded from macro
'XXH_STATIC_ASSERT'
:info:build # define XXH_STATIC_ASSERT(c)
XXH_STATIC_ASSERT_WITH_MESSAGE((c),#c)
:info:build ^
:info:build cli/../xxhash.h:1550:54: note: expanded from macro
'XXH_STATIC_ASSERT_WITH_MESSAGE'
:info:build # define XXH_STATIC_ASSERT_WITH_MESSAGE(c,m) do {
static_assert((c),m); } while(0)
:info:build ^
:info:build 1 warning generated.
:info:build 1 warning generated.
:info:build ar rcs libxxhash.a xxhash.o
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_xxhash/xxhashlib/work/compwrap/cc/usr/bin/clang
-Os -arch x86_64 -Wall -Wextra -Wconversion -Wcast-qual -Wcast-align
-Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement
-Wstrict-prototypes -Wundef -Wpointer-arith -Wformat-security -Wvla
-Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings -Wredundant-decls
-Wstrict-overflow=2 -I/opt/local/include xxhash.o cli/xxhsum.o
cli/xsum_os_specific.o cli/xsum_output.o cli/xsum_sanity_check.o
cli/xsum_bench.o -L/opt/local/lib -Wl,-headerpad_max_install_names -arch
x86_64 -o xxhsum
:info:build Undefined symbols for architecture x86_64:
:info:build "_static_assert", referenced from:
:info:build _XXH32_canonicalFromHash in xxhash.o
:info:build _XXH64_canonicalFromHash in xxhash.o
:info:build Undefined symbols for architecture x86_64:
:info:build "_static_assert", referenced from:
:info:build _XXH32_canonicalFromHash in xxhash-e1ea3c.o
:info:build _XXH3_hashLong_64b_default in xxhash.o
:info:build _XXH3_hashLong_64b_withSecret in xxhash.o
:info:build _XXH3_hashLong_64b_withSeed in xxhash.o
:info:build _XXH3_64bits_withSecretandSeed in xxhash.o
:info:build _XXH3_64bits_reset_withSeed in xxhash.o
:info:build _XXH64_canonicalFromHash in xxhash-e1ea3c.o
:info:build ...
:info:build _XXH3_hashLong_64b_default in xxhash-e1ea3c.o
:info:build _XXH3_hashLong_64b_withSecret in xxhash-e1ea3c.o
:info:build _XXH3_hashLong_64b_withSeed in xxhash-e1ea3c.o
:info:build _XXH3_64bits_withSecretandSeed in xxhash-e1ea3c.o
:info:build _XXH3_64bits_reset_withSeed in xxhash-e1ea3c.o
:info:build ...
:info:build ld: symbol(s) not found for architecture x86_64
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v
to see invocation)
:info:build clang: error: linker command failed with exit code 1 (use -v
to see invocation)
:info:build make: *** [xxhsum] Error 1
:info:build make: *** Waiting for unfinished jobs....
:info:build make: *** [libxxhash.0.8.1.dylib] Error 1
:info:build 1 warning generated.
:info:build Undefined symbols for architecture x86_64:
:info:build "_static_assert", referenced from:
:info:build _localXXH3_stream_seeded in xxhsum-c9b2d4.o
:info:build _localXXH128_stream_seeded in xxhsum-c9b2d4.o
:info:build _XXH3_hashLong_64b_default in xxhsum-c9b2d4.o
:info:build _XXH3_hashLong_64b_withSeed in xxhsum-c9b2d4.o
:info:build _XXH3_hashLong_64b_withSecret in xxhsum-c9b2d4.o
:info:build _XXH3_hashLong_128b_internal in xxhsum-c9b2d4.o
:info:build _XXH3_hashLong_128b_withSeed in xxhsum-c9b2d4.o
:info:build ...
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v
to see invocation)
:info:build make: *** [xxhsum_inlinedXXH] Error 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/64113>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list