indygreg/PyOxidizer

Duplicate symbols compiling libpyembed on the starter config

オープン

#278 opened on 2020/08/14

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (194 件のフォーク)batch import
bughelp wanted

Repository metrics

Stars
 (4,488 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

From a new install of PyOxidizer, gcc v7.5 on a ubuntu host:

cargo install pyoxidizer
pyoxidizer init-config-file torch
cd torch
pyoxidizer run

Produces error messages like:

  = note: ld: error: duplicate symbol: ffi_type_double
          >>> defined at types.c
          >>>            types.o:(ffi_type_double) in archive /tmp/pyoxidizer.1OHhrEBicQgz/build/target/x86_64-unknown-linux-gnu/debug/deps/libpyembed-cd26feed010f04a2.rlib
          >>> defined at cfield.c:1652 (./Modules/_ctypes/cfield.c:1652)
          >>>            cfield.o:(.data+0x750) in archive /tmp/pyoxidizer.1OHhrEBicQgz/build/target/x86_64-unknown-linux-gnu/debug/deps/libpyembed-cd26feed010f04a2.rlib

Full output: https://gist.github.com/c7ef834a12fb1205e9413bcca4d97d62

Please let me know if any additional info would be useful for debugging.

コントリビューターガイド