-
Notifications
You must be signed in to change notification settings - Fork 837
Closed
Description
Hi
I'm hereby forwarding Debian bug #1015358
Version: 116
OS: Debian unstable
Compiler: GCC 13
Debian wants to enable link time optimization in the near future but binaryen 116 fails to build from source when LTO is enabled.
The error seems to be caused by third party code in third_party/llvm-project
third_party/llvm-project/./third_party/llvm-project/include/llvm/ADT/edit_distance.h: In function ‘ComputeEditDistance’:
third_party/llvm-project/./third_party/llvm-project/include/llvm/ADT/edit_distance.h:96:12: error: ‘SmallBuffer’ may be used uninitialized [-Werror=maybe-uninitialized]
third_party/llvm-project/./third_party/llvm-project/include/llvm/ADT/edit_distance.h:61:12: note: ‘SmallBuffer’ declared here
lto1: all warnings being treated as errors
make[4]: *** [/tmp/ccrE0idZ.mk:365: /tmp/ccqqy1Bf.ltrans121.ltrans.o] Error 1
make[4]: *** Waiting for unfinished jobs....
lto-wrapper: fatal error: make returned 2 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels