New submission from Thomas Knox <tk...@mac.com>:
Trying to compile 3.8.0b4 on an raspberry pi 3B+ and 4 running: pi@pi4b:~/Downloads/Python-3.8.0b4 $ uname -a Linux pi4b 4.19.66-v7l+ #1253 SMP Thu Aug 15 12:02:08 BST 2019 armv7l GNU/Linux Using arguments: ./configure --disable-shared --enable-optimizations --enable-loadable-sqlite-extensions --enable-ipv6 --enable-big-digits --with-lto --with-doc-strings --with-ensurepip --with-openssl=/usr fails compilation at the linking stage with the errors: /usr/bin/ld: /usr/bin/ld: DWARF error: offset (7602768) greater than or equal to .debug_str size (517480) /usr/bin/ld: DWARF error: offset (2013417729) greater than or equal to .debug_str size (517480) /usr/bin/ld: DWARF error: offset (1375799296) greater than or equal to .debug_str size (517480) /usr/bin/ld: DWARF error: offset (3959620946) greater than or equal to .debug_str size (517480) /usr/bin/ld: DWARF error: offset (150994953) greater than or equal to .debug_str size (517480) /usr/bin/ld: DWARF error: offset (622700) greater than or equal to .debug_str size (517480) /usr/bin/ld: DWARF error: offset (990813185) greater than or equal to .debug_str size (517480) /usr/bin/ld: DWARF error: could not find abbrev number 9630 /tmp/ccX29Gpf.lto.o: in function `copy_base': <artificial>:(.text+0x8374): undefined reference to `__gcov_one_value_profiler_atomic' /usr/bin/ld: <artificial>:(.text+0x8388): undefined reference to `__gcov_average_profiler_atomic' /usr/bin/ld: <artificial>:(.text+0x8398): undefined reference to `__gcov_ior_profiler_atomic' /usr/bin/ld: <artificial>:(.text+0x840c): undefined reference to `__gcov_one_value_profiler_atomic' /usr/bin/ld: <artificial>:(.text+0x8420): undefined reference to `__gcov_average_profiler_atomic' /usr/bin/ld: <artificial>:(.text+0x8430): undefined reference to `__gcov_ior_profiler_atomic' /usr/bin/ld: <artificial>:(.text+0x84c8): undefined reference to `__gcov_one_value_profiler_atomic' /usr/bin/ld: <artificial>:(.text+0x84dc): undefined reference to `__gcov_average_profiler_atomic' /usr/bin/ld: <artificial>:(.text+0x84ec): undefined reference to `__gcov_ior_profiler_atomic' /usr/bin/ld: <artificial>:(.text+0x856c): undefined reference to `__gcov_one_value_profiler_atomic' /usr/bin/ld: <artificial>:(.text+0x8580): undefined reference to `__gcov_average_profiler_atomic' /usr/bin/ld: <artificial>:(.text+0x8590): undefined reference to `__gcov_ior_profiler_atomic' /usr/bin/ld: <artificial>:(.text+0x866c): undefined reference to `__gcov_one_value_profiler_atomic' /usr/bin/ld: <artificial>:(.text+0x867c): undefined reference to `__gcov_average_profiler_atomic' /usr/bin/ld: <artificial>:(.text+0x868c): undefined reference to `__gcov_ior_profiler_atomic' /usr/bin/ld: <artificial>:(.text+0x8718): undefined reference to `__gcov_one_value_profiler_atomic' /usr/bin/ld: <artificial>:(.text+0x8728): undefined reference to `__gcov_average_profiler_atomic' /usr/bin/ld: <artificial>:(.text+0x8738): undefined reference to `__gcov_ior_profiler_atomic' /usr/bin/ld: <artificial>:(.text+0x87b0): undefined reference to `__gcov_one_value_profiler_atomic' /usr/bin/ld: <artificial>:(.text+0x87c8): undefined reference to `__gcov_average_profiler_atomic' /usr/bin/ld: <artificial>:(.text+0x87d8): undefined reference to `__gcov_ior_profiler_atomic' ... For hundreds of lines. Removing the --enable-optimizations flag allows it compile and link. ---------- components: Build messages: 352668 nosy: DNSGeek priority: normal severity: normal status: open title: Cannot compile on RPi with optimizations type: compile error versions: Python 3.7, Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38204> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com