<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
When I build with clang/linux I'm now seeing the following error:</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">Building lxml version 4.1.1.</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div>Building without Cython.<br>
</div>
<div>Using build configuration of libxslt 1.1.32<br>
</div>
<span>Building against libxml2/libxslt in the following directory: /usr/lib</span><br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>...</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><span>clang -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -march=x86-64 -mtune=generic -O2 -pipe
-fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC -DCYTHON_CLINE_IN_TRACEBACK=1 -I/usr/include/libxml2 -Isrc -Isrc/lxml/includes -I/usr/include/python3.7m -c src/lxml/etree.c -o build/temp.linux-x86_64-3.7/src/lxml/etree.o
-w<br>
</span>
<div>clang-8: error: unknown argument: '-flto-partition=none'<br>
</div>
<div>Compile failed: command 'clang' failed with exit status 1<br>
</div>
<div>creating tmp<br>
</div>
<div>cc -I/usr/include/libxml2 -I/usr/include/libxml2 -c /tmp/xmlXPathInit8q3851b_.c -o tmp/xmlXPathInit8q3851b_.o<br>
</div>
<div>/tmp/xmlXPathInit8q3851b_.c:2:1: warning: return type defaults to ‘int’ [-Wimplicit-int]<br>
</div>
<div> main (int argc, char **argv) {<br>
</div>
<div> ^~~~<br>
</div>
<div>cc tmp/xmlXPathInit8q3851b_.o -L/usr/lib -lxml2 -o a.out<br>
</div>
<div>error: command 'clang' failed with exit status 1<br>
</div>
<div>make[1]: *** [/core/external/lxml/ExternalProject_lxml.mk:25: /core/workdir/ExternalProject/lxml/build] Error 1<br>
</div>
<div>make[1]: *** Waiting for unfinished jobs....<br>
</div>
<div>make: *** [Makefile:286: build] Error 2<br>
</div>
<div><br>
</div>
<div>I could be wrong, but I believe this error showed up when I updated my core OS. (Arch) I tried and older version of clang and an older version of the LibreOffice that used to compile and I'm now seeing this error there too.</div>
<div><br>
</div>
<div><br>
</div>
<span></span><br>
</span></div>
</body>
</html>