Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

emscripten cross-compile wasm-ld: error: duplicate symbol_Py_LibHacl_Hacl_Hash_* #133042

Open
Assignees
picnixz
Labels
@Lukasdoe

Description

@Lukasdoe

Bug report

Bug description:

For the emscripten build, during building of the python executable, all theLIBHACL_*_LIB_SHARED are used as linker flags, however theLIBHACL_HMAC_LIB_SHARED flag contains objects that are already contained in otherLIBHACL_*_LIB_SHARED flags. This happens, because LIBHACL_MD5_OBJS, LIBHACL_SHA1_OBJS, LIBHACL_SHA2_OBJS, LIBHACL_SHA3_OBJS and LIBHACL_BLAKE2_OBJS are all included inLIBHACL_HMAC_LIB_SHARED throughLIBHACL_HMAC_OBJS via the Makefile.pre.in file.

The configure script then setsLIBHACL_HMAC_LDFLAGS=LIBHACL_HMAC_LIB_${LIBHACL_LDEPS_LIBTYPE} which for a shared emscripten build leads to duplicate dependencies in the final build command which leads to duplicate symbols.

Since I don't know the purpose of the object file references in theLIBHACL_HMAC_OBJS, I do not feel comfortable just removing them, even though that change fixes the emscripten build.

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

Labels

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp