-
-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
pycore_interp.h: field has incomplete type 'struct _dtoa_state' #114453
Comments
|
Kindly fix the issue, it is breaking to install on FREEBSD. |
|
When investigating this issue, I found that building Python on FreeBSD with In my case, it wrongly specified I suspect this is the same issue, but you are using an ARM machine, so the behavior may be different ( |
The file is quite long, 33952 lines. config.log $ cat -n config.log | grep environ
6860 ld-elf.so.1: /lib/libc.so.7: Undefined symbol "environ"
8477 ld-elf.so.1: /lib/libc.so.7: Undefined symbol "environ"
16574 ld-elf.so.1: /lib/libc.so.7: Undefined symbol "environ"
16921 ld-elf.so.1: /lib/libc.so.7: Undefined symbol "environ"
19817 ld-elf.so.1: /lib/libc.so.7: Undefined symbol "environ"
23292 ld-elf.so.1: /lib/libc.so.7: Undefined symbol "environ"
23784 ld-elf.so.1: /lib/libc.so.7: Undefined symbol "environ"
24213 ld-elf.so.1: /lib/libc.so.7: Undefined symbol "environ"
25113 ld-elf.so.1: /lib/libc.so.7: Undefined symbol "environ"
25567 ld-elf.so.1: /lib/libc.so.7: Undefined symbol "environ"
26872 ld-elf.so.1: /lib/libc.so.7: Undefined symbol "environ"
27759 ld-elf.so.1: /lib/libc.so.7: Undefined symbol "environ"
28193 ld-elf.so.1: /lib/libc.so.7: Undefined symbol "environ"
28636 ld-elf.so.1: /lib/libc.so.7: Undefined symbol "environ"
29682 ld-elf.so.1: /lib/libc.so.7: Undefined symbol "environ"
30139 ld-elf.so.1: /lib/libc.so.7: Undefined symbol "environ"
30602 ld-elf.so.1: /lib/libc.so.7: Undefined symbol "environ"
31593 ld-elf.so.1: /lib/libc.so.7: Undefined symbol "environ"around 6860 lines from Also, I get the same result with your test program; [freebsd@generic ~]$ cat a.c
#include <stdlib.h>
#include <stdio.h>
int main() {
puts(getenv("PATH"));
}[freebsd@generic ~]$ clang -pg a.c -lutil
[freebsd@generic ~]$ ./a.out
ld-elf.so.1: /lib/libc.so.7: Undefined symbol "environ"[freebsd@generic ~]$ cc -v
FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c)
Target: aarch64-unknown-freebsd13.2
Thread model: posix
InstalledDir: /usr/bin
[freebsd@generic ~]$ |
|
Yes, so I think it's the same problem. I reported it to FreeBSD upstream, maybe we can wait for their reply. |
Can you share the link of the FreeBSD issue? Since the issue is in FreeBSD and not in Python (can be reproduced with a short C program), the issue was reported to FreeBSD, I close the issue. There is no need to track the issue in the Python bug tracker. |
Bug report
Bug description:
Configuration:
Output:
freebsd@generic:~/cpython % makeOutput:
Environment
CPython versions tested on:
CPython main branch
Operating systems tested on:
Other
The text was updated successfully, but these errors were encountered: