Skip to content

Instantly share code, notes, and snippets.

@dmilith
Created January 7, 2024 14:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmilith/4ba2f5dbdc3026f1638f801f317834b1 to your computer and use it in GitHub Desktop.
Save dmilith/4ba2f5dbdc3026f1638f801f317834b1 to your computer and use it in GitHub Desktop.
Python 3.12 Freebsd 14.0 aarch64 Clang failure
Expected<T> must be checked before access or destruction.
Expected<T> value was in success state. (Note: Expected<T> values in success mode must still be checked prior to being destroyed).
PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: clang -pthread -c -fno-strict-overflow -DNDEBUG -fuse-ld=lld -ferror-limit=1 -fstack-protector -Wformat -Wformat-securExpected<T> must be checked before access or destruction.
Expected<T> value was in success state. (Note: Expected<T> values in success mode must still be checked prior to being destroyed).
PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: clang -pthread -c -fno-strict-overflow -DNDEBUG -fuse-ldi=tlyl d- W-lf,e-rzr,orre-llriomit=1 -fstack-protector -Wformat -Wformat-security -Wl,-z,relro,-,-z,now -I/Softwz,now -I/Software/Python312/include -w -O3 -fvisibility=default -gdwarf-5 -faPIC -Wl,-rpath=/Software/Python312/lib,--enable-new-dtags -ftrapv --param ssp-buffer-size=4 -fuse-ld=lld -frerror-limit=1 -fstack-protector -Wformat -Wfore/Python312/include -w -O3 -fvisibility=default -gdwarf-5m -fPIC -Wl,-rpath=/Software/Python31at-se2curity -Wl,-z,relro,-z,now -I/Software/Python312/include -w -O3 -fvisibility=default -gdwarf-5 -fPIC -W/l,-rpath=/Software/Python312/lib,--enable-new-dtags -ftrlib,--enable-new-dtags -ftrapv --param ssp-buffer-size=4a -fuse-ld=lld -ferror-limit=1 -fstack-protector -Wforpv --param ssp-buffer-size=4 -flto=thin -g -std=c11 -Werromr=implicit-function-declaration -fvisibility=hidden -fprofile-instr-use=code.profclangd -I./Include/internal -I. -I./Include -fPIaC -DPy_BUILD_CORE -o Parser/pegen.o Parser/pegen.c
t -Wformat-security -Wl,-z,relro,-z,now -I/Software/Python312/include Expected<T> must be checked before access or destruction.
Expected<T> value was in success state. (Note: Expected<T> values in success mode must still be checked prior to being destroyed).
PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: clang -pthread -c -fno-strict-overflow -DNDEBUG -fuse-ld=lld -ferror-limit=1 -fstack-protector -Wformat -Wfor-w -O3 -fvisibility=default -gdwarf-5 -fPIC -Wl,-rpath=/Software/Python312/lib,--enable-new-dtags -ftrapv --param ssp-buffer-size=4 -flto=thin -g -std=c11 -Werror=implicit-function-declarationExpected<T> must be checked before access or destruction.
Expected<T> value was in success state. (Note: Expected<T> values in success mode must still be checked prior to being destroyed).
PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: clang -pthread -c -fno-stricmat-secur#0 0x0000000004a3a0e8ity -Wl,-z,relro,-z,now -I/Software/Python312/include -w -O3 -fvisibility=defa t-overflow -DNDEBUG -fuse-ld=lld -ferror-limit=1 -fstack-protector -Wformat -Wformat-security -Wl,-z,relro,-z,now -I/Software/Python312/include -w -O3 -fvisibility=default -gdwarf-5 -fPIC -Wl,-rpath=/Software/Python312/lib,--enable-new-dtags -ftrapv --param ssp-buffer-size=4 -fuse-ld=lld -ferror-limit=1 -fstack-protector -Wformat -Wformat-security -Wl,-z,relro,-z,now -I/Software/Python312/include -w -O3 -fvisibility=default -gdwarf-5 -fPIC -Wl,-rpath=/Software/Python312/lib,--enable-new-dtags -ftrapv --param ssp-buffer-size=4 -flto=thin -g -std=c11 -Werror=implicit-function-declaratult -gdwarf-5 -fPIC -Wl,-rpath=/Software/Python312/lib,--enable-new-dtags -ftrapv --param ssp-(/usr/bin/clang+0x4a3a0e8)
#1 0x0000000004a384c4 (/usr/bin/clang+0x4a384c4)
#2 0x00000000049e99f4bion -fvisibility=hidden -fprofile-instr-use=code.profclangd -I./Include/internal -I. -I./Include -fPIC -DPy_BUILD_CORE -o Parser/pegen_errors.o Parse (/usr/bin/clang+0x49e99f4)
#3r/pegen_errors.c
0x0000000045e67034 (/lib/libthr.so.3+0x2b034)
uclang: error: clang frontend command failed with exit code 134 (use -v to see invocation)
FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152)
Target: aarch64-unknown-freebsd14.0
Thread model: posix
InstalledDir: /usr/bin
#0 0x0000000004a3a0e8 (/usr/bin/clang+0x4a3a0e8)
#1 0x0000000004a384c4 (/usr/bin/clang+0x4a384c4)
#2 0x00000000049e99f4 (/usr/bin/clang+0x49e99f4)
#3 0x0000000045e67034 (/lib/libthr.so.3+0x2b034)
clang: error: clang frontend command failed with exit code 134 (use -v to see invocation)
FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152)
Target: aarch64-unknown-freebsd14.0
Thread model: posix
InstalledDir: /usr/bin
ffer-size=4 -fuse-ld= -fvisibility=hidden -fprofile-instr-use=code.profclangd -I./Include/internal -I. -I./Include -fPIC -DPy_BUILD_CORE -o Parser/token.o Parser/token.c
lld -ferror-limit=1 -fstack-protector -Wformat -Wformat-security -Wl,-z,relro,-z,now -I/Software/Python312/include -w -O3 -fvisibility=default -gdwarf-5 -fPIC -Wl,-rpath=/Softw#0are/ 0x0000000004a3a0e8 (/usr/bin/clang+0x4a3a0e8)
#1 0x0000000004a384c4 (/usr/bin/clang+0x4a384c4)Python312/lib,--enable-new-dtags -ftrapv --param ssp-buffer-size=4 -flto=thin -g -std=c11 -Werror=implicit-function-declaration -fvisibility=hidden -fprofile-instr-use=code.profclangd -I./Include/internal -I. -I./
#2 0x00000000049e99f4 (/usr/bin/clang+0x49e99f4Include -fPIC -DPy_BUILD_CORE -o Programs/python.o ./Programs/python.c
)
#3 0x0000000045e67034 (/lib/libthr.so.3+0x2b034)
clang: error: clang frontend command failed with exit code 134 (use -v to see invocation)
FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152)
Target: aarch64-unknown-freebsd14.0
Thread model: posix
InstalledDir: /usr/bin
#0 0x0000000004a3a0e8 (/usr/bin/clang+0x4a3a0e8)
#1 0x0000000004a384c4 (/usr/bin/clang+0x4a384c4)
#2 0x00000000049e99f4 (/usr/bin/clang+0x49e99f4)
#3 0x0000000045e67034 (/lib/libthr.so.3+0x2b034)
clang: error: clang frontend command failed with exit code 134 (use -v to see invocation)
FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152)
Target: aarch64-unknown-freebsd14.0
Thread model: posix
InstalledDir: /usr/bin
clangclang: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/python-efc903.c
clang: note: diagnostic msg: /tmp/python-efc903.sh
clang: note: diagnostic msg:
********************
make[1]: *** [Makefile:1504: Programs/python.o] Error 1
make[1]: *** Waiting for unfinished jobs....
: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/token-1b9d0f.c
clang: note: diagnostic msg: /tmp/token-1b9d0f.sh
clang: note: diagnostic msg:
********************
make[1]: *** [Makefile:2726: Parser/token.o] Error 1
clang: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/pegen_errors-927930.c
clang: note: diagnostic msg: /tmp/pegen_errors-927930.sh
clang: note: diagnostic msg:
********************
make[1]: *** [Makefile:2726: Parser/pegen_errors.o] Error 1
clang: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/pegen-119db6.c
clang: note: diagnostic msg: /tmp/pegen-119db6.sh
clang: note: diagnostic msg:
********************
make[1]: *** [Makefile:2726: Parser/pegen.o] Error 1
make: *** [Makefile:827: profile-opt] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment