LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   regression on -current with llvm >= 11.0.x (https://www.linuxquestions.org/questions/slackware-14/regression-on-current-with-llvm-%3D-11-0-x-4175688428/)

nobodino 01-12-2021 12:05 PM

regression on -current with llvm >= 11.0.x
 
one package doesn't build correctly with llvm>= 11.0.x

- libclc: before the line "CFLAGS="$SLKCFLAGS -D__extern_always_inline=inline" "
add the following lines:
-------------------------
# modification from debian because of llvm >= 11.0.x
sed -i -e '/-fno-builtin/p' configure.py
sed -i -e '0,/-fno-builtin/ s/-fno-builtin/-nostdlib/' configure.py
-------------------------

USUARIONUEVO 01-12-2021 03:00 PM

Quote:

Originally Posted by nobodino (Post 6206933)
one package doesn't build correctly with llvm>= 11.0.x

- libclc: before the line "CFLAGS="$SLKCFLAGS -D__extern_always_inline=inline" "
add the following lines:
-------------------------
# modification from debian because of llvm >= 11.0.x
sed -i -e '/-fno-builtin/p' configure.py
sed -i -e '0,/-fno-builtin/ s/-fno-builtin/-nostdlib/' configure.py
-------------------------


I recommend upgrade libclc at least 3 times, but ignored me ever.

Now llvm and libclc are go hand by hand , available ever same version of libclc as llvm , then here the good side is upgrade libclc to 11.0.1

Slackbuild need modifications , but nothing hard.

USUARIONUEVO 01-12-2021 05:53 PM

woow , at time i write , pat upgrade it finally.

Thanks !!!


All times are GMT -5. The time now is 01:47 AM.